textgrad icon indicating copy to clipboard operation
textgrad copied to clipboard

Support for HuggingFace models?

Open gubowen2 opened this issue 1 year ago • 5 comments

Hello, I think this is a great project and I would love to see it progress. Just wondering if there are plans to add support for HF models so that the optimization can happen locally. As a worker for hospitals, most data I am work with is PHI data, which is not allowed to leave the internet network. So the support for HF models will be greatly appreciated

gubowen2 avatar Jun 14 '24 23:06 gubowen2

Hey @gubowen2 — thank you for the kind words! Yes for sure, making things work with HF / Open Source models is a big priority for us!

mertyg avatar Jun 15 '24 01:06 mertyg

I did try to create my own HF engine and try to make gradient on the response but it fails

saisurajkarra avatar Jun 28 '24 17:06 saisurajkarra

Thanks, it wll be a great enhancement.

HelloWorldLTY avatar Jul 15 '24 04:07 HelloWorldLTY

can I ask how long the support for opensource models can come up?

LengyanReader avatar Jul 30 '24 09:07 LengyanReader

Hello! Support for open-source is already here! we have quite a few engines that cover most of open-source models. We don't yet have a hugging-face-specific implementation. See also this implementation

vinid avatar Jul 30 '24 23:07 vinid