Support for models trained with SetFit for classification
Feature request
How can we use embedding models trained under setFit for classification using infinity.
Motivation
https://github.com/huggingface/setfit
is a good library that allows fine tuning of embedding models for downstream tasks. Infinity server being the one stop solution for embeddings, it will be good have it supported.
Your contribution
NA
+1 to above!
+1 for the above @michaelfeil
Actually embedding models trained via setfit work directly on infinity
On Tue, 8 Apr 2025 at 5:44 PM, Kartik Ganesh @.***> wrote:
+1 for the above @michaelfeil https://github.com/michaelfeil
— Reply to this email directly, view it on GitHub https://github.com/michaelfeil/infinity/issues/497#issuecomment-2786238228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4UXGXDVXMHSJK5P2VWAPT2YO4R3AVCNFSM6AAAAABTUMXKASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBWGIZTQMRSHA . You are receiving this because you authored the thread.Message ID: @.***> kartik-ganesh left a comment (michaelfeil/infinity#497) https://github.com/michaelfeil/infinity/issues/497#issuecomment-2786238228
+1 for the above @michaelfeil https://github.com/michaelfeil
— Reply to this email directly, view it on GitHub https://github.com/michaelfeil/infinity/issues/497#issuecomment-2786238228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4UXGXDVXMHSJK5P2VWAPT2YO4R3AVCNFSM6AAAAABTUMXKASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBWGIZTQMRSHA . You are receiving this because you authored the thread.Message ID: @.***>
Actually embedding models trained via setfit work directly on infinity …
Does the classification use-case work on infinity for models trained with setfit with a classification head? If so, could you share how I can do that?
I just tried the embedding. There is the classfiy api in embedding need to check
On Tue, 8 Apr 2025 at 6:18 PM, Kartik Ganesh @.***> wrote:
Actually embedding models trained via setfit work directly on infinity … <#m_5794213340960743685_>
Does the classification use-case work on infinity for models trained with setfit with a classification head? If so, could you share how I can do that?
— Reply to this email directly, view it on GitHub https://github.com/michaelfeil/infinity/issues/497#issuecomment-2786328006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4UXGXE2R5V6ABGHFQ5OZ32YPARDAVCNFSM6AAAAABTUMXKASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBWGMZDQMBQGY . You are receiving this because you authored the thread.Message ID: @.***> kartik-ganesh left a comment (michaelfeil/infinity#497) https://github.com/michaelfeil/infinity/issues/497#issuecomment-2786328006
Actually embedding models trained via setfit work directly on infinity … <#m_5794213340960743685_>
Does the classification use-case work on infinity for models trained with setfit with a classification head? If so, could you share how I can do that?
— Reply to this email directly, view it on GitHub https://github.com/michaelfeil/infinity/issues/497#issuecomment-2786328006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4UXGXE2R5V6ABGHFQ5OZ32YPARDAVCNFSM6AAAAABTUMXKASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBWGMZDQMBQGY . You are receiving this because you authored the thread.Message ID: @.***>