kambris commited on
Commit
e8c22e1
Β·
verified Β·
1 Parent(s): 6130985

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
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 different countries/regions
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
- "tiiuae/falcon-180B-chat" # πŸ‡¦πŸ‡ͺ UAE (Technology Innovation Institute)
16
  ]
17
 
18
  def query_model(model_id, prompt, max_tokens=300, temperature=0.7):
@@ -70,10 +70,10 @@ with gr.Blocks(title="LLM Response Collector") as demo:
70
  # πŸ€– Multi-LLM Response Collector
71
 
72
  Compare responses from 4 different LLMs across 3 countries:
73
- - **Llama 3.3 70B** πŸ‡ΊπŸ‡Έ - Meta's latest instruction model (USA)
74
- - **Qwen 2.5 72B** πŸ‡¨πŸ‡³ - Alibaba's powerful multilingual model (China)
75
- - **DeepSeek R1** πŸ‡¨πŸ‡³ - Advanced reasoning model (China)
76
- - **Falcon 180B** πŸ‡¦πŸ‡ͺ - Technology Innovation Institute's flagship model (UAE)
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, 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/Mistral-Large-3-675B-Instruct-2512" # πŸ‡«πŸ‡· France (Mistral AI)
16
  ]
17
 
18
  def query_model(model_id, prompt, max_tokens=300, temperature=0.7):
 
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
  """)