Spaces:
Building
Building
ehristoforu
commited on
Commit
•
f86f7e5
1
Parent(s):
36d3e3a
Update .env.local.template
Browse files- .env.local.template +67 -7
.env.local.template
CHANGED
@@ -19,6 +19,26 @@ OPENID_PROVIDER_URL=https://huggingface.co
|
|
19 |
|
20 |
|
21 |
MODELS=`[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
{
|
23 |
"name": "gpt-3.5-turbo-0613",
|
24 |
"displayName": "GPT-3.5-Turbo",
|
@@ -98,12 +118,12 @@ MODELS=`[
|
|
98 |
"apiKey": "${OPENAI_API_KEY}",
|
99 |
"baseURL": "${ENDPOINT}"
|
100 |
}]
|
101 |
-
},
|
102 |
{
|
103 |
-
"name": "
|
104 |
-
"displayName": "
|
105 |
-
"modelUrl": "https://
|
106 |
-
"websiteUrl": "https://
|
107 |
"parameters": {
|
108 |
"temperature": 0.3,
|
109 |
"top_p": 0.8,
|
@@ -115,8 +135,28 @@ MODELS=`[
|
|
115 |
},
|
116 |
"endpoints": [{
|
117 |
"type" : "openai",
|
118 |
-
"apiKey": "${
|
119 |
-
"baseURL": "https://
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
}]
|
121 |
},
|
122 |
{
|
@@ -312,6 +352,26 @@ MODELS=`[
|
|
312 |
"apiKey": "${VISIONCRAFT_API_KEY}",
|
313 |
"baseURL": "https://visioncraft.top/v1"
|
314 |
}]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
}
|
316 |
]`
|
317 |
|
|
|
19 |
|
20 |
|
21 |
MODELS=`[
|
22 |
+
{
|
23 |
+
"name": "gpt-4o-mini",
|
24 |
+
"displayName": "GPT-4o-mini",
|
25 |
+
"modelUrl": "https://platform.openai.com/docs/models/gpt-4o-mini",
|
26 |
+
"websiteUrl": "https://openai.com/chatgpt",
|
27 |
+
"parameters": {
|
28 |
+
"temperature": 0.3,
|
29 |
+
"top_p": 0.8,
|
30 |
+
"repetition_penalty": 0.0,
|
31 |
+
"max_tokens": 1024,
|
32 |
+
"top_k": 50,
|
33 |
+
"truncate": 1000,
|
34 |
+
"max_new_tokens": 2048
|
35 |
+
},
|
36 |
+
"endpoints": [{
|
37 |
+
"type" : "openai",
|
38 |
+
"apiKey": "${OPENAI_API_KEY}",
|
39 |
+
"baseURL": "${ENDPOINT}"
|
40 |
+
}]
|
41 |
+
},
|
42 |
{
|
43 |
"name": "gpt-3.5-turbo-0613",
|
44 |
"displayName": "GPT-3.5-Turbo",
|
|
|
118 |
"apiKey": "${OPENAI_API_KEY}",
|
119 |
"baseURL": "${ENDPOINT}"
|
120 |
}]
|
121 |
+
},
|
122 |
{
|
123 |
+
"name": "mistralai/Mistral-Nemo-Instruct-2407",
|
124 |
+
"displayName": "Mistral-Nemo-Instruct",
|
125 |
+
"modelUrl": "https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407",
|
126 |
+
"websiteUrl": "https://mistral.ai",
|
127 |
"parameters": {
|
128 |
"temperature": 0.3,
|
129 |
"top_p": 0.8,
|
|
|
135 |
},
|
136 |
"endpoints": [{
|
137 |
"type" : "openai",
|
138 |
+
"apiKey": "${HF_TOKEN}",
|
139 |
+
"baseURL": "https://api-inference.huggingface.co/v1"
|
140 |
+
}]
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"name": "microsoft/Phi-3-mini-4k-instruct",
|
144 |
+
"displayName": "Phi-3-mini-4k-instruct",
|
145 |
+
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
146 |
+
"websiteUrl": "https://azure.microsoft.com/en-us/products/phi-3",
|
147 |
+
"parameters": {
|
148 |
+
"temperature": 0.3,
|
149 |
+
"top_p": 0.8,
|
150 |
+
"repetition_penalty": 0.0,
|
151 |
+
"max_tokens": 1024,
|
152 |
+
"top_k": 50,
|
153 |
+
"truncate": 1000,
|
154 |
+
"max_new_tokens": 2048
|
155 |
+
},
|
156 |
+
"endpoints": [{
|
157 |
+
"type" : "openai",
|
158 |
+
"apiKey": "${HF_TOKEN}",
|
159 |
+
"baseURL": "https://api-inference.huggingface.co/v1"
|
160 |
}]
|
161 |
},
|
162 |
{
|
|
|
352 |
"apiKey": "${VISIONCRAFT_API_KEY}",
|
353 |
"baseURL": "https://visioncraft.top/v1"
|
354 |
}]
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"name": "openai-community/gpt2",
|
358 |
+
"displayName": "GPT2",
|
359 |
+
"modelUrl": "https://huggingface.co/openai-community/gpt2",
|
360 |
+
"websiteUrl": "https://github.com/openai/gpt-2",
|
361 |
+
"parameters": {
|
362 |
+
"temperature": 0.3,
|
363 |
+
"top_p": 0.8,
|
364 |
+
"repetition_penalty": 0.0,
|
365 |
+
"max_tokens": 1024,
|
366 |
+
"top_k": 50,
|
367 |
+
"truncate": 1000,
|
368 |
+
"max_new_tokens": 1024
|
369 |
+
},
|
370 |
+
"endpoints": [{
|
371 |
+
"type" : "openai",
|
372 |
+
"apiKey": "${HF_TOKEN}",
|
373 |
+
"baseURL": "https://api-inference.huggingface.co/v1"
|
374 |
+
}]
|
375 |
}
|
376 |
]`
|
377 |
|