huggingface_client 1.0.0 huggingface_client: ^1.0.0 copied to clipboard
A server and browser based Hugging Face inference and inference endpoint API REST client
huggingface_client #
A server and browser based Hugging Face REST API client for the inference and inference endpoint APIs.
The client supports standard query based inference and inference tasks for Natural Language Processing(NLP), Audio and Video. It also supports the inference endpoint API for creation and control of inference endpoints.
The bindings for the inference endpoint API are generated from the Hugging Face Inference Endpoint OpenApi specification using the OpenAPI Generator project.
API documentation generated by the OpenAPI Generator can be found here.
There is no such Open API specification for the inference API.
See the examples.md document in the examples folder for usage examples.
A Hugging Face API key is needed for authentication, see here for instructions on how to obtain this.
Road Map #
Client functionality will be added across several version releases, see below :-
Version 1.0.0(this one) contains inference query and NLP inference task queries.
Version 1.1.0 will add Audio and Video inference task queries.
Version 1.2.0 will add the inference endpoint API.