Skip to content

Commit 69b16f7

Browse files
committed
first draft
1 parent 4ae3dbf commit 69b16f7

File tree

12 files changed

+470
-489
lines changed

12 files changed

+470
-489
lines changed

docs/api-inference/_toctree.yml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,37 @@
1-
- sections:
1+
- title: Get Started
2+
sections:
23
- local: index
3-
title: Serverless Inference API
4-
- local: getting-started
5-
title: Getting Started
6-
- local: supported-models
7-
title: Supported Models
4+
title: Inference Providers API
85
- local: pricing
9-
title: Pricing and Rate limits
6+
title: Pricing and Billing
7+
- local: hub-integration
8+
title: Hub integration
9+
- local: providers
10+
title: Providers
1011
- local: security
1112
title: Security
12-
title: Getting Started
13-
- sections:
14-
- local: parameters
15-
title: Parameters
16-
- sections:
17-
- local: tasks/audio-classification
18-
title: Audio Classification
19-
- local: tasks/automatic-speech-recognition
20-
title: Automatic Speech Recognition
13+
- title: API Reference
14+
sections:
15+
- local: tasks/index
16+
title: Index
17+
- local: hub-api
18+
title: Hub API
19+
- title: Popular Tasks
20+
sections:
2121
- local: tasks/chat-completion
2222
title: Chat Completion
2323
- local: tasks/feature-extraction
2424
title: Feature Extraction
25+
- local: tasks/text-generation
26+
title: Text Generation
27+
- local: tasks/text-to-image
28+
title: Text to Image
29+
- title: Other Tasks
30+
sections:
31+
- local: tasks/audio-classification
32+
title: Audio Classification
33+
- local: tasks/automatic-speech-recognition
34+
title: Automatic Speech Recognition
2535
- local: tasks/fill-mask
2636
title: Fill Mask
2737
- local: tasks/image-classification
@@ -30,8 +40,6 @@
3040
title: Image Segmentation
3141
- local: tasks/image-to-image
3242
title: Image to Image
33-
- local: tasks/image-text-to-text
34-
title: Image-Text to Text
3543
- local: tasks/object-detection
3644
title: Object Detection
3745
- local: tasks/question-answering
@@ -42,15 +50,9 @@
4250
title: Table Question Answering
4351
- local: tasks/text-classification
4452
title: Text Classification
45-
- local: tasks/text-generation
46-
title: Text Generation
47-
- local: tasks/text-to-image
48-
title: Text to Image
4953
- local: tasks/token-classification
5054
title: Token Classification
5155
- local: tasks/translation
5256
title: Translation
5357
- local: tasks/zero-shot-classification
54-
title: Zero Shot Classification
55-
title: Detailed Task Parameters
56-
title: API Reference
58+
title: Zero Shot Classification

docs/api-inference/getting-started.md

Lines changed: 0 additions & 95 deletions
This file was deleted.

docs/api-inference/hub-api.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Hub API
2+
3+
**TODO**
4+
- search for models (API): https://huggingface.co/api/models?inference_provider=fireworks-ai
5+
- get warm models (any provider): https://huggingface.co/api/models?inference=warm
6+
- get warm status for a model: https://huggingface.co/api/models/google/gemma-3-27b-it?expand[]=inference
7+
- get providers for a model: https://huggingface.co/api/models/Qwen/QwQ-32B?expand[]=inferenceProviderMapping
8+
9+
Document raw HTTP requests + JS/Python equivalent in SDKs

docs/api-inference/hub-integration.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Hub Integration
2+
3+
**TODO:**
4+
- search for models (UI): https://huggingface.co/models?inference_provider=fireworks-ai&sort=trending
5+
- search all models (UI): https://huggingface.co/models?inference_provider=all&sort=trending
6+
- set custom API key from provider (optional)
7+
- order providers by preference (apply to widget and code snippets)
8+
9+
### Features using Inference Providers
10+
11+
Several Hugging Face features utilize the Inference Providers API and count towards your monthly credits:
12+
13+
- Inference Widgets: Interactive widgets available on model pages.
14+
- [Inference Playground](https://huggingface.co/playground): A comprehensive chat interface supporting various models and providers.
15+
- Data Studio AI: Converts text to SQL queries for datasets.
16+
17+
The included monthly credits for PRO and Enterprise should cover moderate usage of these features for most users.

0 commit comments

Comments
 (0)