Efficient Few-Shot Learning on CPU with SetFit

preview_player
Показать описание
In this video, I'm using SetFit, an open source library for few-shot learning to train a text classification model from only 16 labeled samples. In less than 2.5 minutes of CPU training, I get an accuracy of 94.5% :)

⭐️⭐️⭐️ Don't forget to subscribe to be notified of future videos ⭐️⭐️⭐️

Рекомендации по теме
Комментарии
Автор

Hey Julien! Amazing :) I'm seeing it as a brick of a RAG pipeline, maybe for the routing part, but I have yet to try! What do you think of setfit one year after?! Do you think it still relevant? :)

doremicocoparis
Автор

@Julien Simon it looks like you are only training 512 samples with one epoch so that is why it took 3 minutes to run using CPU. Else, CPU will take very long time to train depends upon the number of data samples that we are training.

cedwin
Автор

Hi @Julien Simon please, how to save the new model into local directory?

bigappstechchannel
visit shbcf.ru