Elffuss BraidHub

kikocis/continue public

main · 750 BRawPermalink
1---
2title: "Hugging Face"
3---
4
5<Info>
6 Get started with [Hugging Face Inference Endpoints](https://endpoints.huggingface.co/)
7</Info>
8
9## Configuration
10
11<Tabs>
12 <Tab title="YAML">
13 ```yaml title="config.yaml"
14 models:
15 - name: <MODEL_NAME>
16 provider: huggingface-inference-api
17 model: <MODEL_ID>
18 apiKey: <YOUR_HF_TOKEN>
19 apiBase: <YOUR_HF_INFERENCE_API_ENDPOINT_URL>
20 ```
21 </Tab>
22 <Tab title="JSON (Deprecated)">
23 ```json title="config.json"
24 {
25 "models": [
26 {
27 "title": "<MODEL_NAME>",
28 "provider": "huggingface-inference-api",
29 "model": "<MODEL_ID>",
30 "apiKey": "<YOUR_HF_TOKEN>",
31 "apiBase": "<YOUR_HF_INFERENCE_API_ENDPOINT_URL>"
32 }
33 ]
34 }
35 ```
36 </Tab>
37</Tabs>