Kardbord / hfapigo

Unofficial (Golang) Go bindings for the Hugging Face Inference API
MIT License
54 stars 5 forks source link

Add support for undocumented tasks #14

Open Kardbord opened 1 year ago

Kardbord commented 1 year ago

The following tasks are available in the model hub, and seem to have inference support, but are not yet listed in the Inference API docs.

Kardbord commented 1 year ago

Text to image support added in #16

Kardbord commented 1 year ago

It seems I was looking in the wrong place for diffuser docs. They can actually be found here: https://huggingface.co/docs/diffusers/using-diffusers/pipeline_overview.

Also see https://huggingface.co/docs/huggingface.js/inference/README. Many tasks that are not documented in the official inference docs are implemented there.

Kardbord commented 1 year ago

Image to text support added in #19

Kardbord commented 1 week ago

I stumbled across a JSON schema for the Interence API which seems to be more up to date than the docs page on the HF website. This will be handy for both implementing undocumented tasks and maintaining existing ones.

https://huggingface.github.io/text-generation-inference/openapi.json