Spaces:
Running
Running
Update pipeline.json
Browse files- pipeline.json +28 -4
pipeline.json
CHANGED
@@ -1,11 +1,22 @@
|
|
1 |
{
|
2 |
"api": {
|
3 |
"models": {
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
"
|
7 |
"type": "Text Generation",
|
8 |
-
"api_url": "https://api-inference.huggingface.co/models/
|
9 |
"headers": {
|
10 |
"Content-Type": "application/json",
|
11 |
"x-use-cache": "false",
|
@@ -16,7 +27,7 @@
|
|
16 |
}
|
17 |
},
|
18 |
|
19 |
-
|
20 |
"type": "Text Generation",
|
21 |
"api_url": "https://api-inference.huggingface.co/models/PowerInfer/SmallThinker-3B-Preview/v1/chat/completions",
|
22 |
"headers": {
|
@@ -29,6 +40,19 @@
|
|
29 |
}
|
30 |
},
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
"Phi-3.5-mini-instruct": {
|
33 |
"type": "Text Generation",
|
34 |
"api_url": "https://api-inference.huggingface.co/models/microsoft/Phi-3.5-mini-instruct/v1/chat/completions",
|
|
|
1 |
{
|
2 |
"api": {
|
3 |
"models": {
|
4 |
+
"Qwen2.5-Coder-32B-Instruct": {
|
5 |
+
"type": "Text Generation",
|
6 |
+
"api_url": "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions",
|
7 |
+
"headers": {
|
8 |
+
"Content-Type": "application/json",
|
9 |
+
"x-use-cache": "false",
|
10 |
+
"config": {
|
11 |
+
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
|
12 |
+
"Authorization": "Bearer os.environ.get('auth')"
|
13 |
+
}
|
14 |
+
}
|
15 |
+
},
|
16 |
|
17 |
+
"QwQ-32B-Preview": {
|
18 |
"type": "Text Generation",
|
19 |
+
"api_url": "https://api-inference.huggingface.co/models/Qwen/QwQ-32B-Preview/v1/chat/completions",
|
20 |
"headers": {
|
21 |
"Content-Type": "application/json",
|
22 |
"x-use-cache": "false",
|
|
|
27 |
}
|
28 |
},
|
29 |
|
30 |
+
"SmallThinker-3B-Preview": {
|
31 |
"type": "Text Generation",
|
32 |
"api_url": "https://api-inference.huggingface.co/models/PowerInfer/SmallThinker-3B-Preview/v1/chat/completions",
|
33 |
"headers": {
|
|
|
40 |
}
|
41 |
},
|
42 |
|
43 |
+
"Mistral-Nemo-Instruct-2407": {
|
44 |
+
"type": "Text Generation",
|
45 |
+
"api_url": "https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407/v1/chat/completions",
|
46 |
+
"headers": {
|
47 |
+
"Content-Type": "application/json",
|
48 |
+
"x-use-cache": "false",
|
49 |
+
"config": {
|
50 |
+
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
|
51 |
+
"Authorization": "Bearer os.environ.get('auth')"
|
52 |
+
}
|
53 |
+
}
|
54 |
+
},
|
55 |
+
|
56 |
"Phi-3.5-mini-instruct": {
|
57 |
"type": "Text Generation",
|
58 |
"api_url": "https://api-inference.huggingface.co/models/microsoft/Phi-3.5-mini-instruct/v1/chat/completions",
|