Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +141 -141
chain_app.py
CHANGED
@@ -70,168 +70,168 @@ async def chat_profile():
|
|
70 |
name="neural-brain-AI",
|
71 |
markdown_description="The main model of neural brain",
|
72 |
),
|
73 |
-
cl.ChatProfile(
|
74 |
-
name="Dorna-AI",
|
75 |
-
markdown_description="One of the open-sourced models that neural brain team fine-tuned",
|
76 |
-
),
|
77 |
# cl.ChatProfile(
|
78 |
-
# name=
|
79 |
-
# markdown_description=
|
80 |
# ),
|
81 |
-
cl.ChatProfile(
|
82 |
-
|
83 |
-
|
84 |
-
),
|
85 |
-
cl.ChatProfile(
|
86 |
-
name="GPT-4",
|
87 |
-
markdown_description="OpenAI's GPT-4 model",
|
88 |
-
),
|
89 |
-
cl.ChatProfile(
|
90 |
-
name="gpt-3.5-turbo",
|
91 |
-
markdown_description="OpenAI's GPT-3.5 Turbo model",
|
92 |
-
),
|
93 |
# cl.ChatProfile(
|
94 |
-
# name="
|
95 |
-
# markdown_description="
|
96 |
# ),
|
97 |
-
cl.ChatProfile(
|
98 |
-
name="gpt-3.5-turbo-1106",
|
99 |
-
markdown_description="OpenAI's GPT-3.5 Turbo 1106 model",
|
100 |
-
),
|
101 |
# cl.ChatProfile(
|
102 |
-
# name="
|
103 |
-
# markdown_description="OpenAI's
|
104 |
# ),
|
105 |
-
cl.ChatProfile(
|
106 |
-
name="TTS",
|
107 |
-
markdown_description="OpenAI's Text-to-Speech model",
|
108 |
-
),
|
109 |
-
cl.ChatProfile(
|
110 |
-
name="Qwen2-57B",
|
111 |
-
markdown_description="Qwen second generation model with 57B parameters",
|
112 |
-
),
|
113 |
-
cl.ChatProfile(
|
114 |
-
name="Qwen2-7B",
|
115 |
-
markdown_description="Qwen second generation model with 7B parameters",
|
116 |
-
),
|
117 |
-
cl.ChatProfile(
|
118 |
-
name="Qwen2-1.5B",
|
119 |
-
markdown_description="Qwen second generation model with 1.5B parameters",
|
120 |
-
),
|
121 |
-
cl.ChatProfile(
|
122 |
-
name="Qwen2-0.5B",
|
123 |
-
markdown_description="Qwen second generation model with 0.5B parameters",
|
124 |
-
),
|
125 |
-
cl.ChatProfile(
|
126 |
-
name="Qwen1.5-110B",
|
127 |
-
markdown_description="Qwen first generation improved model with 110B parameters",
|
128 |
-
),
|
129 |
# cl.ChatProfile(
|
130 |
-
# name="
|
131 |
-
# markdown_description="
|
132 |
# ),
|
133 |
-
cl.ChatProfile(
|
134 |
-
|
135 |
-
|
136 |
-
),
|
137 |
-
cl.ChatProfile(
|
138 |
-
name="Qwen1.5-2.7B",
|
139 |
-
markdown_description="Qwen first generation improved model with 2.7B parameters",
|
140 |
-
),
|
141 |
# cl.ChatProfile(
|
142 |
-
# name="
|
143 |
-
# markdown_description="
|
144 |
# ),
|
|
|
|
|
|
|
|
|
145 |
# cl.ChatProfile(
|
146 |
-
# name="
|
147 |
-
# markdown_description="
|
148 |
# ),
|
149 |
# cl.ChatProfile(
|
150 |
-
# name="
|
151 |
-
# markdown_description="Qwen
|
152 |
# ),
|
153 |
-
cl.ChatProfile(
|
154 |
-
|
155 |
-
|
156 |
-
),
|
157 |
-
cl.ChatProfile(
|
158 |
-
|
159 |
-
|
160 |
-
),
|
161 |
-
cl.ChatProfile(
|
162 |
-
|
163 |
-
|
164 |
-
),
|
165 |
-
cl.ChatProfile(
|
166 |
-
|
167 |
-
|
168 |
-
),
|
169 |
-
cl.ChatProfile(
|
170 |
-
|
171 |
-
|
172 |
-
),
|
173 |
-
cl.ChatProfile(
|
174 |
-
|
175 |
-
|
176 |
-
),
|
177 |
-
cl.ChatProfile(
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
|
181 |
-
),
|
182 |
-
cl.ChatProfile(
|
183 |
-
|
184 |
-
|
185 |
|
186 |
-
),
|
187 |
-
cl.ChatProfile(
|
188 |
-
|
189 |
-
|
190 |
|
191 |
-
),
|
192 |
-
cl.ChatProfile(
|
193 |
-
|
194 |
-
|
195 |
|
196 |
-
),
|
197 |
-
cl.ChatProfile(
|
198 |
-
|
199 |
-
|
200 |
|
201 |
-
),
|
202 |
-
cl.ChatProfile(
|
203 |
-
|
204 |
-
|
205 |
|
206 |
-
),
|
207 |
-
cl.ChatProfile(
|
208 |
-
name="Llama-3-8B",
|
209 |
-
markdown_description="Meta Open Source model Llama-2 with 7B parameters",
|
210 |
-
),
|
211 |
-
cl.ChatProfile(
|
212 |
-
name = "gemma2-9B",
|
213 |
-
markdown_description = 'Google Generation 2 Open Source LLM with 9B parameters'
|
214 |
-
),
|
215 |
-
cl.ChatProfile(
|
216 |
-
name = "gemma-7B",
|
217 |
-
markdown_description = 'Google Generation 1 Open Source LLM with 7B parameters'
|
218 |
-
),
|
219 |
-
cl.ChatProfile(
|
220 |
-
name="zephyr-7B",
|
221 |
-
markdown_description="Open Source model Zephyr with 7B parameters",
|
222 |
-
),
|
223 |
-
cl.ChatProfile(
|
224 |
-
name='mistral-nemo-12B',
|
225 |
-
markdown_description='mistral open source LLM with 12B parameters'
|
226 |
-
),
|
227 |
-
cl.ChatProfile(
|
228 |
-
name='mixtral-8x7B',
|
229 |
-
markdown_description = 'mistral open source LLM with 7B parameters'
|
230 |
-
),
|
231 |
# cl.ChatProfile(
|
232 |
-
# name="
|
233 |
-
# markdown_description="
|
234 |
-
# )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
]
|
236 |
|
237 |
@cl.set_chat_profiles
|
|
|
70 |
name="neural-brain-AI",
|
71 |
markdown_description="The main model of neural brain",
|
72 |
),
|
|
|
|
|
|
|
|
|
73 |
# cl.ChatProfile(
|
74 |
+
# name="Dorna-AI",
|
75 |
+
# markdown_description="One of the open-sourced models that neural brain team fine-tuned",
|
76 |
# ),
|
77 |
+
# # cl.ChatProfile(
|
78 |
+
# # name='Image-Generation',
|
79 |
+
# # markdown_description='Our image generation model, has a performance like midjourney',
|
80 |
+
# # ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
# cl.ChatProfile(
|
82 |
+
# name="gpt4-o-mini",
|
83 |
+
# markdown_description="The best state of the art openai model",
|
84 |
# ),
|
|
|
|
|
|
|
|
|
85 |
# cl.ChatProfile(
|
86 |
+
# name="GPT-4",
|
87 |
+
# markdown_description="OpenAI's GPT-4 model",
|
88 |
# ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
# cl.ChatProfile(
|
90 |
+
# name="gpt-3.5-turbo",
|
91 |
+
# markdown_description="OpenAI's GPT-3.5 Turbo model",
|
92 |
# ),
|
93 |
+
# # cl.ChatProfile(
|
94 |
+
# # name="GPT-3.5-turbo-0125",
|
95 |
+
# # markdown_description="OpenAI's GPT-3.5 Turbo 0125 model",
|
96 |
+
# # ),
|
|
|
|
|
|
|
|
|
97 |
# cl.ChatProfile(
|
98 |
+
# name="gpt-3.5-turbo-1106",
|
99 |
+
# markdown_description="OpenAI's GPT-3.5 Turbo 1106 model",
|
100 |
# ),
|
101 |
+
# # cl.ChatProfile(
|
102 |
+
# # name="davinci-002",
|
103 |
+
# # markdown_description="OpenAI's Davinci-002 model",
|
104 |
+
# # ),
|
105 |
# cl.ChatProfile(
|
106 |
+
# name="TTS",
|
107 |
+
# markdown_description="OpenAI's Text-to-Speech model",
|
108 |
# ),
|
109 |
# cl.ChatProfile(
|
110 |
+
# name="Qwen2-57B",
|
111 |
+
# markdown_description="Qwen second generation model with 57B parameters",
|
112 |
# ),
|
113 |
+
# cl.ChatProfile(
|
114 |
+
# name="Qwen2-7B",
|
115 |
+
# markdown_description="Qwen second generation model with 7B parameters",
|
116 |
+
# ),
|
117 |
+
# cl.ChatProfile(
|
118 |
+
# name="Qwen2-1.5B",
|
119 |
+
# markdown_description="Qwen second generation model with 1.5B parameters",
|
120 |
+
# ),
|
121 |
+
# cl.ChatProfile(
|
122 |
+
# name="Qwen2-0.5B",
|
123 |
+
# markdown_description="Qwen second generation model with 0.5B parameters",
|
124 |
+
# ),
|
125 |
+
# cl.ChatProfile(
|
126 |
+
# name="Qwen1.5-110B",
|
127 |
+
# markdown_description="Qwen first generation improved model with 110B parameters",
|
128 |
+
# ),
|
129 |
+
# # cl.ChatProfile(
|
130 |
+
# # name="Qwen1.5-72B",
|
131 |
+
# # markdown_description="Qwen first generation improved model with 72B parameters",
|
132 |
+
# # ),
|
133 |
+
# cl.ChatProfile(
|
134 |
+
# name="Qwen1.5-32B",
|
135 |
+
# markdown_description="Qwen first generation improved model with 32B parameters",
|
136 |
+
# ),
|
137 |
+
# cl.ChatProfile(
|
138 |
+
# name="Qwen1.5-2.7B",
|
139 |
+
# markdown_description="Qwen first generation improved model with 2.7B parameters",
|
140 |
+
# ),
|
141 |
+
# # cl.ChatProfile(
|
142 |
+
# # name="Qwen-72B",
|
143 |
+
# # markdown_description="Qwen first generation model with 72B parameters",
|
144 |
+
# # ),
|
145 |
+
# # cl.ChatProfile(
|
146 |
+
# # name="Qwen-14B",
|
147 |
+
# # markdown_description="Qwen first generation model with 14B parameters",
|
148 |
+
# # ),
|
149 |
+
# # cl.ChatProfile(
|
150 |
+
# # name="Qwen-7B",
|
151 |
+
# # markdown_description="Qwen first generation model with 7B parameters",
|
152 |
+
# # ),
|
153 |
+
# cl.ChatProfile(
|
154 |
+
# name="Llama-3.1-405B",
|
155 |
+
# markdown_description="Meta Open Source Model Llama with 405B parameters",
|
156 |
+
# ),
|
157 |
+
# cl.ChatProfile(
|
158 |
+
# name="Llama-3.1-70B",
|
159 |
+
# markdown_description="Meta Open Source Model Llama with 70B parameters",
|
160 |
+
# ),
|
161 |
+
# cl.ChatProfile(
|
162 |
+
# name="Llama-3.1-8B",
|
163 |
+
# markdown_description="Meta Open Source Model Llama with 8B parameters",
|
164 |
+
# ),
|
165 |
+
# cl.ChatProfile(
|
166 |
+
# name="Llama-3-70B",
|
167 |
+
# markdown_description="Meta Open Source model Llama-3 with 70B parameters",
|
168 |
+
# ),
|
169 |
+
# cl.ChatProfile(
|
170 |
+
# name='Aya-35B',
|
171 |
+
# markdown_description='Cohere open sourced AI model with 35B parameters'
|
172 |
+
# ),
|
173 |
+
# cl.ChatProfile(
|
174 |
+
# name='Aya-23B',
|
175 |
+
# markdown_description='Cohere open sourced AI model with 23B parameters'
|
176 |
+
# ),
|
177 |
+
# cl.ChatProfile(
|
178 |
+
# name='Command-R-Plus',
|
179 |
+
# markdown_description='Cohere open sourced AI model named Command R plus'
|
180 |
|
181 |
+
# ),
|
182 |
+
# cl.ChatProfile(
|
183 |
+
# name='Command-R',
|
184 |
+
# markdown_description='Cohere open sourced AI model named Command R'
|
185 |
|
186 |
+
# ),
|
187 |
+
# cl.ChatProfile(
|
188 |
+
# name='Command-Light',
|
189 |
+
# markdown_description='Cohere open sourced AI model named Command R'
|
190 |
|
191 |
+
# ),
|
192 |
+
# cl.ChatProfile(
|
193 |
+
# name='Command-Light-Nightly',
|
194 |
+
# markdown_description='Cohere open sourced AI model named Command R'
|
195 |
|
196 |
+
# ),
|
197 |
+
# cl.ChatProfile(
|
198 |
+
# name='Command-Nightly',
|
199 |
+
# markdown_description='Cohere open sourced AI model named Command R'
|
200 |
|
201 |
+
# ),
|
202 |
+
# cl.ChatProfile(
|
203 |
+
# name='Command',
|
204 |
+
# markdown_description='Cohere open sourced AI model named Command R'
|
205 |
|
206 |
+
# ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
# cl.ChatProfile(
|
208 |
+
# name="Llama-3-8B",
|
209 |
+
# markdown_description="Meta Open Source model Llama-2 with 7B parameters",
|
210 |
+
# ),
|
211 |
+
# cl.ChatProfile(
|
212 |
+
# name = "gemma2-9B",
|
213 |
+
# markdown_description = 'Google Generation 2 Open Source LLM with 9B parameters'
|
214 |
+
# ),
|
215 |
+
# cl.ChatProfile(
|
216 |
+
# name = "gemma-7B",
|
217 |
+
# markdown_description = 'Google Generation 1 Open Source LLM with 7B parameters'
|
218 |
+
# ),
|
219 |
+
# cl.ChatProfile(
|
220 |
+
# name="zephyr-7B",
|
221 |
+
# markdown_description="Open Source model Zephyr with 7B parameters",
|
222 |
+
# ),
|
223 |
+
# cl.ChatProfile(
|
224 |
+
# name='mistral-nemo-12B',
|
225 |
+
# markdown_description='mistral open source LLM with 12B parameters'
|
226 |
+
# ),
|
227 |
+
# cl.ChatProfile(
|
228 |
+
# name='mixtral-8x7B',
|
229 |
+
# markdown_description = 'mistral open source LLM with 7B parameters'
|
230 |
+
# ),
|
231 |
+
# # cl.ChatProfile(
|
232 |
+
# # name="Toka-353M",
|
233 |
+
# # markdown_description="PartAI Open Source model Toka with 353M parameters",
|
234 |
+
# # )
|
235 |
]
|
236 |
|
237 |
@cl.set_chat_profiles
|