Spaces:
Running
Running
Update pipeline.json
Browse files- pipeline.json +27 -11
pipeline.json
CHANGED
@@ -10,7 +10,7 @@
|
|
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 |
|
@@ -23,7 +23,7 @@
|
|
23 |
"config": {
|
24 |
"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'.",
|
25 |
"Authorization": "Bearer os.environ.get('auth')"
|
26 |
-
|
27 |
}
|
28 |
},
|
29 |
|
@@ -36,11 +36,30 @@
|
|
36 |
"config": {
|
37 |
"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'.",
|
38 |
"Authorization": "Bearer os.environ.get('auth')"
|
|
|
39 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
}
|
41 |
},
|
42 |
-
|
43 |
-
|
|
|
44 |
"api_url": "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B/v1/chat/completions",
|
45 |
"headers": {
|
46 |
"Content-Type": "application/json",
|
@@ -48,10 +67,9 @@
|
|
48 |
"config": {
|
49 |
"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'.",
|
50 |
"Authorization": "Bearer os.environ.get('auth')"
|
|
|
51 |
}
|
52 |
-
|
53 |
-
},
|
54 |
-
|
55 |
|
56 |
"Xylaria 1.4 Senoa": {
|
57 |
"type": "Text Generation",
|
@@ -62,7 +80,7 @@
|
|
62 |
"config": {
|
63 |
"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'.",
|
64 |
"Authorization": "Bearer os.environ.get('auth')"
|
65 |
-
|
66 |
}
|
67 |
},
|
68 |
|
@@ -75,11 +93,9 @@
|
|
75 |
"config": {
|
76 |
"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'.",
|
77 |
"Authorization": "Bearer os.environ.get('auth')"
|
78 |
-
|
79 |
}
|
80 |
}
|
81 |
-
|
82 |
-
|
83 |
}
|
84 |
},
|
85 |
"handle_stream": true
|
|
|
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 |
|
|
|
23 |
"config": {
|
24 |
"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'.",
|
25 |
"Authorization": "Bearer os.environ.get('auth')"
|
26 |
+
}
|
27 |
}
|
28 |
},
|
29 |
|
|
|
36 |
"config": {
|
37 |
"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'.",
|
38 |
"Authorization": "Bearer os.environ.get('auth')"
|
39 |
+
}
|
40 |
}
|
41 |
+
},
|
42 |
+
|
43 |
+
"Xylaria 1.7 Senoa": {
|
44 |
+
"type": "Text Generation",
|
45 |
+
"api_url": "https://huggingface.co/api/inference-proxy/together/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 |
+
"model_params": {
|
55 |
+
"model": "deepseek-ai/DeepSeek-R1",
|
56 |
+
"max_tokens": 10200,
|
57 |
+
"stream": true
|
58 |
}
|
59 |
},
|
60 |
+
|
61 |
+
"Xylaria 1.7 Senoa Experemental": {
|
62 |
+
"type": "Text Generation",
|
63 |
"api_url": "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B/v1/chat/completions",
|
64 |
"headers": {
|
65 |
"Content-Type": "application/json",
|
|
|
67 |
"config": {
|
68 |
"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'.",
|
69 |
"Authorization": "Bearer os.environ.get('auth')"
|
70 |
+
}
|
71 |
}
|
72 |
+
},
|
|
|
|
|
73 |
|
74 |
"Xylaria 1.4 Senoa": {
|
75 |
"type": "Text Generation",
|
|
|
80 |
"config": {
|
81 |
"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'.",
|
82 |
"Authorization": "Bearer os.environ.get('auth')"
|
83 |
+
}
|
84 |
}
|
85 |
},
|
86 |
|
|
|
93 |
"config": {
|
94 |
"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'.",
|
95 |
"Authorization": "Bearer os.environ.get('auth')"
|
96 |
+
}
|
97 |
}
|
98 |
}
|
|
|
|
|
99 |
}
|
100 |
},
|
101 |
"handle_stream": true
|