ngebodh commited on
Commit
d7ba07a
·
verified ·
1 Parent(s): 63f1864

Updated model options

Browse files

+The Gemma-2-9B-it is no longer supported.
+Added GPT-OSS 120B as a replacement.
+Added some more radom dog pics on error out.

Files changed (1) hide show
  1. app.py +20 -4
app.py CHANGED
@@ -13,6 +13,10 @@ load_dotenv()
13
  # #===========================================
14
  # updates = '''
15
  # Updates
 
 
 
 
16
  # + 04/20/2025
17
  # - Changed the inference from HF b/c
18
  # API calls are not very limted.
@@ -69,18 +73,27 @@ model_links_hf ={
69
 
70
 
71
  model_links_groq ={
72
- "Gemma-2-9B-it":{
73
  "inf_point":"https://api.groq.com/openai/v1",
74
- "link":"gemma2-9b-it",
75
- },
76
  "Meta-Llama-3.1-8B":{
77
  "inf_point":"https://api.groq.com/openai/v1",
78
  "link":"llama-3.1-8b-instant",
79
  },
 
 
 
 
80
  }
81
 
82
  #Pull info about the model to display
83
  model_info ={
 
 
 
 
 
84
  "Mistral-7B":
85
  {'description':"""The Mistral model is a **Large Language Model (LLM)** that's able to have question and answer interactions.\n \
86
  \nIt was created by the [**Mistral AI**](https://mistral.ai/news/announcing-mistral-7b/) team as has over **7 billion parameters.** \n""",
@@ -142,7 +155,10 @@ random_dog = ["0f476473-2d8b-415e-b944-483768418a95.jpg",
142
  "0fd781ff-ec46-4bdc-a4e8-24f18bf07def.jpg",
143
  "0fb4aeee-f949-4c7b-a6d8-05bf0736bdd1.jpg",
144
  "6edac66e-c0de-4e69-a9d6-b2e6f6f9001b.jpg",
145
- "bfb9e165-c643-4993-9b3a-7e73571672a6.jpg"]
 
 
 
146
 
147
 
148
 
 
13
  # #===========================================
14
  # updates = '''
15
  # Updates
16
+ # +10/10/2025
17
+ # - Update the model options since Gemma-2-9B-it
18
+ # is no longer supported. Replaced with GPT-OSS-120B
19
+ #
20
  # + 04/20/2025
21
  # - Changed the inference from HF b/c
22
  # API calls are not very limted.
 
73
 
74
 
75
  model_links_groq ={
76
+ "OpenAI-GPT-OSS-120B"{
77
  "inf_point":"https://api.groq.com/openai/v1",
78
+ "link":"openai/gpt-oss-120b",
79
+ },
80
  "Meta-Llama-3.1-8B":{
81
  "inf_point":"https://api.groq.com/openai/v1",
82
  "link":"llama-3.1-8b-instant",
83
  },
84
+ # "Gemma-2-9B-it":{
85
+ # "inf_point":"https://api.groq.com/openai/v1",
86
+ # "link":"gemma2-9b-it",
87
+ # },
88
  }
89
 
90
  #Pull info about the model to display
91
  model_info ={
92
+ "OpenAI-GPT-OSS-120B":
93
+ {'description':"""The GPT OSS 120B model is a **Large Language Model (LLM)** that's able to have question and answer interactions.\n \
94
+ \nIt was created by the [**OpenAI**](https://openai.com/research) team as an open-source initiative and has over **120 billion parameters.** \
95
+ \nThis model represents one of the largest publicly available transformer-based language models, designed for advanced reasoning, dialogue, and code understanding tasks.\n""",
96
+ 'logo':'https://upload.wikimedia.org/wikipedia/commons/4/4d/OpenAI_Logo.svg'},
97
  "Mistral-7B":
98
  {'description':"""The Mistral model is a **Large Language Model (LLM)** that's able to have question and answer interactions.\n \
99
  \nIt was created by the [**Mistral AI**](https://mistral.ai/news/announcing-mistral-7b/) team as has over **7 billion parameters.** \n""",
 
155
  "0fd781ff-ec46-4bdc-a4e8-24f18bf07def.jpg",
156
  "0fb4aeee-f949-4c7b-a6d8-05bf0736bdd1.jpg",
157
  "6edac66e-c0de-4e69-a9d6-b2e6f6f9001b.jpg",
158
+ "bfb9e165-c643-4993-9b3a-7e73571672a6.jpg",
159
+ "d467a3b8-ade5-4d68-810a-95fbb32a3cfc.jpg",
160
+ "5384c2a7-9b73-478e-9f32-9af9f264da1d.jpg",
161
+ "59f02432-b972-4428-935b-4efb0af83456.jpg"]
162
 
163
 
164