infinity icon indicating copy to clipboard operation
infinity copied to clipboard

Support for models trained with SetFit for classification

Open S1LV3RJ1NX opened this issue 1 year ago • 5 comments

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

S1LV3RJ1NX avatar Dec 15 '24 10:12 S1LV3RJ1NX

+1 to above!

tg1482 avatar Jan 17 '25 03:01 tg1482

+1 for the above @michaelfeil

kartik-ganesh avatar Apr 08 '25 12:04 kartik-ganesh

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: @.***>

S1LV3RJ1NX avatar Apr 08 '25 12:04 S1LV3RJ1NX

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?

kartik-ganesh avatar Apr 08 '25 12:04 kartik-ganesh

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: @.***>

S1LV3RJ1NX avatar Apr 08 '25 12:04 S1LV3RJ1NX