Expand description
Request and response
Hugging Face has open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos.
Structs§
- Arxiv
Paper Req - Request of
crate::client::Client::arxiv_paper - Arxiv
Repos Req - Request of
crate::client::Client::arxiv_repos - Arxiv
Repos Res - Response of
crate::client::Client::arxiv_repos - Create
Repo Req - Request of
crate::client::Client::create_repo - Create
Repo Res - Response of
crate::client::Client::create_repo - Delete
Repo Req - Request of
crate::client::Client::delete_repo - Failure
Res - Error response format of Hugging Face Hub API
- GetDataset
Req - Request of
crate::client::Client::get_dataset - GetDataset
TagRes - Response of
crate::client::Client::get_dataset_tags - GetModel
Req - Request of
crate::client::Client::get_model - GetModel
Tags Res - Response of
crate::client::Client::get_model_tags - GetSpace
Req - Request of
crate::client::Client::get_space - Move
Repo Req - Request of
crate::client::Client::move_repo - Search
Req
Enums§
- Hugging
Face Res - Global response format of Hugging Face Hub API
Type Aliases§
- Arxiv
Daily Res - Request of
crate::client::Client::arxiv_daily - Arxiv
Paper Res - Request of
crate::client::Client::arxiv_paper - GetDataset
Res - Response of
crate::client::Client::get_dataset - GetMetrics
Res - Response of
crate::client::Client::get_metrics - GetModel
Res - Response of
crate::client::Client::get_model - GetSpace
Res - Response of
crate::client::Client::get_space - Search
Dataset Req - Request of
crate::client::Client::search_dataset - Search
Dataset Res - Response of
crate::client::Client::search_dataset - Search
Model Req - Request of
crate::client::Client::search_model - Search
Model Res - Response of
crate::client::Client::search_model - Search
Space Req - Request of
crate::client::Client::search_space - Search
Space Res - Response of
crate::client::Client::search_space