JingweiZuo commited on
Commit
5f5e660
·
verified ·
1 Parent(s): 9fa69a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -6,37 +6,37 @@ import openai
6
  # Model configuration dictionary
7
  MODEL_CONFIGS = {
8
  "Falcon-H1-34B-Instruct": {
9
- "model_id": "tiiuae/Falcon-H1-34B-Instruct",
10
  "api_key_env": "XXL_API_KEY",
11
  "base_url_env": "XXL_URL",
12
  "description": "XXL (34B)"
13
  },
14
  "Falcon-H1-7B-Instruct": {
15
- "model_id": "tiiuae/Falcon-H1-7B-Instruct",
16
  "api_key_env": "L_API_KEY",
17
  "base_url_env": "L_URL",
18
  "description": "L (7B)"
19
  },
20
  "Falcon-H1-3B-Instruct": {
21
- "model_id": "tiiuae/Falcon-H1-3B-Instruct",
22
  "api_key_env": "M_API_KEY",
23
  "base_url_env": "M_URL",
24
  "description": "M (3B)"
25
  },
26
  "Falcon-H1-1.5B-Deep-Instruct": {
27
- "model_id": "tiiuae/Falcon-H1-1.5B-Deep-Instruct",
28
  "api_key_env": "S_API_KEY",
29
  "base_url_env": "S_URL",
30
  "description": "S (1.5B Deep)"
31
  },
32
  "Falcon-H1-1.5B-Instruct": {
33
- "model_id": "tiiuae/Falcon-H1-1.5B-Instruct",
34
  "api_key_env": "XS_API_KEY",
35
  "base_url_env": "XS_URL",
36
  "description": "XS (1.5B)"
37
  },
38
  "Falcon-H1-0.5B-Instruct": {
39
- "model_id": "tiiuae/Falcon-H1-0.5B-Instruct",
40
  "api_key_env": "XXS_API_KEY",
41
  "base_url_env": "XXS_URL",
42
  "description": "XXS (0.5B)"
@@ -99,7 +99,7 @@ h3 {
99
 
100
  TITLE = "<h1>Falcon-H1 Playground</h1>"
101
  SUB_TITLE = """
102
- <p class='subtitle'>Falcon-H1 is a new SoTA hybrid model by TII in Abu Dhabi. It is open source and available on Hugging Face. This demo is powered by <a href="https://openinnovation.ai">OpenInnovationAI</a>. Try out our <a href="https://chat.falconllm.tii.ae/auth">chat interface</a>.</p>
103
  <p class='subtitle' style='font-size: 0.9rem; color: #888;'></p>
104
  """
105
 
 
6
  # Model configuration dictionary
7
  MODEL_CONFIGS = {
8
  "Falcon-H1-34B-Instruct": {
9
+ "model_id": "falcon-h1-34b-instruct",
10
  "api_key_env": "XXL_API_KEY",
11
  "base_url_env": "XXL_URL",
12
  "description": "XXL (34B)"
13
  },
14
  "Falcon-H1-7B-Instruct": {
15
+ "model_id": "falcon-h1-7b-instruct",
16
  "api_key_env": "L_API_KEY",
17
  "base_url_env": "L_URL",
18
  "description": "L (7B)"
19
  },
20
  "Falcon-H1-3B-Instruct": {
21
+ "model_id": "falcon-h1-3b-instruct",
22
  "api_key_env": "M_API_KEY",
23
  "base_url_env": "M_URL",
24
  "description": "M (3B)"
25
  },
26
  "Falcon-H1-1.5B-Deep-Instruct": {
27
+ "model_id": "falcon-h1-1.5b-deep-instruct",
28
  "api_key_env": "S_API_KEY",
29
  "base_url_env": "S_URL",
30
  "description": "S (1.5B Deep)"
31
  },
32
  "Falcon-H1-1.5B-Instruct": {
33
+ "model_id": "falcon-h1-1.5b-instruct",
34
  "api_key_env": "XS_API_KEY",
35
  "base_url_env": "XS_URL",
36
  "description": "XS (1.5B)"
37
  },
38
  "Falcon-H1-0.5B-Instruct": {
39
+ "model_id": "falcon-h1-0.5b-instruct",
40
  "api_key_env": "XXS_API_KEY",
41
  "base_url_env": "XXS_URL",
42
  "description": "XXS (0.5B)"
 
99
 
100
  TITLE = "<h1>Falcon-H1 Playground</h1>"
101
  SUB_TITLE = """
102
+ <p class='subtitle'>Falcon-H1 is a new SoTA hybrid model series by TII in Abu Dhabi. It is open source and available on Hugging Face. Try out our <a href="https://chat.falconllm.tii.ae/auth">Falcon-LLM Web App</a>.</p>
103
  <p class='subtitle' style='font-size: 0.9rem; color: #888;'></p>
104
  """
105