carbonnnnn
commited on
Commit
•
54d8c8e
1
Parent(s):
b7fabea
update main data df, minor changes in combined json
Browse files- app.py +63 -8
- requirements.txt +1 -1
- src/combined_data.json +219 -173
- src/main_df.csv +24 -24
- src/process_data.py +86 -17
- src/v1.6.5_ascii_latency.csv +19 -0
- src/v1.6.5_multimodal_latency.csv +20 -0
- src/v1.6_latency.csv +69 -0
app.py
CHANGED
@@ -1,19 +1,74 @@
|
|
1 |
import pandas as pd
|
2 |
import gradio as gr
|
3 |
import os
|
|
|
4 |
|
5 |
text_leaderboard = pd.read_csv(os.path.join('src', 'main_df.csv'))
|
|
|
|
|
|
|
6 |
llm_calc_app = gr.Blocks()
|
7 |
with llm_calc_app:
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
llm_calc_app.queue()
|
19 |
llm_calc_app.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import pandas as pd
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
+
from gradio_rangeslider import RangeSlider
|
5 |
|
6 |
text_leaderboard = pd.read_csv(os.path.join('src', 'main_df.csv'))
|
7 |
+
text = "## The range is: {min} to {max}"
|
8 |
+
|
9 |
+
|
10 |
llm_calc_app = gr.Blocks()
|
11 |
with llm_calc_app:
|
12 |
|
13 |
+
with gr.Row():
|
14 |
+
"""
|
15 |
+
Main Filters Row
|
16 |
+
"""
|
17 |
+
|
18 |
+
range_slider = RangeSlider(minimum=0, maximum=100, value=(0, 100))
|
19 |
+
range_ = gr.Markdown(value=text.format(min=0, max=100))
|
20 |
+
range_slider.change(lambda s: text.format(min=s[0], max=s[1]), range_slider, range_,
|
21 |
+
show_progress="hide", trigger_mode="always_last")
|
22 |
+
|
23 |
+
|
24 |
|
25 |
+
with gr.Row():
|
26 |
+
"""
|
27 |
+
Main Leaderboard Row
|
28 |
+
"""
|
29 |
+
|
30 |
+
leaderboard_table = gr.Dataframe(
|
31 |
+
value=text_leaderboard,
|
32 |
+
elem_id="text-leaderboard-table",
|
33 |
+
interactive=False,
|
34 |
+
visible=True,
|
35 |
+
height=800
|
36 |
+
)
|
37 |
+
|
38 |
+
|
39 |
+
llm_calc_app.load()
|
40 |
llm_calc_app.queue()
|
41 |
llm_calc_app.launch()
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
"""
|
46 |
+
model_name, input_price, output_price,
|
47 |
+
multimodality_image,multimodality_multiple_image,multimodality_audio,multimodality_video,
|
48 |
+
source,licence_name,licence_url,languages,release_date,
|
49 |
+
parameters_estimated,parameters_actual,
|
50 |
+
|
51 |
+
open_weight,context,
|
52 |
+
|
53 |
+
additional_prices_context_caching,
|
54 |
+
additional_prices_context_storage,
|
55 |
+
additional_prices_image_input,additional_prices_image_output,additional_prices_video_input,additional_prices_video_output,additional_prices_audio_input,additional_prices_audio_output,clemscore_v1.6.5_multimodal,clemscore_v1.6.5_ascii,clemscore_v1.6,latency_v1.6,latency_v1.6.5_multimodal,latency_v1.6.5_ascii,
|
56 |
+
|
57 |
+
average_clemscore,average_latency,parameters
|
58 |
+
|
59 |
+
Final list
|
60 |
+
|
61 |
+
model_name, input_price, output_price,
|
62 |
+
multimodality_image,multimodality_multiple_image,multimodality_audio,multimodality_video,
|
63 |
+
source,licence_name,licence_url,languages,release_date, open_weight,context, average_clemscore,average_latency,parameters
|
64 |
+
|
65 |
+
|
66 |
+
Filter
|
67 |
+
multimodality_image,multimodality_multiple_image,multimodality_audio,multimodality_video,
|
68 |
+
licence_name+licence_url, languages, release_date, open_weight
|
69 |
+
|
70 |
+
RR
|
71 |
+
model_name, input_price, output_price,
|
72 |
+
source, release_date
|
73 |
+
|
74 |
+
"""
|
requirements.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
beautifulsoup4==4.12.3
|
2 |
pandas==2.2.3
|
3 |
-
|
|
|
1 |
beautifulsoup4==4.12.3
|
2 |
pandas==2.2.3
|
3 |
+
gradio_rangeslider==0.0.7
|
src/combined_data.json
CHANGED
@@ -1,281 +1,305 @@
|
|
1 |
[
|
2 |
{
|
3 |
"model_name": "Meta-Llama-3-70B-Instruct-hf",
|
4 |
-
"
|
5 |
-
|
|
|
|
|
|
|
6 |
"multimodality": {
|
7 |
"image": false,
|
8 |
"multiple_image": false,
|
9 |
"audio": false,
|
10 |
"video": false
|
11 |
},
|
12 |
-
"
|
13 |
-
"licence": {
|
14 |
"name": "Meta Llama 3 License",
|
15 |
"url": "https://www.llama.com/llama3/license/"
|
16 |
},
|
17 |
-
"languages": ["
|
18 |
"release_date": "2024-04-18",
|
19 |
"parameters":{
|
20 |
"estimated": false,
|
21 |
-
"
|
22 |
},
|
23 |
"open_weight": true,
|
24 |
-
"
|
25 |
},
|
26 |
{
|
27 |
"model_name": "Meta-Llama-3-8B-Instruct-hf",
|
28 |
-
"
|
29 |
-
|
|
|
|
|
|
|
30 |
"multimodality": {
|
31 |
"image": false,
|
32 |
"multiple_image": false,
|
33 |
"audio": false,
|
34 |
"video": false
|
35 |
},
|
36 |
-
"
|
37 |
-
"licence": {
|
38 |
"name": "Meta Llama 3 License",
|
39 |
"url": "https://www.llama.com/llama3/license/"
|
40 |
},
|
41 |
-
"languages": ["
|
42 |
"release_date": "2024-04-18",
|
43 |
"parameters":{
|
44 |
"estimated": false,
|
45 |
-
"
|
46 |
},
|
47 |
"open_weight": true,
|
48 |
-
"
|
49 |
},
|
50 |
{
|
51 |
"model_name": "Meta-Llama-3.1-405B-Instruct-Turbo",
|
52 |
-
"
|
53 |
-
|
|
|
|
|
|
|
54 |
"multimodality": {
|
55 |
"image": false,
|
56 |
"multiple_image": false,
|
57 |
"audio": false,
|
58 |
"video": false
|
59 |
},
|
60 |
-
"
|
61 |
-
"licence": {
|
62 |
"name": "Llama 3.1 Community License",
|
63 |
"url": "https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE"
|
64 |
},
|
65 |
-
"languages": ["
|
66 |
"release_date": "2024-07-23",
|
67 |
"parameters":{
|
68 |
"estimated": false,
|
69 |
-
"
|
70 |
},
|
71 |
"open_weight": true,
|
72 |
-
"
|
73 |
},
|
74 |
{
|
75 |
"model_name": "Meta-Llama-3.1-70B-Instruct",
|
76 |
-
"
|
77 |
-
|
|
|
|
|
|
|
78 |
"multimodality": {
|
79 |
"image": false,
|
80 |
"multiple_image": false,
|
81 |
"audio": false,
|
82 |
"video": false
|
83 |
},
|
84 |
-
"
|
85 |
-
"licence": {
|
86 |
"name": "Llama 3.1 Community License",
|
87 |
"url": "https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE"
|
88 |
},
|
89 |
-
"languages": ["
|
90 |
"release_date": "2024-07-23",
|
91 |
"parameters": {
|
92 |
"estimated": false,
|
93 |
-
"
|
94 |
},
|
95 |
"open_weight": true,
|
96 |
-
"
|
97 |
},
|
98 |
{
|
99 |
"model_name": "Meta-Llama-3.1-8B-Instruct",
|
100 |
-
"
|
101 |
-
|
|
|
|
|
|
|
102 |
"multimodality": {
|
103 |
"image": false,
|
104 |
"multiple_image": false,
|
105 |
"audio": false,
|
106 |
"video": false
|
107 |
},
|
108 |
-
"
|
109 |
-
"licence": {
|
110 |
"name": "Llama 3.1 Community License",
|
111 |
"url": "https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE"
|
112 |
},
|
113 |
-
"languages": ["
|
114 |
"release_date": "2024-07-23",
|
115 |
"parameters": {
|
116 |
"estimated": false,
|
117 |
-
"
|
118 |
},
|
119 |
"open_weight": true,
|
120 |
-
"
|
121 |
},
|
122 |
{
|
123 |
"model_name": "InternVL2-40B",
|
124 |
-
"
|
125 |
-
|
|
|
|
|
|
|
126 |
"multimodality": {
|
127 |
"image": true,
|
128 |
"multiple_image": true,
|
129 |
"audio": false,
|
130 |
"video": false
|
131 |
},
|
132 |
-
"
|
133 |
-
"licence": {
|
134 |
"name": "MIT",
|
135 |
"url": "https://choosealicense.com/licenses/mit/"
|
136 |
},
|
137 |
-
"languages": ["
|
138 |
"release_date": "2024-07-15",
|
139 |
"parameters": {
|
140 |
"estimated": false,
|
141 |
-
"
|
142 |
},
|
143 |
"open_weight": true,
|
144 |
-
"
|
145 |
},
|
146 |
{
|
147 |
"model_name": "InternVL2-8B",
|
148 |
-
"
|
149 |
-
|
|
|
|
|
|
|
150 |
"multimodality": {
|
151 |
"image": true,
|
152 |
"multiple_image": true,
|
153 |
"audio": false,
|
154 |
"video": false
|
155 |
},
|
156 |
-
"
|
157 |
-
"licence": {
|
158 |
"name": "MIT",
|
159 |
"url": "https://choosealicense.com/licenses/mit/"
|
160 |
},
|
161 |
-
"languages": ["
|
162 |
"release_date": "2024-07-15",
|
163 |
"parameters": {
|
164 |
"estimated": false,
|
165 |
-
"
|
166 |
},
|
167 |
"open_weight": true,
|
168 |
-
"
|
169 |
},
|
170 |
{
|
171 |
"model_name": "InternVL2-Llama3-76B",
|
172 |
-
"
|
173 |
-
|
|
|
|
|
|
|
174 |
"multimodality": {
|
175 |
"image": true,
|
176 |
"multiple_image": true,
|
177 |
"audio": false,
|
178 |
"video": false
|
179 |
},
|
180 |
-
"
|
181 |
-
"licence": {
|
182 |
"name": "MIT",
|
183 |
"url": "https://choosealicense.com/licenses/mit/"
|
184 |
},
|
185 |
-
"languages": ["
|
186 |
"release_date": "2024-07-15",
|
187 |
"parameters": {
|
188 |
"estimated": false,
|
189 |
-
"
|
190 |
},
|
191 |
"open_weight": true,
|
192 |
-
"
|
193 |
},
|
194 |
{
|
195 |
"model_name": "InternVL2-26B",
|
196 |
-
"
|
197 |
-
|
|
|
|
|
|
|
198 |
"multimodality": {
|
199 |
"image": true,
|
200 |
"multiple_image": true,
|
201 |
"audio": false,
|
202 |
"video": false
|
203 |
},
|
204 |
-
"
|
205 |
-
"licence": {
|
206 |
"name": "MIT",
|
207 |
"url": "https://choosealicense.com/licenses/mit/"
|
208 |
},
|
209 |
-
"languages": ["
|
210 |
"release_date": "2024-07-15",
|
211 |
"parameters": {
|
212 |
"estimated": false,
|
213 |
-
"
|
214 |
},
|
215 |
"open_weight": true,
|
216 |
-
"
|
217 |
},
|
218 |
|
219 |
{
|
220 |
"model_name": "InternVL2-26B",
|
221 |
-
"
|
222 |
-
|
|
|
|
|
|
|
223 |
"multimodality": {
|
224 |
"image": true,
|
225 |
"multiple_image": true,
|
226 |
"audio": false,
|
227 |
"video": false
|
228 |
},
|
229 |
-
"
|
230 |
-
"licence": {
|
231 |
"name": "MIT",
|
232 |
"url": "https://choosealicense.com/licenses/mit/"
|
233 |
},
|
234 |
-
"languages": ["
|
235 |
"release_date": "2024-07-15",
|
236 |
"parameters": {
|
237 |
"estimated": false,
|
238 |
-
"
|
239 |
},
|
240 |
"open_weight": true,
|
241 |
-
"
|
242 |
},
|
243 |
{
|
244 |
"model_name": "Mistral-Large-Instruct-2407",
|
245 |
-
"
|
246 |
-
|
|
|
|
|
|
|
247 |
"multimodality": {
|
248 |
"image": false,
|
249 |
"multiple_image": false,
|
250 |
"audio": false,
|
251 |
"video": false
|
252 |
},
|
253 |
-
"
|
254 |
-
"licence": {
|
255 |
"name": "Apache 2.0",
|
256 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
257 |
},
|
258 |
-
"languages": ["
|
259 |
"release_date": "2024-06-12",
|
260 |
"parameters": {
|
261 |
"estimated": false,
|
262 |
-
"
|
263 |
},
|
264 |
"open_weight": true,
|
265 |
-
"
|
266 |
},
|
267 |
{
|
268 |
"model_name": "Mixtral-8x22B-Instruct-v0.1",
|
269 |
-
"
|
270 |
-
|
|
|
|
|
|
|
271 |
"multimodality": {
|
272 |
"image": false,
|
273 |
"multiple_image": false,
|
274 |
"audio": false,
|
275 |
"video": false
|
276 |
},
|
277 |
-
"
|
278 |
-
"licence": {
|
279 |
"name": "Apache 2.0",
|
280 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
281 |
},
|
@@ -283,283 +307,305 @@
|
|
283 |
"release_date": "2024-04-17",
|
284 |
"parameters": {
|
285 |
"estimated": false,
|
286 |
-
"
|
287 |
},
|
288 |
"open_weight": true,
|
289 |
-
"
|
290 |
},
|
291 |
{
|
292 |
"model_name": "Mistral-7B-Instruct-v0.2",
|
293 |
-
"
|
294 |
-
|
|
|
|
|
|
|
295 |
"multimodality": {
|
296 |
"image": false,
|
297 |
"multiple_image": false,
|
298 |
"audio": false,
|
299 |
"video": false
|
300 |
},
|
301 |
-
"
|
302 |
-
"licence": {
|
303 |
"name": "Apache 2.0",
|
304 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
305 |
},
|
306 |
-
"languages": ["
|
307 |
"release_date": "2024-01-15",
|
308 |
"parameters": {
|
309 |
"estimated": false,
|
310 |
-
"
|
311 |
},
|
312 |
"open_weight": true,
|
313 |
-
"
|
314 |
},
|
315 |
{
|
316 |
"model_name": "Mistral-7B-Instruct-v0.1",
|
317 |
-
"
|
318 |
-
|
|
|
|
|
|
|
319 |
"multimodality": {
|
320 |
"image": false,
|
321 |
"multiple_image": false,
|
322 |
"audio": false,
|
323 |
"video": false
|
324 |
},
|
325 |
-
"
|
326 |
-
"licence": {
|
327 |
"name": "Apache 2.0",
|
328 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
329 |
},
|
330 |
-
"languages": ["
|
331 |
"release_date": "2023-12-11",
|
332 |
"parameters": {
|
333 |
"estimated": false,
|
334 |
-
"
|
335 |
},
|
336 |
"open_weight": true,
|
337 |
-
"
|
338 |
},
|
339 |
{
|
340 |
"model_name": "Mixtral-8x7B-Instruct-v0.1",
|
341 |
-
"
|
342 |
-
|
|
|
|
|
|
|
343 |
"multimodality": {
|
344 |
"image": false,
|
345 |
"multiple_image": false,
|
346 |
"audio": false,
|
347 |
"video": false
|
348 |
},
|
349 |
-
"
|
350 |
-
"licence": {
|
351 |
"name": "Apache 2.0",
|
352 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
353 |
},
|
354 |
-
"languages": ["
|
355 |
"release_date": "2023-12-11",
|
356 |
"parameters": {
|
357 |
"estimated": false,
|
358 |
-
"
|
359 |
},
|
360 |
"open_weight": true,
|
361 |
-
"
|
362 |
},
|
363 |
{
|
364 |
"model_name": "openchat-3.5-0106",
|
365 |
-
"
|
366 |
-
|
|
|
|
|
|
|
367 |
"multimodality": {
|
368 |
"image": false,
|
369 |
"multiple_image": false,
|
370 |
"audio": false,
|
371 |
"video": false
|
372 |
},
|
373 |
-
"
|
374 |
-
"licence": {
|
375 |
"name": "Apache 2.0",
|
376 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
377 |
},
|
378 |
-
"languages": ["
|
379 |
"release_date": "2024-01-06",
|
380 |
"parameters": {
|
381 |
"estimated": false,
|
382 |
-
"
|
383 |
},
|
384 |
"open_weight": true,
|
385 |
-
"
|
386 |
},
|
387 |
{
|
388 |
"model_name": "openchat-3.5-1210",
|
389 |
-
"
|
390 |
-
|
|
|
|
|
|
|
391 |
"multimodality": {
|
392 |
"image": false,
|
393 |
"multiple_image": false,
|
394 |
"audio": false,
|
395 |
"video": false
|
396 |
},
|
397 |
-
"
|
398 |
-
"licence": {
|
399 |
"name": "Apache 2.0",
|
400 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
401 |
},
|
402 |
-
"languages": ["
|
403 |
"release_date": "2023-12-10",
|
404 |
"parameters": {
|
405 |
"estimated": false,
|
406 |
-
"
|
407 |
},
|
408 |
"open_weight": true,
|
409 |
-
"
|
410 |
},
|
411 |
{
|
412 |
"model_name": "openchat_3.5",
|
413 |
-
"
|
414 |
-
|
|
|
|
|
|
|
415 |
"multimodality": {
|
416 |
"image": false,
|
417 |
"multiple_image": false,
|
418 |
"audio": false,
|
419 |
"video": false
|
420 |
},
|
421 |
-
"
|
422 |
-
"licence": {
|
423 |
"name": "Apache 2.0",
|
424 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
425 |
},
|
426 |
-
"languages": ["
|
427 |
"release_date": "2023-10-30",
|
428 |
"parameters": {
|
429 |
"estimated": false,
|
430 |
-
"
|
431 |
},
|
432 |
"open_weight": true,
|
433 |
-
"
|
434 |
},
|
435 |
{
|
436 |
"model_name": "gpt-4o-mini-2024-07-18",
|
437 |
-
"
|
438 |
-
|
|
|
|
|
|
|
439 |
"multimodality": {
|
440 |
"image": true,
|
441 |
"multiple_image": true,
|
442 |
"audio": false,
|
443 |
"video": false
|
444 |
},
|
445 |
-
"
|
446 |
-
"licence": {
|
447 |
"name": "Commercial License",
|
448 |
"url": "https://openai.com/policies/terms-of-use"
|
449 |
},
|
450 |
-
"languages": ["
|
451 |
"release_date": "2024-07-18",
|
452 |
"parameters": {
|
453 |
"estimated": true,
|
454 |
-
"
|
455 |
},
|
456 |
"open_weight": false,
|
457 |
-
"
|
458 |
},
|
459 |
{
|
460 |
"model_name": "gpt-4o-2024-08-06",
|
461 |
-
"
|
462 |
-
|
|
|
|
|
|
|
463 |
"multimodality": {
|
464 |
"image": true,
|
465 |
"multiple_image": true,
|
466 |
"audio": false,
|
467 |
"video": false
|
468 |
},
|
469 |
-
"
|
470 |
-
"licence": {
|
471 |
"name": "Commercial License",
|
472 |
"url": "https://openai.com/policies/terms-of-use"
|
473 |
},
|
474 |
-
"languages": ["
|
475 |
"release_date": "2024-08-06",
|
476 |
"parameters": {
|
477 |
"estimated": true,
|
478 |
-
"
|
479 |
},
|
480 |
"open_weight": false,
|
481 |
-
"
|
482 |
},
|
483 |
{
|
484 |
"model_name": "gpt-4o-2024-05-13",
|
485 |
-
"
|
486 |
-
|
|
|
|
|
|
|
487 |
"multimodality": {
|
488 |
"image": true,
|
489 |
"multiple_image": true,
|
490 |
"audio": false,
|
491 |
"video": false
|
492 |
},
|
493 |
-
"
|
494 |
-
"licence": {
|
495 |
"name": "Commercial License",
|
496 |
"url": "https://openai.com/policies/terms-of-use"
|
497 |
},
|
498 |
-
"languages": ["
|
499 |
"release_date": "2024-05-13",
|
500 |
"parameters": {
|
501 |
"estimated": true,
|
502 |
-
"
|
503 |
},
|
504 |
"open_weight": false,
|
505 |
-
"
|
506 |
},
|
507 |
{
|
508 |
"model_name": "gpt-4-1106-vision-preview",
|
509 |
-
"
|
510 |
-
|
|
|
|
|
|
|
511 |
"multimodality": {
|
512 |
"image": true,
|
513 |
"multiple_image": true,
|
514 |
"audio": false,
|
515 |
"video": false
|
516 |
},
|
517 |
-
"
|
518 |
-
"licence": {
|
519 |
"name": "Commercial License",
|
520 |
"url": "https://openai.com/policies/terms-of-use"
|
521 |
},
|
522 |
-
"languages": ["
|
523 |
"release_date": "2023-11-06",
|
524 |
"parameters": {
|
525 |
-
"estimated":
|
526 |
-
"
|
527 |
},
|
528 |
"open_weight": false,
|
529 |
-
"
|
530 |
},
|
531 |
{
|
532 |
"model_name": "gemini-1.5-flash-latest",
|
533 |
-
"
|
534 |
-
|
535 |
-
|
536 |
-
"
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
|
|
|
|
|
|
545 |
"multimodality": {
|
546 |
"image": true,
|
547 |
"multiple_image": true,
|
548 |
"audio": true,
|
549 |
"video": true
|
550 |
-
},
|
551 |
-
"
|
552 |
-
"licence": {
|
553 |
"name": "Commercial License",
|
554 |
"url": ""
|
555 |
},
|
556 |
-
"languages": ["
|
557 |
"release_date": "2024-05-24",
|
558 |
"parameters": {
|
559 |
-
"estimated":
|
560 |
-
"
|
561 |
},
|
562 |
"open_weight": false,
|
563 |
-
"
|
564 |
}
|
565 |
]
|
|
|
1 |
[
|
2 |
{
|
3 |
"model_name": "Meta-Llama-3-70B-Instruct-hf",
|
4 |
+
"pricing": {
|
5 |
+
"input_price": "0$",
|
6 |
+
"output_price": "0$",
|
7 |
+
"source": "https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct"
|
8 |
+
},
|
9 |
"multimodality": {
|
10 |
"image": false,
|
11 |
"multiple_image": false,
|
12 |
"audio": false,
|
13 |
"video": false
|
14 |
},
|
15 |
+
"license": {
|
|
|
16 |
"name": "Meta Llama 3 License",
|
17 |
"url": "https://www.llama.com/llama3/license/"
|
18 |
},
|
19 |
+
"languages": ["en"],
|
20 |
"release_date": "2024-04-18",
|
21 |
"parameters":{
|
22 |
"estimated": false,
|
23 |
+
"size": "70B"
|
24 |
},
|
25 |
"open_weight": true,
|
26 |
+
"context_size": "8k"
|
27 |
},
|
28 |
{
|
29 |
"model_name": "Meta-Llama-3-8B-Instruct-hf",
|
30 |
+
"pricing": {
|
31 |
+
"input_price": "0$",
|
32 |
+
"output_price": "0$",
|
33 |
+
"source": "https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct"
|
34 |
+
},
|
35 |
"multimodality": {
|
36 |
"image": false,
|
37 |
"multiple_image": false,
|
38 |
"audio": false,
|
39 |
"video": false
|
40 |
},
|
41 |
+
"license": {
|
|
|
42 |
"name": "Meta Llama 3 License",
|
43 |
"url": "https://www.llama.com/llama3/license/"
|
44 |
},
|
45 |
+
"languages": ["en"],
|
46 |
"release_date": "2024-04-18",
|
47 |
"parameters":{
|
48 |
"estimated": false,
|
49 |
+
"size": "8B"
|
50 |
},
|
51 |
"open_weight": true,
|
52 |
+
"context_size": "8k"
|
53 |
},
|
54 |
{
|
55 |
"model_name": "Meta-Llama-3.1-405B-Instruct-Turbo",
|
56 |
+
"pricing": {
|
57 |
+
"input_price": "0$",
|
58 |
+
"output_price": "0$",
|
59 |
+
"source": "https://huggingface.co/meta-llama/Llama-3.1-405B-Instruct"
|
60 |
+
},
|
61 |
"multimodality": {
|
62 |
"image": false,
|
63 |
"multiple_image": false,
|
64 |
"audio": false,
|
65 |
"video": false
|
66 |
},
|
67 |
+
"license": {
|
|
|
68 |
"name": "Llama 3.1 Community License",
|
69 |
"url": "https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE"
|
70 |
},
|
71 |
+
"languages": ["en", "de", "fr", "it", "hi", "pt", "es", "th"],
|
72 |
"release_date": "2024-07-23",
|
73 |
"parameters":{
|
74 |
"estimated": false,
|
75 |
+
"size": "405B"
|
76 |
},
|
77 |
"open_weight": true,
|
78 |
+
"context_size": "128k"
|
79 |
},
|
80 |
{
|
81 |
"model_name": "Meta-Llama-3.1-70B-Instruct",
|
82 |
+
"pricing": {
|
83 |
+
"input_price": "0$",
|
84 |
+
"output_price": "0$",
|
85 |
+
"source": "https://huggingface.co/meta-llama/Llama-3.1-70B-Instruct"
|
86 |
+
},
|
87 |
"multimodality": {
|
88 |
"image": false,
|
89 |
"multiple_image": false,
|
90 |
"audio": false,
|
91 |
"video": false
|
92 |
},
|
93 |
+
"license": {
|
|
|
94 |
"name": "Llama 3.1 Community License",
|
95 |
"url": "https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE"
|
96 |
},
|
97 |
+
"languages": ["en", "de", "fr", "it", "hi", "pt", "es", "th"],
|
98 |
"release_date": "2024-07-23",
|
99 |
"parameters": {
|
100 |
"estimated": false,
|
101 |
+
"size": "70B"
|
102 |
},
|
103 |
"open_weight": true,
|
104 |
+
"context_size": "128k"
|
105 |
},
|
106 |
{
|
107 |
"model_name": "Meta-Llama-3.1-8B-Instruct",
|
108 |
+
"pricing": {
|
109 |
+
"input_price": "0$",
|
110 |
+
"output_price": "0$",
|
111 |
+
"source": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct"
|
112 |
+
},
|
113 |
"multimodality": {
|
114 |
"image": false,
|
115 |
"multiple_image": false,
|
116 |
"audio": false,
|
117 |
"video": false
|
118 |
},
|
119 |
+
"license": {
|
|
|
120 |
"name": "Llama 3.1 Community License",
|
121 |
"url": "https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE"
|
122 |
},
|
123 |
+
"languages": ["en", "de", "fr", "it", "hi", "pt", "es", "th"],
|
124 |
"release_date": "2024-07-23",
|
125 |
"parameters": {
|
126 |
"estimated": false,
|
127 |
+
"size": "8B"
|
128 |
},
|
129 |
"open_weight": true,
|
130 |
+
"context_size": "128k"
|
131 |
},
|
132 |
{
|
133 |
"model_name": "InternVL2-40B",
|
134 |
+
"pricing": {
|
135 |
+
"input_price": "0$",
|
136 |
+
"output_price": "0$",
|
137 |
+
"source": "https://huggingface.co/OpenGVLab/InternVL2-40B"
|
138 |
+
},
|
139 |
"multimodality": {
|
140 |
"image": true,
|
141 |
"multiple_image": true,
|
142 |
"audio": false,
|
143 |
"video": false
|
144 |
},
|
145 |
+
"license": {
|
|
|
146 |
"name": "MIT",
|
147 |
"url": "https://choosealicense.com/licenses/mit/"
|
148 |
},
|
149 |
+
"languages": ["zh", "en", "fr", "es", "pt", "de", "it", "ru", "ja", "ko", "vi", "th", "ar"],
|
150 |
"release_date": "2024-07-15",
|
151 |
"parameters": {
|
152 |
"estimated": false,
|
153 |
+
"size": "40B"
|
154 |
},
|
155 |
"open_weight": true,
|
156 |
+
"context_size": "8k"
|
157 |
},
|
158 |
{
|
159 |
"model_name": "InternVL2-8B",
|
160 |
+
"pricing": {
|
161 |
+
"input_price": "0$",
|
162 |
+
"output_price": "0$",
|
163 |
+
"source": "https://huggingface.co/OpenGVLab/InternVL2-8B"
|
164 |
+
},
|
165 |
"multimodality": {
|
166 |
"image": true,
|
167 |
"multiple_image": true,
|
168 |
"audio": false,
|
169 |
"video": false
|
170 |
},
|
171 |
+
"license": {
|
|
|
172 |
"name": "MIT",
|
173 |
"url": "https://choosealicense.com/licenses/mit/"
|
174 |
},
|
175 |
+
"languages": ["zh", "en", "fr", "es", "pt", "de", "it", "ru", "ja", "ko", "vi", "th", "ar"],
|
176 |
"release_date": "2024-07-15",
|
177 |
"parameters": {
|
178 |
"estimated": false,
|
179 |
+
"size": "8B"
|
180 |
},
|
181 |
"open_weight": true,
|
182 |
+
"context_size": "8k"
|
183 |
},
|
184 |
{
|
185 |
"model_name": "InternVL2-Llama3-76B",
|
186 |
+
"pricing": {
|
187 |
+
"input_price": "0$",
|
188 |
+
"output_price": "0$",
|
189 |
+
"source": "https://huggingface.co/OpenGVLab/InternVL2-Llama3-76B"
|
190 |
+
},
|
191 |
"multimodality": {
|
192 |
"image": true,
|
193 |
"multiple_image": true,
|
194 |
"audio": false,
|
195 |
"video": false
|
196 |
},
|
197 |
+
"license": {
|
|
|
198 |
"name": "MIT",
|
199 |
"url": "https://choosealicense.com/licenses/mit/"
|
200 |
},
|
201 |
+
"languages": ["zh", "en", "fr", "es", "pt", "de", "it", "ru", "ja", "ko", "vi", "th", "ar"],
|
202 |
"release_date": "2024-07-15",
|
203 |
"parameters": {
|
204 |
"estimated": false,
|
205 |
+
"size": "76B"
|
206 |
},
|
207 |
"open_weight": true,
|
208 |
+
"context_size": "8k"
|
209 |
},
|
210 |
{
|
211 |
"model_name": "InternVL2-26B",
|
212 |
+
"pricing": {
|
213 |
+
"input_price": "0$",
|
214 |
+
"output_price": "0$",
|
215 |
+
"source": "https://huggingface.co/OpenGVLab/InternVL2-26B"
|
216 |
+
},
|
217 |
"multimodality": {
|
218 |
"image": true,
|
219 |
"multiple_image": true,
|
220 |
"audio": false,
|
221 |
"video": false
|
222 |
},
|
223 |
+
"license": {
|
|
|
224 |
"name": "MIT",
|
225 |
"url": "https://choosealicense.com/licenses/mit/"
|
226 |
},
|
227 |
+
"languages": ["zh", "en", "fr", "es", "pt", "de", "it", "ru", "ja", "ko", "vi", "th", "ar"],
|
228 |
"release_date": "2024-07-15",
|
229 |
"parameters": {
|
230 |
"estimated": false,
|
231 |
+
"size": "26B"
|
232 |
},
|
233 |
"open_weight": true,
|
234 |
+
"context_size": "8k"
|
235 |
},
|
236 |
|
237 |
{
|
238 |
"model_name": "InternVL2-26B",
|
239 |
+
"pricing": {
|
240 |
+
"input_price": "0$",
|
241 |
+
"output_price": "0$",
|
242 |
+
"source": "https://huggingface.co/OpenGVLab/InternVL2-26B"
|
243 |
+
},
|
244 |
"multimodality": {
|
245 |
"image": true,
|
246 |
"multiple_image": true,
|
247 |
"audio": false,
|
248 |
"video": false
|
249 |
},
|
250 |
+
"license": {
|
|
|
251 |
"name": "MIT",
|
252 |
"url": "https://choosealicense.com/licenses/mit/"
|
253 |
},
|
254 |
+
"languages": ["zh", "en", "fr", "es", "pt", "de", "it", "ru", "ja", "ko", "vi", "th", "ar"],
|
255 |
"release_date": "2024-07-15",
|
256 |
"parameters": {
|
257 |
"estimated": false,
|
258 |
+
"size": "26B"
|
259 |
},
|
260 |
"open_weight": true,
|
261 |
+
"context_size": "8k"
|
262 |
},
|
263 |
{
|
264 |
"model_name": "Mistral-Large-Instruct-2407",
|
265 |
+
"pricing": {
|
266 |
+
"input_price": "0$",
|
267 |
+
"output_price": "0$",
|
268 |
+
"source": "https://huggingface.co/mistralai/Mistral-Large-Instruct-2407"
|
269 |
+
},
|
270 |
"multimodality": {
|
271 |
"image": false,
|
272 |
"multiple_image": false,
|
273 |
"audio": false,
|
274 |
"video": false
|
275 |
},
|
276 |
+
"license": {
|
|
|
277 |
"name": "Apache 2.0",
|
278 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
279 |
},
|
280 |
+
"languages": ["en", "fr", "es", "de", "it", "ru", "zh", "ja", "ko"],
|
281 |
"release_date": "2024-06-12",
|
282 |
"parameters": {
|
283 |
"estimated": false,
|
284 |
+
"size": "70B"
|
285 |
},
|
286 |
"open_weight": true,
|
287 |
+
"context_size": "8k"
|
288 |
},
|
289 |
{
|
290 |
"model_name": "Mixtral-8x22B-Instruct-v0.1",
|
291 |
+
"pricing": {
|
292 |
+
"input_price": "0$",
|
293 |
+
"output_price": "0$",
|
294 |
+
"source": "https://huggingface.co/mistralai/Mixtral-8x22B-Instruct-v0.1"
|
295 |
+
},
|
296 |
"multimodality": {
|
297 |
"image": false,
|
298 |
"multiple_image": false,
|
299 |
"audio": false,
|
300 |
"video": false
|
301 |
},
|
302 |
+
"license": {
|
|
|
303 |
"name": "Apache 2.0",
|
304 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
305 |
},
|
|
|
307 |
"release_date": "2024-04-17",
|
308 |
"parameters": {
|
309 |
"estimated": false,
|
310 |
+
"size": "141B"
|
311 |
},
|
312 |
"open_weight": true,
|
313 |
+
"context_size": "8k"
|
314 |
},
|
315 |
{
|
316 |
"model_name": "Mistral-7B-Instruct-v0.2",
|
317 |
+
"pricing": {
|
318 |
+
"input_price": "0$",
|
319 |
+
"output_price": "0$",
|
320 |
+
"source": "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2"
|
321 |
+
},
|
322 |
"multimodality": {
|
323 |
"image": false,
|
324 |
"multiple_image": false,
|
325 |
"audio": false,
|
326 |
"video": false
|
327 |
},
|
328 |
+
"license": {
|
|
|
329 |
"name": "Apache 2.0",
|
330 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
331 |
},
|
332 |
+
"languages": ["en", "fr", "es", "de", "it", "ru", "zh"],
|
333 |
"release_date": "2024-01-15",
|
334 |
"parameters": {
|
335 |
"estimated": false,
|
336 |
+
"size": "7B"
|
337 |
},
|
338 |
"open_weight": true,
|
339 |
+
"context_size": "8k"
|
340 |
},
|
341 |
{
|
342 |
"model_name": "Mistral-7B-Instruct-v0.1",
|
343 |
+
"pricing": {
|
344 |
+
"input_price": "0$",
|
345 |
+
"output_price": "0$",
|
346 |
+
"source": "https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1"
|
347 |
+
},
|
348 |
"multimodality": {
|
349 |
"image": false,
|
350 |
"multiple_image": false,
|
351 |
"audio": false,
|
352 |
"video": false
|
353 |
},
|
354 |
+
"license": {
|
|
|
355 |
"name": "Apache 2.0",
|
356 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
357 |
},
|
358 |
+
"languages": ["en", "fr", "es", "de", "it", "ru", "zh"],
|
359 |
"release_date": "2023-12-11",
|
360 |
"parameters": {
|
361 |
"estimated": false,
|
362 |
+
"size": "7B"
|
363 |
},
|
364 |
"open_weight": true,
|
365 |
+
"context_size": "8k"
|
366 |
},
|
367 |
{
|
368 |
"model_name": "Mixtral-8x7B-Instruct-v0.1",
|
369 |
+
"pricing": {
|
370 |
+
"input_price": "0$",
|
371 |
+
"output_price": "0$",
|
372 |
+
"source": "https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1"
|
373 |
+
},
|
374 |
"multimodality": {
|
375 |
"image": false,
|
376 |
"multiple_image": false,
|
377 |
"audio": false,
|
378 |
"video": false
|
379 |
},
|
380 |
+
"license": {
|
|
|
381 |
"name": "Apache 2.0",
|
382 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
383 |
},
|
384 |
+
"languages": ["en", "fr", "es", "de", "it", "ru"],
|
385 |
"release_date": "2023-12-11",
|
386 |
"parameters": {
|
387 |
"estimated": false,
|
388 |
+
"size": "46.7B"
|
389 |
},
|
390 |
"open_weight": true,
|
391 |
+
"context_size": "8k"
|
392 |
},
|
393 |
{
|
394 |
"model_name": "openchat-3.5-0106",
|
395 |
+
"pricing": {
|
396 |
+
"input_price": "0$",
|
397 |
+
"output_price": "0$",
|
398 |
+
"source": "https://huggingface.co/openchat/openchat-3.5-0106"
|
399 |
+
},
|
400 |
"multimodality": {
|
401 |
"image": false,
|
402 |
"multiple_image": false,
|
403 |
"audio": false,
|
404 |
"video": false
|
405 |
},
|
406 |
+
"license": {
|
|
|
407 |
"name": "Apache 2.0",
|
408 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
409 |
},
|
410 |
+
"languages": ["en"],
|
411 |
"release_date": "2024-01-06",
|
412 |
"parameters": {
|
413 |
"estimated": false,
|
414 |
+
"size": "7B"
|
415 |
},
|
416 |
"open_weight": true,
|
417 |
+
"context_size": "8k"
|
418 |
},
|
419 |
{
|
420 |
"model_name": "openchat-3.5-1210",
|
421 |
+
"pricing": {
|
422 |
+
"input_price": "0$",
|
423 |
+
"output_price": "0$",
|
424 |
+
"source": "https://huggingface.co/openchat/openchat-3.5-1210"
|
425 |
+
},
|
426 |
"multimodality": {
|
427 |
"image": false,
|
428 |
"multiple_image": false,
|
429 |
"audio": false,
|
430 |
"video": false
|
431 |
},
|
432 |
+
"license": {
|
|
|
433 |
"name": "Apache 2.0",
|
434 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
435 |
},
|
436 |
+
"languages": ["en"],
|
437 |
"release_date": "2023-12-10",
|
438 |
"parameters": {
|
439 |
"estimated": false,
|
440 |
+
"size": "7B"
|
441 |
},
|
442 |
"open_weight": true,
|
443 |
+
"context_size": "8k"
|
444 |
},
|
445 |
{
|
446 |
"model_name": "openchat_3.5",
|
447 |
+
"pricing": {
|
448 |
+
"input_price": "0$",
|
449 |
+
"output_price": "0$",
|
450 |
+
"source": "https://huggingface.co/openchat/openchat_3.5"
|
451 |
+
},
|
452 |
"multimodality": {
|
453 |
"image": false,
|
454 |
"multiple_image": false,
|
455 |
"audio": false,
|
456 |
"video": false
|
457 |
},
|
458 |
+
"license": {
|
|
|
459 |
"name": "Apache 2.0",
|
460 |
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
461 |
},
|
462 |
+
"languages": ["en"],
|
463 |
"release_date": "2023-10-30",
|
464 |
"parameters": {
|
465 |
"estimated": false,
|
466 |
+
"size": "7B"
|
467 |
},
|
468 |
"open_weight": true,
|
469 |
+
"context_size": "8k"
|
470 |
},
|
471 |
{
|
472 |
"model_name": "gpt-4o-mini-2024-07-18",
|
473 |
+
"pricing": {
|
474 |
+
"input_price": "$0.150",
|
475 |
+
"output_price": "$0.600",
|
476 |
+
"source": "https://openai.com/api/pricing/"
|
477 |
+
},
|
478 |
"multimodality": {
|
479 |
"image": true,
|
480 |
"multiple_image": true,
|
481 |
"audio": false,
|
482 |
"video": false
|
483 |
},
|
484 |
+
"license": {
|
|
|
485 |
"name": "Commercial License",
|
486 |
"url": "https://openai.com/policies/terms-of-use"
|
487 |
},
|
488 |
+
"languages": ["en", "es", "fr", "de", "zh", "ja", "ko", "it", "pt", "nl", "ru", "ar", "hi", "tr", "vi", "pl", "th", "sv", "da", "no", "fi", "hu", "cs", "sk", "ro", "bg", "uk", "lt", "lv", "et", "sl", "ms", "id", "tl", "sw", "am"],
|
489 |
"release_date": "2024-07-18",
|
490 |
"parameters": {
|
491 |
"estimated": true,
|
492 |
+
"size": "8B"
|
493 |
},
|
494 |
"open_weight": false,
|
495 |
+
"context_size": "128k"
|
496 |
},
|
497 |
{
|
498 |
"model_name": "gpt-4o-2024-08-06",
|
499 |
+
"pricing": {
|
500 |
+
"input_price": "$2.50",
|
501 |
+
"output_price": "$10.00",
|
502 |
+
"source": "https://openai.com/api/pricing/"
|
503 |
+
},
|
504 |
"multimodality": {
|
505 |
"image": true,
|
506 |
"multiple_image": true,
|
507 |
"audio": false,
|
508 |
"video": false
|
509 |
},
|
510 |
+
"license": {
|
|
|
511 |
"name": "Commercial License",
|
512 |
"url": "https://openai.com/policies/terms-of-use"
|
513 |
},
|
514 |
+
"languages": ["en", "es", "fr", "de", "zh", "ja", "ko", "it", "pt", "nl", "ru", "ar", "hi", "tr", "vi", "pl", "th", "sv", "da", "no", "fi", "hu", "cs", "sk", "ro", "bg", "uk", "lt", "lv", "et", "sl", "ms", "id", "tl", "sw", "am"],
|
515 |
"release_date": "2024-08-06",
|
516 |
"parameters": {
|
517 |
"estimated": true,
|
518 |
+
"size": "200B"
|
519 |
},
|
520 |
"open_weight": false,
|
521 |
+
"context_size": "128k"
|
522 |
},
|
523 |
{
|
524 |
"model_name": "gpt-4o-2024-05-13",
|
525 |
+
"pricing":{
|
526 |
+
"input_price": "$2.50",
|
527 |
+
"output_price": "$10.00",
|
528 |
+
"source": "https://openai.com/api/pricing/"
|
529 |
+
},
|
530 |
"multimodality": {
|
531 |
"image": true,
|
532 |
"multiple_image": true,
|
533 |
"audio": false,
|
534 |
"video": false
|
535 |
},
|
536 |
+
"license": {
|
|
|
537 |
"name": "Commercial License",
|
538 |
"url": "https://openai.com/policies/terms-of-use"
|
539 |
},
|
540 |
+
"languages": ["en", "es", "fr", "de", "zh", "ja", "ko", "it", "pt", "nl", "ru", "ar", "hi", "tr", "vi", "pl", "th", "sv", "da", "no", "fi", "hu", "cs", "sk", "ro", "bg", "uk", "lt", "lv", "et", "sl", "ms", "id", "tl", "sw", "am"],
|
541 |
"release_date": "2024-05-13",
|
542 |
"parameters": {
|
543 |
"estimated": true,
|
544 |
+
"size": "200B"
|
545 |
},
|
546 |
"open_weight": false,
|
547 |
+
"context_size": "128k"
|
548 |
},
|
549 |
{
|
550 |
"model_name": "gpt-4-1106-vision-preview",
|
551 |
+
"pricing": {
|
552 |
+
"input_price": "$10.00",
|
553 |
+
"output_price": "$30.00",
|
554 |
+
"source": "https://openai.com/api/pricing/"
|
555 |
+
},
|
556 |
"multimodality": {
|
557 |
"image": true,
|
558 |
"multiple_image": true,
|
559 |
"audio": false,
|
560 |
"video": false
|
561 |
},
|
562 |
+
"license": {
|
|
|
563 |
"name": "Commercial License",
|
564 |
"url": "https://openai.com/policies/terms-of-use"
|
565 |
},
|
566 |
+
"languages": ["en", "es", "fr", "de", "zh", "ja", "ko", "it", "pt", "nl", "ru", "ar", "hi", "tr", "vi", "pl", "th", "sv", "da", "no", "fi", "hu", "cs", "sk", "ro", "bg", "uk", "lt", "lv", "et", "sl", "ms", "id", "tl", "sw", "am"],
|
567 |
"release_date": "2023-11-06",
|
568 |
"parameters": {
|
569 |
+
"estimated": true,
|
570 |
+
"size": "1760B"
|
571 |
},
|
572 |
"open_weight": false,
|
573 |
+
"context_size": "128k"
|
574 |
},
|
575 |
{
|
576 |
"model_name": "gemini-1.5-flash-latest",
|
577 |
+
"pricing":{
|
578 |
+
"input_price": "$0.075",
|
579 |
+
"output_price": "$0.30",
|
580 |
+
"additional_prices": {
|
581 |
+
"context_caching": "$0.01875",
|
582 |
+
"context_storage": "$1.00",
|
583 |
+
"image_input": "$0.02",
|
584 |
+
"image_output": "$0.04",
|
585 |
+
"video_input": "$0.02",
|
586 |
+
"video_output": "$0.04",
|
587 |
+
"audio_input": "$0.02",
|
588 |
+
"audio_output": "$0.04"
|
589 |
+
},
|
590 |
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing"
|
591 |
+
},
|
592 |
"multimodality": {
|
593 |
"image": true,
|
594 |
"multiple_image": true,
|
595 |
"audio": true,
|
596 |
"video": true
|
597 |
+
},
|
598 |
+
"license": {
|
|
|
599 |
"name": "Commercial License",
|
600 |
"url": ""
|
601 |
},
|
602 |
+
"languages": ["lt", "no", "pl", "pt", "ro", "ru", "sr", "sk", "sl", "es", "sw", "sv", "th", "tr", "uk", "vi", "zh", "hr", "cs", "da", "nl", "en", "et", "fi", "fr", "de", "el", "he", "hi", "hu", "id", "it", "ja", "ko", "lv", "ar", "bn", "bg"],
|
603 |
"release_date": "2024-05-24",
|
604 |
"parameters": {
|
605 |
+
"estimated": true,
|
606 |
+
"size": "1760B"
|
607 |
},
|
608 |
"open_weight": false,
|
609 |
+
"context_size": "128k"
|
610 |
}
|
611 |
]
|
src/main_df.csv
CHANGED
@@ -1,24 +1,24 @@
|
|
1 |
-
model_name,input_price,output_price,multimodality_image,multimodality_multiple_image,multimodality_audio,multimodality_video,source,
|
2 |
-
Meta-Llama-3-70B-Instruct-hf,0,0,False,False,False,False,https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct,Meta Llama 3 License,https://www.llama.com/llama3/license/,
|
3 |
-
Meta-Llama-3-8B-Instruct-hf,0,0,False,False,False,False,https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct,Meta Llama 3 License,https://www.llama.com/llama3/license/,
|
4 |
-
Meta-Llama-3.1-405B-Instruct-Turbo,0,0,False,False,False,False,https://huggingface.co/meta-llama/Llama-3.1-405B-Instruct,Llama 3.1 Community License,https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE,"
|
5 |
-
Meta-Llama-3.1-70B-Instruct,0,0,False,False,False,False,https://huggingface.co/meta-llama/Llama-3.1-70B-Instruct,Llama 3.1 Community License,https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE,"
|
6 |
-
Meta-Llama-3.1-8B-Instruct,0,0,False,False,False,False,https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct,Llama 3.1 Community License,https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE,"
|
7 |
-
InternVL2-40B,0,0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-40B,MIT,https://choosealicense.com/licenses/mit/,"
|
8 |
-
InternVL2-8B,0,0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-8B,MIT,https://choosealicense.com/licenses/mit/,"
|
9 |
-
InternVL2-Llama3-76B,0,0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-Llama3-76B,MIT,https://choosealicense.com/licenses/mit/,"
|
10 |
-
InternVL2-26B,0,0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-26B,MIT,https://choosealicense.com/licenses/mit/,"
|
11 |
-
InternVL2-26B,0,0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-26B,MIT,https://choosealicense.com/licenses/mit/,"
|
12 |
-
Mistral-Large-Instruct-2407,0,0,False,False,False,False,https://huggingface.co/mistralai/Mistral-Large-Instruct-2407,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"
|
13 |
-
Mixtral-8x22B-Instruct-v0.1,0,0,False,False,False,False,https://huggingface.co/mistralai/Mixtral-8x22B-Instruct-v0.1,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"eng, fra, spa, deu, ita, rus",2024-04-17,
|
14 |
-
Mistral-7B-Instruct-v0.2,0,0,False,False,False,False,https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"
|
15 |
-
Mistral-7B-Instruct-v0.1,0,0,False,False,False,False,https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"
|
16 |
-
Mixtral-8x7B-Instruct-v0.1,0,0,False,False,False,False,https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"
|
17 |
-
openchat-3.5-0106,0,0,False,False,False,False,https://huggingface.co/openchat/openchat-3.5-0106,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,
|
18 |
-
openchat-3.5-1210,0,0,False,False,False,False,https://huggingface.co/openchat/openchat-3.5-1210,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,
|
19 |
-
openchat_3.5,0,0,False,False,False,False,https://huggingface.co/openchat/openchat_3.5,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,
|
20 |
-
gpt-4o-mini-2024-07-18
|
21 |
-
gpt-4o-2024-08-06
|
22 |
-
gpt-4o-2024-05-13
|
23 |
-
gpt-4-1106-vision-preview
|
24 |
-
gemini-1.5-flash-latest
|
|
|
1 |
+
model_name,input_price,output_price,multimodality_image,multimodality_multiple_image,multimodality_audio,multimodality_video,source,license_name,license_url,languages,release_date,open_weight,context_size,average_clemscore,average_latency,parameter_size,estimated
|
2 |
+
Meta-Llama-3-70B-Instruct-hf,0.0,0.0,False,False,False,False,https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct,Meta Llama 3 License,https://www.llama.com/llama3/license/,en,2024-04-18,True,8,11.703333333333333,1.1160853862207483,70.0,False
|
3 |
+
Meta-Llama-3-8B-Instruct-hf,0.0,0.0,False,False,False,False,https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct,Meta Llama 3 License,https://www.llama.com/llama3/license/,en,2024-04-18,True,8,6.663333333333333,0.7054825144189354,8.0,False
|
4 |
+
Meta-Llama-3.1-405B-Instruct-Turbo,0.0,0.0,False,False,False,False,https://huggingface.co/meta-llama/Llama-3.1-405B-Instruct,Llama 3.1 Community License,https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE,"en, de, fr, it, hi, pt, es, th",2024-07-23,True,128,17.37,0.2628701315515277,405.0,False
|
5 |
+
Meta-Llama-3.1-70B-Instruct,0.0,0.0,False,False,False,False,https://huggingface.co/meta-llama/Llama-3.1-70B-Instruct,Llama 3.1 Community License,https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE,"en, de, fr, it, hi, pt, es, th",2024-07-23,True,128,12.943333333333333,0.27016850919817575,70.0,False
|
6 |
+
Meta-Llama-3.1-8B-Instruct,0.0,0.0,False,False,False,False,https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct,Llama 3.1 Community License,https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE,"en, de, fr, it, hi, pt, es, th",2024-07-23,True,128,6.12,0.06876858280202812,8.0,False
|
7 |
+
InternVL2-40B,0.0,0.0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-40B,MIT,https://choosealicense.com/licenses/mit/,"zh, en, fr, es, pt, de, it, ru, ja, ko, vi, th, ar",2024-07-15,True,8,21.810000000000002,2.609271782765464,40.0,False
|
8 |
+
InternVL2-8B,0.0,0.0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-8B,MIT,https://choosealicense.com/licenses/mit/,"zh, en, fr, es, pt, de, it, ru, ja, ko, vi, th, ar",2024-07-15,True,8,19.74,0.8367998047485775,8.0,False
|
9 |
+
InternVL2-Llama3-76B,0.0,0.0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-Llama3-76B,MIT,https://choosealicense.com/licenses/mit/,"zh, en, fr, es, pt, de, it, ru, ja, ko, vi, th, ar",2024-07-15,True,8,25.709999999999997,4.591395944741546,76.0,False
|
10 |
+
InternVL2-26B,0.0,0.0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-26B,MIT,https://choosealicense.com/licenses/mit/,"zh, en, fr, es, pt, de, it, ru, ja, ko, vi, th, ar",2024-07-15,True,8,23.24,1.7593004986949285,26.0,False
|
11 |
+
InternVL2-26B,0.0,0.0,True,True,False,False,https://huggingface.co/OpenGVLab/InternVL2-26B,MIT,https://choosealicense.com/licenses/mit/,"zh, en, fr, es, pt, de, it, ru, ja, ko, vi, th, ar",2024-07-15,True,8,23.24,1.7593004986949285,26.0,False
|
12 |
+
Mistral-Large-Instruct-2407,0.0,0.0,False,False,False,False,https://huggingface.co/mistralai/Mistral-Large-Instruct-2407,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"en, fr, es, de, it, ru, zh, ja, ko",2024-06-12,True,8,15.13,0.41482225628780656,70.0,False
|
13 |
+
Mixtral-8x22B-Instruct-v0.1,0.0,0.0,False,False,False,False,https://huggingface.co/mistralai/Mixtral-8x22B-Instruct-v0.1,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"eng, fra, spa, deu, ita, rus",2024-04-17,True,8,4.2299999999999995,0.3586451521191292,141.0,False
|
14 |
+
Mistral-7B-Instruct-v0.2,0.0,0.0,False,False,False,False,https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"en, fr, es, de, it, ru, zh",2024-01-15,True,8,3.25,0.25450503989030154,7.0,False
|
15 |
+
Mistral-7B-Instruct-v0.1,0.0,0.0,False,False,False,False,https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"en, fr, es, de, it, ru, zh",2023-12-11,True,8,2.67,0.09428825169239076,7.0,False
|
16 |
+
Mixtral-8x7B-Instruct-v0.1,0.0,0.0,False,False,False,False,https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,"en, fr, es, de, it, ru",2023-12-11,True,8,2.723333333333333,0.31309892202121054,46.7,False
|
17 |
+
openchat-3.5-0106,0.0,0.0,False,False,False,False,https://huggingface.co/openchat/openchat-3.5-0106,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,en,2024-01-06,True,8,5.7,0.09736504835188847,7.0,False
|
18 |
+
openchat-3.5-1210,0.0,0.0,False,False,False,False,https://huggingface.co/openchat/openchat-3.5-1210,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,en,2023-12-10,True,8,6.073333333333333,0.09349942563676568,7.0,False
|
19 |
+
openchat_3.5,0.0,0.0,False,False,False,False,https://huggingface.co/openchat/openchat_3.5,Apache 2.0,https://www.apache.org/licenses/LICENSE-2.0,en,2023-10-30,True,8,7.88,0.10576256228206875,7.0,False
|
20 |
+
gpt-4o-mini-2024-07-18,0.15,0.6,True,True,False,False,https://openai.com/api/pricing/,Commercial License,https://openai.com/policies/terms-of-use,"en, es, fr, de, zh, ja, ko, it, pt, nl, ru, ar, hi, tr, vi, pl, th, sv, da, no, fi, hu, cs, sk, ro, bg, uk, lt, lv, et, sl, ms, id, tl, sw, am",2024-07-18,False,128,52.32333333333333,1.619222935116773,8.0,True
|
21 |
+
gpt-4o-2024-08-06,2.5,10.0,True,True,False,False,https://openai.com/api/pricing/,Commercial License,https://openai.com/policies/terms-of-use,"en, es, fr, de, zh, ja, ko, it, pt, nl, ru, ar, hi, tr, vi, pl, th, sv, da, no, fi, hu, cs, sk, ro, bg, uk, lt, lv, et, sl, ms, id, tl, sw, am",2024-08-06,False,128,69.57000000000001,1.5771123003908176,200.0,True
|
22 |
+
gpt-4o-2024-05-13,2.5,10.0,True,True,False,False,https://openai.com/api/pricing/,Commercial License,https://openai.com/policies/terms-of-use,"en, es, fr, de, zh, ja, ko, it, pt, nl, ru, ar, hi, tr, vi, pl, th, sv, da, no, fi, hu, cs, sk, ro, bg, uk, lt, lv, et, sl, ms, id, tl, sw, am",2024-05-13,False,128,66.87333333333333,3.704921340164487,200.0,True
|
23 |
+
gpt-4-1106-vision-preview,10.0,30.0,True,True,False,False,https://openai.com/api/pricing/,Commercial License,https://openai.com/policies/terms-of-use,"en, es, fr, de, zh, ja, ko, it, pt, nl, ru, ar, hi, tr, vi, pl, th, sv, da, no, fi, hu, cs, sk, ro, bg, uk, lt, lv, et, sl, ms, id, tl, sw, am",2023-11-06,False,128,47.23,2.217200177676117,1760.0,True
|
24 |
+
gemini-1.5-flash-latest,0.075,0.3,True,True,True,True,https://cloud.google.com/vertex-ai/generative-ai/pricing,Commercial License,,"lt, no, pl, pt, ro, ru, sr, sk, sl, es, sw, sv, th, tr, uk, vi, zh, hr, cs, da, nl, en, et, fi, fr, de, el, he, hi, hu, id, it, ja, ko, lv, ar, bn, bg",2024-05-24,False,128,42.53666666666667,26.268280234692302,1760.0,True
|
src/process_data.py
CHANGED
@@ -11,30 +11,31 @@ flattened_data = []
|
|
11 |
for entry in data:
|
12 |
flattened_entry = {
|
13 |
"model_name": entry["model_name"],
|
14 |
-
"input_price": entry["input_price"],
|
15 |
-
"output_price": entry["output_price"],
|
16 |
"multimodality_image": entry["multimodality"]["image"],
|
17 |
"multimodality_multiple_image": entry["multimodality"]["multiple_image"],
|
18 |
"multimodality_audio": entry["multimodality"]["audio"],
|
19 |
"multimodality_video": entry["multimodality"]["video"],
|
20 |
-
"source": entry["source"],
|
21 |
-
"
|
22 |
-
"
|
23 |
"languages": ", ".join(entry["languages"]),
|
24 |
"release_date": entry["release_date"],
|
25 |
-
"
|
26 |
-
"
|
27 |
"open_weight": entry["open_weight"],
|
28 |
-
"
|
|
|
29 |
# ... additional prices ...
|
30 |
-
"additional_prices_context_caching": entry.get("additional_prices", {}).get("context_caching", None),
|
31 |
-
"additional_prices_context_storage": entry.get("additional_prices", {}).get("context_storage", None),
|
32 |
-
"additional_prices_image_input": entry.get("additional_prices", {}).get("image_input", None),
|
33 |
-
"additional_prices_image_output": entry.get("additional_prices", {}).get("image_output", None),
|
34 |
-
"additional_prices_video_input": entry.get("additional_prices", {}).get("video_input", None),
|
35 |
-
"additional_prices_video_output": entry.get("additional_prices", {}).get("video_output", None),
|
36 |
-
"additional_prices_audio_input": entry.get("additional_prices", {}).get("audio_input", None),
|
37 |
-
"additional_prices_audio_output": entry.get("additional_prices", {}).get("audio_output", None),
|
38 |
}
|
39 |
flattened_data.append(flattened_entry)
|
40 |
|
@@ -57,12 +58,80 @@ clemscore_map_1_6_5_multimodal = dict(zip(results_1_6_5_multimodal[0], results_1
|
|
57 |
clemscore_map_1_6_5_ascii = dict(zip(results_1_6_5_ascii[0], results_1_6_5_ascii[1]))
|
58 |
clemscore_map_1_6 = dict(zip(results_1_6[0], results_1_6[1]))
|
59 |
|
60 |
-
print(clemscore_map_1_6)
|
61 |
|
62 |
# Add clemscore columns to the main DataFrame
|
63 |
df['clemscore_v1.6.5_multimodal'] = df['model_name'].map(clemscore_map_1_6_5_multimodal).fillna(0).astype(float)
|
64 |
df['clemscore_v1.6.5_ascii'] = df['model_name'].map(clemscore_map_1_6_5_ascii).fillna(0).astype(float)
|
65 |
df['clemscore_v1.6'] = df['model_name'].map(clemscore_map_1_6).fillna(0).astype(float)
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
# Save to CSV
|
68 |
df.to_csv('src/main_df.csv', index=False)
|
|
|
11 |
for entry in data:
|
12 |
flattened_entry = {
|
13 |
"model_name": entry["model_name"],
|
14 |
+
"input_price": entry["pricing"]["input_price"],
|
15 |
+
"output_price": entry["pricing"]["output_price"],
|
16 |
"multimodality_image": entry["multimodality"]["image"],
|
17 |
"multimodality_multiple_image": entry["multimodality"]["multiple_image"],
|
18 |
"multimodality_audio": entry["multimodality"]["audio"],
|
19 |
"multimodality_video": entry["multimodality"]["video"],
|
20 |
+
"source": entry["pricing"]["source"],
|
21 |
+
"license_name": entry["license"]["name"],
|
22 |
+
"license_url": entry["license"]["url"],
|
23 |
"languages": ", ".join(entry["languages"]),
|
24 |
"release_date": entry["release_date"],
|
25 |
+
"parameter_size": entry["parameters"]["size"],
|
26 |
+
"estimated": entry["parameters"]["estimated"],
|
27 |
"open_weight": entry["open_weight"],
|
28 |
+
"context_size": entry["context_size"],
|
29 |
+
|
30 |
# ... additional prices ...
|
31 |
+
"additional_prices_context_caching": entry["pricing"].get("additional_prices", {}).get("context_caching", None),
|
32 |
+
"additional_prices_context_storage": entry["pricing"].get("additional_prices", {}).get("context_storage", None),
|
33 |
+
"additional_prices_image_input": entry["pricing"].get("additional_prices", {}).get("image_input", None),
|
34 |
+
"additional_prices_image_output": entry["pricing"].get("additional_prices", {}).get("image_output", None),
|
35 |
+
"additional_prices_video_input": entry["pricing"].get("additional_prices", {}).get("video_input", None),
|
36 |
+
"additional_prices_video_output": entry["pricing"].get("additional_prices", {}).get("video_output", None),
|
37 |
+
"additional_prices_audio_input": entry["pricing"].get("additional_prices", {}).get("audio_input", None),
|
38 |
+
"additional_prices_audio_output": entry["pricing"].get("additional_prices", {}).get("audio_output", None),
|
39 |
}
|
40 |
flattened_data.append(flattened_entry)
|
41 |
|
|
|
58 |
clemscore_map_1_6_5_ascii = dict(zip(results_1_6_5_ascii[0], results_1_6_5_ascii[1]))
|
59 |
clemscore_map_1_6 = dict(zip(results_1_6[0], results_1_6[1]))
|
60 |
|
|
|
61 |
|
62 |
# Add clemscore columns to the main DataFrame
|
63 |
df['clemscore_v1.6.5_multimodal'] = df['model_name'].map(clemscore_map_1_6_5_multimodal).fillna(0).astype(float)
|
64 |
df['clemscore_v1.6.5_ascii'] = df['model_name'].map(clemscore_map_1_6_5_ascii).fillna(0).astype(float)
|
65 |
df['clemscore_v1.6'] = df['model_name'].map(clemscore_map_1_6).fillna(0).astype(float)
|
66 |
|
67 |
+
# Load the latency CSV files
|
68 |
+
latency_1_6 = pd.read_csv('src/v1.6_latency.csv', header=None)
|
69 |
+
latency_1_6_5_ascii = pd.read_csv('src/v1.6.5_ascii_latency.csv', header=None)
|
70 |
+
latency_1_6_5_multimodal = pd.read_csv('src/v1.6.5_multimodal_latency.csv', header=None)
|
71 |
+
|
72 |
+
# Create a mapping for latency values
|
73 |
+
latency_map_1_6 = dict(zip(latency_1_6[0], latency_1_6[1]))
|
74 |
+
latency_map_1_6_5_ascii = dict(zip(latency_1_6_5_ascii[0], latency_1_6_5_ascii[1]))
|
75 |
+
latency_map_1_6_5_multimodal = dict(zip(latency_1_6_5_multimodal[0], latency_1_6_5_multimodal[1]))
|
76 |
+
|
77 |
+
# Add latency columns to the main DataFrame
|
78 |
+
df['latency_v1.6'] = df['model_name'].map(latency_map_1_6).fillna(0).astype(float)
|
79 |
+
df['latency_v1.6.5_multimodal'] = df['model_name'].map(latency_map_1_6_5_multimodal).fillna(0).astype(float)
|
80 |
+
df['latency_v1.6.5_ascii'] = df['model_name'].map(latency_map_1_6_5_ascii).fillna(0).astype(float)
|
81 |
+
|
82 |
+
|
83 |
+
# Calculate average latency and clemscore
|
84 |
+
df['average_clemscore'] = df[['clemscore_v1.6.5_multimodal', 'clemscore_v1.6.5_ascii', 'clemscore_v1.6']].mean(axis=1)
|
85 |
+
df['average_latency'] = df[['latency_v1.6', 'latency_v1.6.5_multimodal', 'latency_v1.6.5_ascii']].mean(axis=1)
|
86 |
+
|
87 |
+
|
88 |
+
# More clean up
|
89 |
+
# Clean and convert prices to float
|
90 |
+
df['input_price'] = df['input_price'].replace({'\$': '', '': None}, regex=True).astype(float)
|
91 |
+
df['output_price'] = df['output_price'].replace({'\$': '', '': None}, regex=True).astype(float)
|
92 |
+
|
93 |
+
# Clean and convert additional prices to float
|
94 |
+
additional_price_columns = [
|
95 |
+
'additional_prices_context_caching',
|
96 |
+
'additional_prices_context_storage',
|
97 |
+
'additional_prices_image_input',
|
98 |
+
'additional_prices_image_output',
|
99 |
+
'additional_prices_video_input',
|
100 |
+
'additional_prices_video_output',
|
101 |
+
'additional_prices_audio_input',
|
102 |
+
'additional_prices_audio_output'
|
103 |
+
]
|
104 |
+
|
105 |
+
for col in additional_price_columns:
|
106 |
+
df[col] = df[col].replace({'\$': '', '': None}, regex=True).astype(float)
|
107 |
+
|
108 |
+
# Clean and convert context to integer
|
109 |
+
df['context_size'] = df['context_size'].replace({'k': ''}, regex=True).astype(int)
|
110 |
+
|
111 |
+
df['parameter_size'] = df['parameter_size'].replace({'B': '', '': None}, regex=True).astype(float)
|
112 |
+
|
113 |
+
# Keep only the specified columns
|
114 |
+
df = df[[
|
115 |
+
'model_name',
|
116 |
+
'input_price',
|
117 |
+
'output_price',
|
118 |
+
'multimodality_image',
|
119 |
+
'multimodality_multiple_image',
|
120 |
+
'multimodality_audio',
|
121 |
+
'multimodality_video',
|
122 |
+
'source',
|
123 |
+
'license_name',
|
124 |
+
'license_url',
|
125 |
+
'languages',
|
126 |
+
'release_date',
|
127 |
+
'open_weight',
|
128 |
+
'context_size',
|
129 |
+
'average_clemscore',
|
130 |
+
'average_latency',
|
131 |
+
'parameter_size',
|
132 |
+
'estimated'
|
133 |
+
]]
|
134 |
+
|
135 |
+
|
136 |
# Save to CSV
|
137 |
df.to_csv('src/main_df.csv', index=False)
|
src/v1.6.5_ascii_latency.csv
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model,latency
|
2 |
+
InternVL2-Llama3-76B,3.114070534839201
|
3 |
+
InternVL2-26B,1.0386292812723366
|
4 |
+
gpt-4o-2024-05-13,1.0694715724240909
|
5 |
+
claude-3-5-sonnet-20240620,2.1419643781420827
|
6 |
+
idefics-9b-instruct,1.4799789114093953
|
7 |
+
claude-3-opus-20240229,2.6997723769014104
|
8 |
+
gpt-4o-mini-2024-07-18,0.6847286470238105
|
9 |
+
gpt-4-1106-vision-preview,1.9390430972762676
|
10 |
+
Phi-3.5-vision-instruct,0.9667233222621183
|
11 |
+
InternVL2-40B,1.5607129299048943
|
12 |
+
gpt-4o-2024-08-06,0.8286696862643078
|
13 |
+
idefics-80b-instruct,9.909203573061212
|
14 |
+
InternVL2-8B,0.5617990863945588
|
15 |
+
gemini-1.5-flash-latest,13.396903850443566
|
16 |
+
Idefics3-8B-Llama3,0.5553913162090334
|
17 |
+
Phi-3-vision-128k-instruct,1.1679793685649222
|
18 |
+
Pixtral-12B-2409,0.3775700848214281
|
19 |
+
internlm-xcomposer2d5-7b,6.095479326235735
|
src/v1.6.5_multimodal_latency.csv
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model,latency
|
2 |
+
InternVL2-Llama3-76B,10.660117299385437
|
3 |
+
InternVL2-26B,4.239272214812449
|
4 |
+
dolphin-vision-72b,10.19095800373974
|
5 |
+
gpt-4o-2024-05-13,9.488193374830397
|
6 |
+
claude-3-5-sonnet-20240620,3.2490840805235996
|
7 |
+
idefics-9b-instruct,4.156911970172689
|
8 |
+
claude-3-opus-20240229,4.8763568649807185
|
9 |
+
gpt-4o-mini-2024-07-18,3.638671743317612
|
10 |
+
gpt-4-1106-vision-preview,4.712557435752083
|
11 |
+
Phi-3.5-vision-instruct,1.5404880504707106
|
12 |
+
InternVL2-40B,6.267102418391499
|
13 |
+
gpt-4o-2024-08-06,3.3857084617187416
|
14 |
+
idefics-80b-instruct,6.808930391550246
|
15 |
+
InternVL2-8B,1.9486003278511734
|
16 |
+
gemini-1.5-flash-latest,28.203669643584554
|
17 |
+
Idefics3-8B-Llama3,2.7247848158020056
|
18 |
+
Phi-3-vision-128k-instruct,1.3368420310828857
|
19 |
+
Pixtral-12B-2409,1.4976731684122302
|
20 |
+
internlm-xcomposer2d5-7b,8.438096179522184
|
src/v1.6_latency.csv
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model,latency
|
2 |
+
Phi-3-mini-128k-instruct,0.6615315832127351
|
3 |
+
Meta-Llama-3.1-70B-Instruct,0.8105055275945272
|
4 |
+
Meta-Llama-3.1-405B-Instruct-Turbo,0.7886103946545832
|
5 |
+
mistral-medium-2312,3.3167870515212137
|
6 |
+
gemma-2-2b-it,0.3139821517919896
|
7 |
+
Meta-Llama-3-8B-Instruct-hf,2.116447543256806
|
8 |
+
Qwen1.5-1.8B-Chat,0.5502705450000004
|
9 |
+
CodeLlama-34b-Instruct-hf,3.851887315425931
|
10 |
+
Qwen2-72B-Instruct,0.9480584860151365
|
11 |
+
Meta-Llama-3.1-8B-Instruct,0.20630574840608434
|
12 |
+
gemma-1.1-7b-it,0.1782953878345513
|
13 |
+
gemma-2-27b-it,0.9922771009345804
|
14 |
+
openchat-3.5-1210,0.28049827691029705
|
15 |
+
codegemma-7b-it,0.30489740508652785
|
16 |
+
dolphin-2.5-mixtral-8x7b,1.100729847312237
|
17 |
+
sheep-duck-llama-2-70b-v1.1,5.524607914346896
|
18 |
+
gpt-4-0613,0.6484411465828742
|
19 |
+
Meta-Llama-3-70B-Instruct-hf,3.348256158662245
|
20 |
+
openchat_3.5,0.31728768684620623
|
21 |
+
Yi-34B-Chat,1.2871676207135385
|
22 |
+
gpt-4o-2024-05-13,0.5570990732389735
|
23 |
+
openchat-3.5-0106,0.2920951450556654
|
24 |
+
Mixtral-8x7B-Instruct-v0.1,0.9392967660636317
|
25 |
+
gpt-4,0.9930876319528372
|
26 |
+
Qwen1.5-14B-Chat,0.37289333481152975
|
27 |
+
mistral-large-2402,0.3967416598893948
|
28 |
+
claude-3-5-sonnet-20240620,0.879929281888541
|
29 |
+
gemma-7b-it,0.6112263564356414
|
30 |
+
gpt-4-0125-preview,1.0418927523113601
|
31 |
+
gpt-4-1106-preview,0.7767265743542753
|
32 |
+
gemini-1.5-pro-latest,82.90283880578006
|
33 |
+
Nous-Hermes-2-Mixtral-8x7B-SFT,0.860892263303385
|
34 |
+
claude-2.1,1.6836316221022491
|
35 |
+
gemma-1.1-2b-it,0.11925699461279458
|
36 |
+
claude-3-opus-20240229,2.955845827917778
|
37 |
+
command-r,0.18832414914586068
|
38 |
+
gpt-4o-mini-2024-07-18,0.5342684150088973
|
39 |
+
sheep-duck-llama-2-13b,2.9462099794520453
|
40 |
+
SUS-Chat-34B,2.27951476106911
|
41 |
+
claude-3-haiku-20240307,0.869549739619107
|
42 |
+
gpt-4o-2024-08-06,0.5169587531894035
|
43 |
+
Yi-1.5-34B-Chat,9.232551962889337
|
44 |
+
Qwen2-7B-Instruct,0.3589407217948713
|
45 |
+
Mixtral-8x22B-Instruct-v0.1,1.0759354563573875
|
46 |
+
vicuna-13b-v1.5,1.4753938719676492
|
47 |
+
gemma-2-9b-it,0.3692553324432539
|
48 |
+
Mistral-7B-Instruct-v0.2,0.7635151196709047
|
49 |
+
Qwen1.5-32B-Chat,0.5092292557397938
|
50 |
+
Qwen1.5-0.5B-Chat,0.173469139375476
|
51 |
+
Starling-LM-7B-beta,1.365002297029707
|
52 |
+
gemini-1.0-pro,0.6346876567117742
|
53 |
+
gemini-1.5-flash-latest,37.2042672100488
|
54 |
+
aya-23-35B,0.5755088395104249
|
55 |
+
llama-2-70b-chat-hf,4.724659620079609
|
56 |
+
Yi-1.5-9B-Chat,8.02352422018858
|
57 |
+
WizardLM-70b-v1.0,3.9249772038834863
|
58 |
+
Yi-1.5-6B-Chat,6.496741103848931
|
59 |
+
tulu-2-dpo-70b,7.848597339328551
|
60 |
+
Qwen1.5-72B-Chat,12.689668927658234
|
61 |
+
Mistral-7B-Instruct-v0.1,0.2828647550771723
|
62 |
+
gpt-3.5,0.6829601016193744
|
63 |
+
aya-23-8B,0.4818848185613409
|
64 |
+
Qwen1.5-7B-Chat,0.38989076908838965
|
65 |
+
claude-3-sonnet-20240229,1.419486012822594
|
66 |
+
vicuna-33b-v1.3,0.8235025152162343
|
67 |
+
WizardLM-13b-v1.2,3.565436762576296
|
68 |
+
Mistral-Large-Instruct-2407,1.2444667688634197
|
69 |
+
command-r-plus,0.3104016019283745
|