(Golang) Go bindings for the Hugging Face Inference API. Directly call any model available in the Model Hub.
An API key is required for authorized access. To get one, create a Hugging Face profile.
I have been unable to keep up with the latest changes to the API as of yet, but I will continue to work on bringing these bindings up to date to the best of my ability. In the meantime, contributions are always welcome! Please submit pull requests with your contributions to the v4-draft branch.
See the examples directory.
- Audio Classification
Conversational- Fill Mask
- Image Classification
- Image Segmentation
- Image-To-Text
- Object Detection
- Question Answering
- Sentence Similarity
- Speech Recognition
- Summarization
- Table Question Answering
- Text Classification
- Text Generation
- Text-To-Image
- Token Classification
- Translation
- Zero-shot Classification
- Hugging Face
- Inference API JSON Schema
- Model Hub
- Datasets
- Hugging Face Inference API (HF API)
- HF on GitHub
- Diffuser Docs
- Official Python bindings for the HF API
- Official JavaScript bindings for the HF Inference API