Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -265,7 +265,41 @@ with gr.Blocks(title="Groq AI Chat Playground") as app:
|
|
265 |
with gr.Tab("Chat"):
|
266 |
# New model information accordion
|
267 |
with gr.Accordion("ℹ️ Model Information - Learn about available models", open=False):
|
268 |
-
gr.Markdown("""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
gr.Markdown("Enter your Groq API key to start chatting with AI models.")
|
271 |
|
|
|
265 |
with gr.Tab("Chat"):
|
266 |
# New model information accordion
|
267 |
with gr.Accordion("ℹ️ Model Information - Learn about available models", open=False):
|
268 |
+
gr.Markdown("""
|
269 |
+
### Available Models and Use Cases
|
270 |
+
|
271 |
+
**llama3-70b-8192**
|
272 |
+
- Meta's most powerful language model
|
273 |
+
- 70 billion parameters with 8192 token context window
|
274 |
+
- Best for: Complex reasoning, sophisticated content generation, creative writing, and detailed analysis
|
275 |
+
- Optimal for users needing the highest quality AI responses
|
276 |
+
|
277 |
+
**llama3-8b-8192**
|
278 |
+
- Lighter version of Llama 3
|
279 |
+
- 8 billion parameters with 8192 token context window
|
280 |
+
- Best for: Faster responses, everyday tasks, simpler queries
|
281 |
+
- Good balance between performance and speed
|
282 |
+
|
283 |
+
**mistral-saba-24b**
|
284 |
+
- Mistral AI's advanced model
|
285 |
+
- 24 billion parameters
|
286 |
+
- Best for: High-quality reasoning, code generation, and structured outputs
|
287 |
+
- Excellent for technical and professional use cases
|
288 |
+
|
289 |
+
**gemma2-9b-it**
|
290 |
+
- Google's instruction-tuned model
|
291 |
+
- 9 billion parameters
|
292 |
+
- Best for: Following specific instructions, educational content, and general knowledge queries
|
293 |
+
- Well-rounded performance for various tasks
|
294 |
+
|
295 |
+
**allam-2-7b**
|
296 |
+
- Specialized model from Aleph Alpha
|
297 |
+
- 7 billion parameters
|
298 |
+
- Best for: Multilingual support, concise responses, and straightforward Q&A
|
299 |
+
- Good for international users and simpler applications
|
300 |
+
|
301 |
+
*Note: Larger models generally provide higher quality responses but may take slightly longer to generate.*
|
302 |
+
""")
|
303 |
|
304 |
gr.Markdown("Enter your Groq API key to start chatting with AI models.")
|
305 |
|