broadfield-dev commited on
Commit
6f1ba0e
·
verified ·
1 Parent(s): af588e6

Update model_logic.py

Browse files
Files changed (1) hide show
  1. model_logic.py +1 -145
model_logic.py CHANGED
@@ -42,151 +42,7 @@ MODELS_BY_PROVIDER = {
42
  "default": "llama3-8b-8192",
43
  "models": {
44
  "Llama 3 8B (Groq)": "llama3-8b-8192",
45
- "Llama 3 70B (Groq)": "llama3-70b-8192",
46
- "Mixtral 8x7B (Groq)": "mixtral-8x7b-32768",
47
- "Gemma 7B (Groq)": "gemma-7b-it",
48
- "Gemma 2 9B (Groq)": "gemma-2-9b-it",
49
- "Llama 3.1 8B (Groq)": "llama-3.1-8b-instruct",
50
- "Llama 3.1 70B (Groq)": "llama-3.1-70b-instruct",
51
- "Qwen 2 7B (Groq)": "qwen-2-7b-instruct",
52
- "Qwen 2 72B (Groq)": "qwen-2-72b-instruct",
53
- "Mistral 7B Instruct v0.3 (Groq)": "mistral-7b-instruct-v0.3",
54
- "Falcon 7B (Groq)": "falcon-7b-instruct",
55
- "Falcon 40B (Groq)": "falcon-40b-instruct",
56
- "Grok 1.5 Flash (Groq) $": "grok-1.5-flash",
57
- "Grok 3 (Groq) $$": "grok-3",
58
- "DeepSeek R-1 7B (Groq)": "deepseek-r-1-7b-instruct"
59
- }
60
- },
61
- "openrouter": {
62
- "default": "mistralai/mistral-7b-instruct:free",
63
- "models": {
64
- "Mistral 7B Instruct (Free/OpenRouter)": "mistralai/mistral-7b-instruct:free",
65
- "Gemma 7B Instruct (Free/OpenRouter)": "google/gemma-7b-it:free",
66
- "Llama 3 8B Instruct (Free/OpenRouter)": "meta-llama/llama-3-8b-instruct:free",
67
- "Nous Llama 3 8B Instruct (OpenRouter)": "nousresearch/llama-3-8b-instruct",
68
- "Mistral 7B Instruct v0.3 (OpenRouter)": "mistralai/mistral-7b-instruct-v0.3",
69
- "Gemma 2 9B Instruct (OpenRouter)": "google/gemma-2-9b-it",
70
- "Llama 3.1 8B Instruct (OpenRouter)": "meta-llama/llama-3.1-8b-instruct",
71
- "Qwen 2 7B Instruct (OpenRouter)": "qwen/qwen-2-7b-instruct",
72
- "Falcon 7B Instruct (OpenRouter)": "tiiuae/falcon-7b-instruct",
73
- "DeepSeek R-1 7B (OpenRouter)": "deepseek/r-1-7b-instruct",
74
- "Llama 3.1 70B Instruct (OpenRouter) $": "meta-llama/llama-3.1-70b-instruct",
75
- "Mixtral 8x7B Instruct v0.1 (OpenRouter) $": "mistralai/mixtral-8x7b-instruct",
76
- "Qwen 2 72B Instruct (OpenRouter) $": "qwen/qwen-2-72b-instruct",
77
- "OpenAI GPT-4o mini (OpenRouter) $$": "openai/gpt-4o-mini",
78
- "OpenAI GPT-4o (OpenRouter) $$$": "openai/gpt-4o",
79
- "Claude 3.5 Sonnet (OpenRouter) $$$": "anthropic/claude-3.5-sonnet"
80
- }
81
- },
82
- "togetherai": {
83
- "default": "meta-llama/Llama-3-8b-chat-hf",
84
- "models": {
85
- "Llama 3 8B Chat (TogetherAI)": "meta-llama/Llama-3-8b-chat-hf",
86
- "Gemma 7B Instruct (TogetherAI)": "google/gemma-7b-it",
87
- "Mistral 7B Instruct v0.2 (TogetherAI)": "mistralai/Mistral-7B-Instruct-v0.2",
88
- "Qwen 2 7B Chat (TogetherAI)": "qwen/Qwen-2-7B-Chat",
89
- "Falcon 7B Instruct (TogetherAI)": "tiiuae/falcon-7b-instruct",
90
- "DeepSeek R-1 7B (TogetherAI)": "deepseek/r-1-7b-instruct",
91
- "Llama 3.1 8B Instruct (TogetherAI)": "meta-llama/Llama-3.1-8b-instruct",
92
- "Gemma 2 9B Instruct (TogetherAI)": "google/gemma-2-9b-it",
93
- "Llama 3 70B Chat (TogetherAI) $": "meta-llama/Llama-3-70b-chat-hf",
94
- "Mixtral 8x7B Instruct (TogetherAI) $": "mistralai/Mixtral-8x7B-Instruct-v0.1",
95
- "Qwen 2 72B Chat (TogetherAI) $": "qwen/Qwen-2-72B-Chat",
96
- "Falcon 40B Instruct (TogetherAI) $": "tiiuae/falcon-40b-instruct",
97
- "Llama 3.1 70B Instruct (TogetherAI) $$": "meta-llama/Llama-3.1-70b-instruct",
98
- "Mistral 8x22B Instruct (TogetherAI) $$": "mistralai/Mixtral-8x22B-Instruct-v0.1",
99
- "DeepSeek R-2 72B (TogetherAI) $$": "deepseek/r-2-72b-instruct",
100
- "CodeLlama 34B Instruct (TogetherAI) $": "codellama/CodeLlama-34b-Instruct-hf"
101
- }
102
- },
103
- "google": {
104
- "default": "gemini-1.5-flash-latest",
105
- "models": {
106
- "Gemini 1.5 Flash (Latest)": "gemini-1.5-flash-latest",
107
- "Gemini 1.0 Pro": "gemini-pro",
108
- "Gemma 7B Instruct": "gemma-7b-it",
109
- "Gemma 2 9B Instruct": "gemma-2-9b-it",
110
- "CodeGemma 7B": "codegemma-7b",
111
- "Gemini 1.5 Pro (Latest) $": "gemini-1.5-pro-latest",
112
- "Gemini 1.5 Flash 8B $": "gemini-1.5-flash-8b",
113
- "Gemini 1.0 Ultra $$": "gemini-ultra",
114
- "Gemini 1.5 Pro Experimental $$": "gemini-1.5-pro-exp",
115
- "Gemini 1.5 Flash Experimental $$": "gemini-1.5-flash-exp",
116
- "Gemini 1.5 Pro Reasoning $$": "gemini-1.5-pro-reasoning",
117
- "Gemini 1.5 Flash Reasoning $$": "gemini-1.5-flash-reasoning",
118
- "Gemini 1.5 Pro Vision $$": "gemini-1.5-pro-vision",
119
- "Gemini 1.5 Flash Vision $$": "gemini-1.5-flash-vision",
120
- "CodeGemma 7B Instruct $$": "codegemma-7b-instruct"
121
- }
122
- },
123
- "cohere": {
124
- "default": "command-r",
125
- "models": {
126
- "Command Light (Cohere)": "command-light",
127
- "Command (Cohere)": "command",
128
- "Command R (Cohere)": "command-r",
129
- "Command R+ (Cohere) $": "command-r-plus",
130
- "Classify (Cohere) $": "classify",
131
- "Embed English v3.0 (Cohere) $": "embed-english-v3.0",
132
- "Embed Multilingual v3.0 (Cohere) $": "embed-multilingual-v3.0",
133
- "Command Nightly (Cohere) $": "command-nightly",
134
- "Command R 08-2024 (Cohere) $": "command-r-08-2024",
135
- "Command R+ 08-2024 (Cohere) $$": "command-r-plus-08-2024",
136
- "Embed English Light v3.0 (Cohere) $": "embed-english-light-v3.0",
137
- "Embed Multilingual Light v3.0 (Cohere) $": "embed-multilingual-light-v3.0",
138
- "Command R 03-2024 (Cohere) $": "command-r-03-2024",
139
- "Command Light Nightly (Cohere) $": "command-light-nightly",
140
- "Classify v2 (Cohere) $$": "classify-v2"
141
- }
142
- },
143
- "huggingface": {
144
- "default": "mistralai/Mistral-7B-Instruct-v0.2",
145
- "models": {
146
- "Mistral 7B Instruct v0.2 (HF Inf.)": "mistralai/Mistral-7B-Instruct-v0.2",
147
- "Llama 3 8B Instruct (HF Inf.)": "meta-llama/Meta-Llama-3-8B-Instruct",
148
- "Gemma 7B Instruct (HF Inf.)": "google/gemma-7b-it",
149
- "Zephyr 7B Beta (HF Inf.)": "HuggingFaceH4/zephyr-7b-beta",
150
- "Qwen 2 7B Instruct (HF Inf.)": "qwen/Qwen-2-7B-Instruct",
151
- "Falcon 7B Instruct (HF Inf.)": "tiiuae/falcon-7b-instruct",
152
- "Mixtral 8x7B Instruct (HF Inf.)": "mistralai/Mixtral-8x7B-Instruct-v0.1",
153
- "Gemma 2 9B Instruct (HF Inf.)": "google/gemma-2-9b-it",
154
- "Llama 3.1 8B Instruct (HF Inf.)": "meta-llama/Llama-3.1-8B-Instruct",
155
- "DeepSeek R-1 7B (HF Inf.)": "deepseek/r-1-7b-instruct",
156
- "Mistral 7B Instruct v0.3 (HF Inf.) $": "mistralai/Mistral-7B-Instruct-v0.3",
157
- "Llama 3 70B Instruct (HF Inf.) $$": "meta-llama/Meta-Llama-3-70B-Instruct",
158
- "Mixtral 8x22B Instruct (HF Inf.) $$": "mistralai/Mixtral-8x22B-Instruct-v0.1",
159
- "Qwen 2 72B Instruct (HF Inf.) $$": "qwen/Qwen-2-72B-Instruct",
160
- "Falcon 40B Instruct (HF Inf.) $$": "tiiuae/falcon-40b-instruct",
161
- "CodeLlama 34B Instruct (HF Inf.) $": "codellama/CodeLlama-34b-Instruct-hf"
162
- }
163
- },
164
- "openai": {
165
- "default": "gpt-4o-mini",
166
- "models": {
167
- "GPT-3.5 Turbo (OpenAI)": "gpt-3.5-turbo",
168
- "GPT-4o mini (OpenAI) $": "gpt-4o-mini",
169
- "GPT-4 Turbo (OpenAI) $$": "gpt-4-turbo",
170
- "GPT-4o (OpenAI) $$$": "gpt-4o",
171
- "GPT-4 (OpenAI) $$$": "gpt-4",
172
- "GPT-3.5 Turbo 0125 (OpenAI) $": "gpt-3.5-turbo-0125",
173
- "GPT-4o 2024-05-13 (OpenAI) $$$": "gpt-4o-2024-05-13",
174
- "GPT-4 Turbo Preview (OpenAI) $$": "gpt-4-turbo-preview",
175
- "GPT-3.5 Turbo Instruct (OpenAI) $": "gpt-3.5-turbo-instruct",
176
- "GPT-4 32k (OpenAI) $$$": "gpt-4-32k",
177
- "GPT-4o mini 2024-07-18 (OpenAI) $": "gpt-4o-mini-2024-07-18",
178
- "GPT-4 Vision Preview (OpenAI) $$$": "gpt-4-vision-preview",
179
- "GPT-3.5 Turbo 1106 (OpenAI) $": "gpt-3.5-turbo-1106",
180
- "GPT-4 0613 (OpenAI) $$$": "gpt-4-0613",
181
- "GPT-4o 2024-08-08 (OpenAI) $$$": "gpt-4o-2024-08-08"
182
- }
183
- },
184
- "xai": {
185
- "default": "grok-1.5-flash",
186
- "models": {
187
- "Grok 1.5 Flash (xAI) $": "grok-1.5-flash",
188
- "Grok 3 (xAI) $$": "grok-3"
189
- }
190
  }
191
  }
192
 
 
42
  "default": "llama3-8b-8192",
43
  "models": {
44
  "Llama 3 8B (Groq)": "llama3-8b-8192",
45
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
  }
48