kambris commited on
Commit
6c9529f
Β·
verified Β·
1 Parent(s): c062262

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -7,12 +7,12 @@ import pandas as pd
7
  # Hugging Face token from environment
8
  HF_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
9
 
10
- # Four different LLM models from USA, China, and France
11
  MODELS = [
12
- "meta-llama/Llama-3.3-70B-Instruct", # πŸ‡ΊπŸ‡Έ USA (Meta)
13
- "Qwen/Qwen2.5-72B-Instruct", # πŸ‡¨πŸ‡³ China (Alibaba)
14
- "deepseek-ai/DeepSeek-R1", # πŸ‡¨πŸ‡³ China (DeepSeek)
15
- "mistralai/Ministral-3-3B-Instruct-2512" # πŸ‡«πŸ‡· France (Mistral AI)
16
  ]
17
 
18
  def query_model(model_id, prompt, max_tokens=300, temperature=0.7):
@@ -69,11 +69,11 @@ with gr.Blocks(title="LLM Response Collector") as demo:
69
  gr.Markdown("""
70
  # πŸ€– Multi-LLM Response Collector
71
 
72
- Compare responses from 4 different LLMs across 3 countries:
73
  - **Llama 3.3 70B** πŸ‡ΊπŸ‡Έ - Meta's latest model (USA)
 
74
  - **Qwen 2.5 72B** πŸ‡¨πŸ‡³ - Alibaba's flagship model (China)
75
  - **DeepSeek R1** πŸ‡¨πŸ‡³ - DeepSeek's reasoning model (China)
76
- - **Mistral Large 3 675B** πŸ‡«πŸ‡· - Mistral AI's massive model (France)
77
 
78
  Each query is independent with no conversation history.
79
  """)
 
7
  # Hugging Face token from environment
8
  HF_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
9
 
10
+ # Four different LLM models from USA and China
11
  MODELS = [
12
+ "meta-llama/Llama-3.3-70B-Instruct", # πŸ‡ΊπŸ‡Έ USA (Meta)
13
+ "google/gemma-2-9b-it", # πŸ‡ΊπŸ‡Έ USA (Google)
14
+ "Qwen/Qwen2.5-72B-Instruct", # πŸ‡¨πŸ‡³ China (Alibaba)
15
+ "deepseek-ai/DeepSeek-R1", # πŸ‡¨πŸ‡³ China (DeepSeek)
16
  ]
17
 
18
  def query_model(model_id, prompt, max_tokens=300, temperature=0.7):
 
69
  gr.Markdown("""
70
  # πŸ€– Multi-LLM Response Collector
71
 
72
+ Compare responses from 4 different LLMs (2 US, 2 China):
73
  - **Llama 3.3 70B** πŸ‡ΊπŸ‡Έ - Meta's latest model (USA)
74
+ - **Gemma 2 9B** πŸ‡ΊπŸ‡Έ - Google's efficient model (USA)
75
  - **Qwen 2.5 72B** πŸ‡¨πŸ‡³ - Alibaba's flagship model (China)
76
  - **DeepSeek R1** πŸ‡¨πŸ‡³ - DeepSeek's reasoning model (China)
 
77
 
78
  Each query is independent with no conversation history.
79
  """)