Spaces:
Running
Running
Commit
·
af0f390
1
Parent(s):
f829331
2024-02-14 15:08:37 Publish script update
Browse files- app.py +25 -18
- data/general_plots.csv +0 -0
- data/output_plots.csv +40 -36
- data/time_of_day_plots.csv +39 -0
- pipeline/models.py +29 -2
app.py
CHANGED
@@ -222,24 +222,6 @@ with gr.Blocks() as demo:
|
|
222 |
queries_config.base_query_template.replace("```", "'''"), output_types_df.to_markdown(index=False)
|
223 |
)
|
224 |
)
|
225 |
-
with gr.Tab("General plots"):
|
226 |
-
general_plots.apply(display_plot, axis=1)
|
227 |
-
with gr.Tab("Output characteristics"):
|
228 |
-
with gr.Row():
|
229 |
-
collapse_languages_button.render()
|
230 |
-
collapse_output_method_button.render()
|
231 |
-
summary_ui = gr.DataFrame(dataframe_style(summary_df), label="Output characteristics")
|
232 |
-
gr.Markdown(
|
233 |
-
"""\
|
234 |
-
This table compares output characteristics of different models which include execution time, output size and chunking of the output. Some providers and models don't support output chunking, in this case chunk related fields are left empty.
|
235 |
-
|
236 |
-
Execution time refers to averaged time needed to execute one query.
|
237 |
-
|
238 |
-
To count words we split the output string by whitespace `\w` regex character.
|
239 |
-
|
240 |
-
Chunk sizes are measured in the characters count."""
|
241 |
-
)
|
242 |
-
output_plots.apply(display_plot, axis=1)
|
243 |
with gr.Tab("Performance by time of the day"):
|
244 |
# display only first plot for all models
|
245 |
time_of_day_plots[0:1].apply(display_plot, axis=1)
|
@@ -256,11 +238,28 @@ Execution time refers to averaged time needed to execute one query.
|
|
256 |
Hours and times of day in the table and in the plot are based on Central European Time.
|
257 |
|
258 |
Measurements were made during a normal work week.
|
|
|
|
|
259 |
"""
|
260 |
)
|
261 |
# display rest of the plots
|
262 |
time_of_day_plots[1:].apply(display_plot, axis=1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
|
|
|
|
|
|
|
264 |
with gr.Tab("Costs comparison"):
|
265 |
models_costs_ui = gr.DataFrame(dataframe_style(model_costs_df), label="Costs comparison")
|
266 |
gr.Markdown(
|
@@ -273,6 +272,14 @@ for models hosted this way we calculated "Cost Per Token" column using data coll
|
|
273 |
Note that pause and resume time cost was not included in the "Cost Per Token" column calculation.
|
274 |
"""
|
275 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
filter_button.click(
|
277 |
fn=filter_dataframes,
|
278 |
inputs=filter_textbox,
|
|
|
222 |
queries_config.base_query_template.replace("```", "'''"), output_types_df.to_markdown(index=False)
|
223 |
)
|
224 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
with gr.Tab("Performance by time of the day"):
|
226 |
# display only first plot for all models
|
227 |
time_of_day_plots[0:1].apply(display_plot, axis=1)
|
|
|
238 |
Hours and times of day in the table and in the plot are based on Central European Time.
|
239 |
|
240 |
Measurements were made during a normal work week.
|
241 |
+
|
242 |
+
To compare providers we checked execution times for the same model `Mistral (7B) Instruct v0.2` on both Hugging Face and Together AI.
|
243 |
"""
|
244 |
)
|
245 |
# display rest of the plots
|
246 |
time_of_day_plots[1:].apply(display_plot, axis=1)
|
247 |
+
with gr.Tab("Output characteristics"):
|
248 |
+
with gr.Row():
|
249 |
+
collapse_languages_button.render()
|
250 |
+
collapse_output_method_button.render()
|
251 |
+
summary_ui = gr.DataFrame(dataframe_style(summary_df), label="Output characteristics")
|
252 |
+
gr.Markdown(
|
253 |
+
"""\
|
254 |
+
This table compares output characteristics of different models which include execution time, output size and chunking of the output. Some providers and models don't support output chunking, in this case chunk related fields are left empty.
|
255 |
+
|
256 |
+
Execution time refers to averaged time needed to execute one query.
|
257 |
+
|
258 |
+
To count words we split the output string by whitespace `\w` regex character.
|
259 |
|
260 |
+
Chunk sizes are measured in the characters count."""
|
261 |
+
)
|
262 |
+
output_plots.apply(display_plot, axis=1)
|
263 |
with gr.Tab("Costs comparison"):
|
264 |
models_costs_ui = gr.DataFrame(dataframe_style(model_costs_df), label="Costs comparison")
|
265 |
gr.Markdown(
|
|
|
272 |
Note that pause and resume time cost was not included in the "Cost Per Token" column calculation.
|
273 |
"""
|
274 |
)
|
275 |
+
general_plots[general_plots.plot_name=="execution_costs"].apply(display_plot, axis=1)
|
276 |
+
with gr.Tab("Model dimensions"):
|
277 |
+
general_plots[general_plots.plot_name!="execution_costs"].apply(display_plot, axis=1)
|
278 |
+
gr.Markdown("""
|
279 |
+
Model dimensions based on release blogs and documentation of their respective developers.
|
280 |
+
|
281 |
+
Note that models, which dimensions were not disclosed publicly, were omitted from the plots.
|
282 |
+
""")
|
283 |
filter_button.click(
|
284 |
fn=filter_dataframes,
|
285 |
inputs=filter_textbox,
|
data/general_plots.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
data/output_plots.csv
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
plot_object,header,plot_json,df,arguments
|
2 |
"Figure({
|
3 |
'data': [{'alignmentgroup': 'True',
|
4 |
'hovertemplate': 'Model=%{x}<br>Execution time (s)=%{y}<extra></extra>',
|
@@ -213,10 +213,14 @@ plot_object,header,plot_json,df,arguments
|
|
213 |
10,gpt-4-turbo,15.852052640759334
|
214 |
11,llama-2-70b-chat,6.065365233652719
|
215 |
12,zephyr-7b-beta,3.389894526934474
|
216 |
-
","{""x"": ""model"", ""y"": ""execution_time"", ""color"": ""model"", ""labels"": {""model"": ""Model"", ""execution_time"": ""Execution time (s)""}, ""title"": ""Plot of execution time (s)""}"
|
|
|
|
|
|
|
|
|
217 |
"Figure({
|
218 |
'data': [{'alignmentgroup': 'True',
|
219 |
-
'hovertemplate': 'Model=%{x}<br>
|
220 |
'legendgroup': 'Mistral-7B-Instruct-v0.2',
|
221 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
222 |
'name': 'Mistral-7B-Instruct-v0.2',
|
@@ -230,7 +234,7 @@ plot_object,header,plot_json,df,arguments
|
|
230 |
'y': array([29.32127976]),
|
231 |
'yaxis': 'y'},
|
232 |
{'alignmentgroup': 'True',
|
233 |
-
'hovertemplate': 'Model=%{x}<br>
|
234 |
'legendgroup': 'Mixtral-8x7B-Instruct-v0.1',
|
235 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
236 |
'name': 'Mixtral-8x7B-Instruct-v0.1',
|
@@ -244,7 +248,7 @@ plot_object,header,plot_json,df,arguments
|
|
244 |
'y': array([54.6203696]),
|
245 |
'yaxis': 'y'},
|
246 |
{'alignmentgroup': 'True',
|
247 |
-
'hovertemplate': 'Model=%{x}<br>
|
248 |
'legendgroup': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
249 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
250 |
'name': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
@@ -258,7 +262,7 @@ plot_object,header,plot_json,df,arguments
|
|
258 |
'y': array([32.55470546]),
|
259 |
'yaxis': 'y'},
|
260 |
{'alignmentgroup': 'True',
|
261 |
-
'hovertemplate': 'Model=%{x}<br>
|
262 |
'legendgroup': 'chat-bison',
|
263 |
'marker': {'color': '#ab63fa', 'pattern': {'shape': ''}},
|
264 |
'name': 'chat-bison',
|
@@ -272,7 +276,7 @@ plot_object,header,plot_json,df,arguments
|
|
272 |
'y': array([49.]),
|
273 |
'yaxis': 'y'},
|
274 |
{'alignmentgroup': 'True',
|
275 |
-
'hovertemplate': 'Model=%{x}<br>
|
276 |
'legendgroup': 'chat-bison (PaLM 2)',
|
277 |
'marker': {'color': '#FFA15A', 'pattern': {'shape': ''}},
|
278 |
'name': 'chat-bison (PaLM 2)',
|
@@ -286,7 +290,7 @@ plot_object,header,plot_json,df,arguments
|
|
286 |
'y': array([40.9371875]),
|
287 |
'yaxis': 'y'},
|
288 |
{'alignmentgroup': 'True',
|
289 |
-
'hovertemplate': 'Model=%{x}<br>
|
290 |
'legendgroup': 'chat-bison-32k',
|
291 |
'marker': {'color': '#19d3f3', 'pattern': {'shape': ''}},
|
292 |
'name': 'chat-bison-32k',
|
@@ -300,7 +304,7 @@ plot_object,header,plot_json,df,arguments
|
|
300 |
'y': array([48.025]),
|
301 |
'yaxis': 'y'},
|
302 |
{'alignmentgroup': 'True',
|
303 |
-
'hovertemplate': 'Model=%{x}<br>
|
304 |
'legendgroup': 'chat-bison-32k (PaLM 2 32K)',
|
305 |
'marker': {'color': '#FF6692', 'pattern': {'shape': ''}},
|
306 |
'name': 'chat-bison-32k (PaLM 2 32K)',
|
@@ -314,7 +318,7 @@ plot_object,header,plot_json,df,arguments
|
|
314 |
'y': array([38.72477679]),
|
315 |
'yaxis': 'y'},
|
316 |
{'alignmentgroup': 'True',
|
317 |
-
'hovertemplate': 'Model=%{x}<br>
|
318 |
'legendgroup': 'gemini-pro',
|
319 |
'marker': {'color': '#B6E880', 'pattern': {'shape': ''}},
|
320 |
'name': 'gemini-pro',
|
@@ -328,7 +332,7 @@ plot_object,header,plot_json,df,arguments
|
|
328 |
'y': array([39.69346182]),
|
329 |
'yaxis': 'y'},
|
330 |
{'alignmentgroup': 'True',
|
331 |
-
'hovertemplate': 'Model=%{x}<br>
|
332 |
'legendgroup': 'gpt-3.5-turbo',
|
333 |
'marker': {'color': '#FF97FF', 'pattern': {'shape': ''}},
|
334 |
'name': 'gpt-3.5-turbo',
|
@@ -342,7 +346,7 @@ plot_object,header,plot_json,df,arguments
|
|
342 |
'y': array([39.25851284]),
|
343 |
'yaxis': 'y'},
|
344 |
{'alignmentgroup': 'True',
|
345 |
-
'hovertemplate': 'Model=%{x}<br>
|
346 |
'legendgroup': 'gpt-4',
|
347 |
'marker': {'color': '#FECB52', 'pattern': {'shape': ''}},
|
348 |
'name': 'gpt-4',
|
@@ -356,7 +360,7 @@ plot_object,header,plot_json,df,arguments
|
|
356 |
'y': array([32.90737496]),
|
357 |
'yaxis': 'y'},
|
358 |
{'alignmentgroup': 'True',
|
359 |
-
'hovertemplate': 'Model=%{x}<br>
|
360 |
'legendgroup': 'gpt-4-turbo',
|
361 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
362 |
'name': 'gpt-4-turbo',
|
@@ -370,7 +374,7 @@ plot_object,header,plot_json,df,arguments
|
|
370 |
'y': array([38.36012473]),
|
371 |
'yaxis': 'y'},
|
372 |
{'alignmentgroup': 'True',
|
373 |
-
'hovertemplate': 'Model=%{x}<br>
|
374 |
'legendgroup': 'llama-2-70b-chat',
|
375 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
376 |
'name': 'llama-2-70b-chat',
|
@@ -384,7 +388,7 @@ plot_object,header,plot_json,df,arguments
|
|
384 |
'y': array([95.35066814]),
|
385 |
'yaxis': 'y'},
|
386 |
{'alignmentgroup': 'True',
|
387 |
-
'hovertemplate': 'Model=%{x}<br>
|
388 |
'legendgroup': 'zephyr-7b-beta',
|
389 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
390 |
'name': 'zephyr-7b-beta',
|
@@ -400,7 +404,7 @@ plot_object,header,plot_json,df,arguments
|
|
400 |
'layout': {'barmode': 'relative',
|
401 |
'legend': {'title': {'text': 'Model'}, 'tracegroupgap': 0},
|
402 |
'template': '...',
|
403 |
-
'title': {'text': 'Plot of words count'},
|
404 |
'xaxis': {'anchor': 'y',
|
405 |
'categoryarray': [Mistral-7B-Instruct-v0.2,
|
406 |
Mixtral-8x7B-Instruct-v0.1,
|
@@ -413,8 +417,8 @@ plot_object,header,plot_json,df,arguments
|
|
413 |
'categoryorder': 'array',
|
414 |
'domain': [0.0, 1.0],
|
415 |
'title': {'text': 'Model'}},
|
416 |
-
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title': {'text': '
|
417 |
-
})",Plot of words count,"{""data"":[{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mistral-7B-Instruct-v0.2"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""Mistral-7B-Instruct-v0.2"",""offsetgroup"":""Mistral-7B-Instruct-v0.2"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mistral-7B-Instruct-v0.2""],""xaxis"":""x"",""y"":[29.321279761904762],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mixtral-8x7B-Instruct-v0.1"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""Mixtral-8x7B-Instruct-v0.1"",""offsetgroup"":""Mixtral-8x7B-Instruct-v0.1"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mixtral-8x7B-Instruct-v0.1""],""xaxis"":""x"",""y"":[54.620369597277694],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""offsetgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0""],""xaxis"":""x"",""y"":[32.55470545977011],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison"",""marker"":{""color"":""#ab63fa"",""pattern"":{""shape"":""""}},""name"":""chat-bison"",""offsetgroup"":""chat-bison"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison""],""xaxis"":""x"",""y"":[49.0],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison (PaLM 2)"",""marker"":{""color"":""#FFA15A"",""pattern"":{""shape"":""""}},""name"":""chat-bison (PaLM 2)"",""offsetgroup"":""chat-bison (PaLM 2)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison (PaLM 2)""],""xaxis"":""x"",""y"":[40.9371875],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k"",""marker"":{""color"":""#19d3f3"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k"",""offsetgroup"":""chat-bison-32k"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k""],""xaxis"":""x"",""y"":[48.025],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k (PaLM 2 32K)"",""marker"":{""color"":""#FF6692"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k (PaLM 2 32K)"",""offsetgroup"":""chat-bison-32k (PaLM 2 32K)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k (PaLM 2 32K)""],""xaxis"":""x"",""y"":[38.72477678571428],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gemini-pro"",""marker"":{""color"":""#B6E880"",""pattern"":{""shape"":""""}},""name"":""gemini-pro"",""offsetgroup"":""gemini-pro"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gemini-pro""],""xaxis"":""x"",""y"":[39.69346182236394],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-3.5-turbo"",""marker"":{""color"":""#FF97FF"",""pattern"":{""shape"":""""}},""name"":""gpt-3.5-turbo"",""offsetgroup"":""gpt-3.5-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-3.5-turbo""],""xaxis"":""x"",""y"":[39.25851283971182],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4"",""marker"":{""color"":""#FECB52"",""pattern"":{""shape"":""""}},""name"":""gpt-4"",""offsetgroup"":""gpt-4"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4""],""xaxis"":""x"",""y"":[32.907374959094994],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4-turbo"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""gpt-4-turbo"",""offsetgroup"":""gpt-4-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4-turbo""],""xaxis"":""x"",""y"":[38.36012473477448],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""llama-2-70b-chat"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""llama-2-70b-chat"",""offsetgroup"":""llama-2-70b-chat"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""llama-2-70b-chat""],""xaxis"":""x"",""y"":[95.35066814260509],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eWords count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""zephyr-7b-beta"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""zephyr-7b-beta"",""offsetgroup"":""zephyr-7b-beta"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""zephyr-7b-beta""],""xaxis"":""x"",""y"":[31.159257075471697],""yaxis"":""y"",""type"":""bar""}],""layout"":{""template"":{""data"":{""histogram2dcontour"":[{""type"":""histogram2dcontour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""choropleth"":[{""type"":""choropleth"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""histogram2d"":[{""type"":""histogram2d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmap"":[{""type"":""heatmap"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmapgl"":[{""type"":""heatmapgl"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""contourcarpet"":[{""type"":""contourcarpet"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""contour"":[{""type"":""contour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""surface"":[{""type"":""surface"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""mesh3d"":[{""type"":""mesh3d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""scatter"":[{""fillpattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2},""type"":""scatter""}],""parcoords"":[{""type"":""parcoords"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolargl"":[{""type"":""scatterpolargl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""bar"":[{""error_x"":{""color"":""#2a3f5f""},""error_y"":{""color"":""#2a3f5f""},""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""bar""}],""scattergeo"":[{""type"":""scattergeo"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolar"":[{""type"":""scatterpolar"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""histogram"":[{""marker"":{""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""histogram""}],""scattergl"":[{""type"":""scattergl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatter3d"":[{""type"":""scatter3d"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattermapbox"":[{""type"":""scattermapbox"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterternary"":[{""type"":""scatterternary"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattercarpet"":[{""type"":""scattercarpet"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""carpet"":[{""aaxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""baxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""type"":""carpet""}],""table"":[{""cells"":{""fill"":{""color"":""#EBF0F8""},""line"":{""color"":""white""}},""header"":{""fill"":{""color"":""#C8D4E3""},""line"":{""color"":""white""}},""type"":""table""}],""barpolar"":[{""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""barpolar""}],""pie"":[{""automargin"":true,""type"":""pie""}]},""layout"":{""autotypenumbers"":""strict"",""colorway"":[""#636efa"",""#EF553B"",""#00cc96"",""#ab63fa"",""#FFA15A"",""#19d3f3"",""#FF6692"",""#B6E880"",""#FF97FF"",""#FECB52""],""font"":{""color"":""#2a3f5f""},""hovermode"":""closest"",""hoverlabel"":{""align"":""left""},""paper_bgcolor"":""white"",""plot_bgcolor"":""#E5ECF6"",""polar"":{""bgcolor"":""#E5ECF6"",""angularaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""radialaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""ternary"":{""bgcolor"":""#E5ECF6"",""aaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""baxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""caxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""coloraxis"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""colorscale"":{""sequential"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""sequentialminus"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""diverging"":[[0,""#8e0152""],[0.1,""#c51b7d""],[0.2,""#de77ae""],[0.3,""#f1b6da""],[0.4,""#fde0ef""],[0.5,""#f7f7f7""],[0.6,""#e6f5d0""],[0.7,""#b8e186""],[0.8,""#7fbc41""],[0.9,""#4d9221""],[1,""#276419""]]},""xaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""yaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""scene"":{""xaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""yaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""zaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2}},""shapedefaults"":{""line"":{""color"":""#2a3f5f""}},""annotationdefaults"":{""arrowcolor"":""#2a3f5f"",""arrowhead"":0,""arrowwidth"":1},""geo"":{""bgcolor"":""white"",""landcolor"":""#E5ECF6"",""subunitcolor"":""white"",""showland"":true,""showlakes"":true,""lakecolor"":""white""},""title"":{""x"":0.05},""mapbox"":{""style"":""light""}}},""xaxis"":{""anchor"":""y"",""domain"":[0.0,1.0],""title"":{""text"":""Model""},""categoryorder"":""array"",""categoryarray"":[""Mistral-7B-Instruct-v0.2"",""Mixtral-8x7B-Instruct-v0.1"",""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""chat-bison"",""chat-bison (PaLM 2)"",""chat-bison-32k"",""chat-bison-32k (PaLM 2 32K)"",""gemini-pro"",""gpt-3.5-turbo"",""gpt-4"",""gpt-4-turbo"",""llama-2-70b-chat"",""zephyr-7b-beta""]},""yaxis"":{""anchor"":""x"",""domain"":[0.0,1.0],""title"":{""text"":""Words count""}},""legend"":{""title"":{""text"":""Model""},""tracegroupgap"":0},""title"":{""text"":""Plot of words count""},""barmode"":""relative""}}",",model,words_count
|
418 |
0,Mistral-7B-Instruct-v0.2,29.321279761904762
|
419 |
1,Mixtral-8x7B-Instruct-v0.1,54.620369597277694
|
420 |
2,TinyLlama/TinyLlama-1.1B-Chat-v1.0,32.55470545977011
|
@@ -428,10 +432,10 @@ plot_object,header,plot_json,df,arguments
|
|
428 |
10,gpt-4-turbo,38.36012473477448
|
429 |
11,llama-2-70b-chat,95.35066814260509
|
430 |
12,zephyr-7b-beta,31.159257075471697
|
431 |
-
","{""x"": ""model"", ""y"": ""words_count"", ""color"": ""model"", ""labels"": {""model"": ""Model"", ""words_count"": ""
|
432 |
"Figure({
|
433 |
'data': [{'alignmentgroup': 'True',
|
434 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
435 |
'legendgroup': 'Mistral-7B-Instruct-v0.2',
|
436 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
437 |
'name': 'Mistral-7B-Instruct-v0.2',
|
@@ -445,7 +449,7 @@ plot_object,header,plot_json,df,arguments
|
|
445 |
'y': array([2.69413923]),
|
446 |
'yaxis': 'y'},
|
447 |
{'alignmentgroup': 'True',
|
448 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
449 |
'legendgroup': 'Mixtral-8x7B-Instruct-v0.1',
|
450 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
451 |
'name': 'Mixtral-8x7B-Instruct-v0.1',
|
@@ -459,7 +463,7 @@ plot_object,header,plot_json,df,arguments
|
|
459 |
'y': array([2.95690172]),
|
460 |
'yaxis': 'y'},
|
461 |
{'alignmentgroup': 'True',
|
462 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
463 |
'legendgroup': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
464 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
465 |
'name': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
@@ -473,7 +477,7 @@ plot_object,header,plot_json,df,arguments
|
|
473 |
'y': array([3.14663951]),
|
474 |
'yaxis': 'y'},
|
475 |
{'alignmentgroup': 'True',
|
476 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
477 |
'legendgroup': 'chat-bison',
|
478 |
'marker': {'color': '#ab63fa', 'pattern': {'shape': ''}},
|
479 |
'name': 'chat-bison',
|
@@ -487,7 +491,7 @@ plot_object,header,plot_json,df,arguments
|
|
487 |
'y': array([61.46100879]),
|
488 |
'yaxis': 'y'},
|
489 |
{'alignmentgroup': 'True',
|
490 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
491 |
'legendgroup': 'chat-bison (PaLM 2)',
|
492 |
'marker': {'color': '#FFA15A', 'pattern': {'shape': ''}},
|
493 |
'name': 'chat-bison (PaLM 2)',
|
@@ -501,7 +505,7 @@ plot_object,header,plot_json,df,arguments
|
|
501 |
'y': array([57.12081731]),
|
502 |
'yaxis': 'y'},
|
503 |
{'alignmentgroup': 'True',
|
504 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
505 |
'legendgroup': 'chat-bison-32k',
|
506 |
'marker': {'color': '#19d3f3', 'pattern': {'shape': ''}},
|
507 |
'name': 'chat-bison-32k',
|
@@ -515,7 +519,7 @@ plot_object,header,plot_json,df,arguments
|
|
515 |
'y': array([62.01633273]),
|
516 |
'yaxis': 'y'},
|
517 |
{'alignmentgroup': 'True',
|
518 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
519 |
'legendgroup': 'chat-bison-32k (PaLM 2 32K)',
|
520 |
'marker': {'color': '#FF6692', 'pattern': {'shape': ''}},
|
521 |
'name': 'chat-bison-32k (PaLM 2 32K)',
|
@@ -529,7 +533,7 @@ plot_object,header,plot_json,df,arguments
|
|
529 |
'y': array([56.57639874]),
|
530 |
'yaxis': 'y'},
|
531 |
{'alignmentgroup': 'True',
|
532 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
533 |
'legendgroup': 'gemini-pro',
|
534 |
'marker': {'color': '#B6E880', 'pattern': {'shape': ''}},
|
535 |
'name': 'gemini-pro',
|
@@ -543,7 +547,7 @@ plot_object,header,plot_json,df,arguments
|
|
543 |
'y': array([142.50301526]),
|
544 |
'yaxis': 'y'},
|
545 |
{'alignmentgroup': 'True',
|
546 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
547 |
'legendgroup': 'gpt-3.5-turbo',
|
548 |
'marker': {'color': '#FF97FF', 'pattern': {'shape': ''}},
|
549 |
'name': 'gpt-3.5-turbo',
|
@@ -557,7 +561,7 @@ plot_object,header,plot_json,df,arguments
|
|
557 |
'y': array([3.04399416]),
|
558 |
'yaxis': 'y'},
|
559 |
{'alignmentgroup': 'True',
|
560 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
561 |
'legendgroup': 'gpt-4',
|
562 |
'marker': {'color': '#FECB52', 'pattern': {'shape': ''}},
|
563 |
'name': 'gpt-4',
|
@@ -571,7 +575,7 @@ plot_object,header,plot_json,df,arguments
|
|
571 |
'y': array([3.01875517]),
|
572 |
'yaxis': 'y'},
|
573 |
{'alignmentgroup': 'True',
|
574 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
575 |
'legendgroup': 'gpt-4-turbo',
|
576 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
577 |
'name': 'gpt-4-turbo',
|
@@ -585,7 +589,7 @@ plot_object,header,plot_json,df,arguments
|
|
585 |
'y': array([3.0126559]),
|
586 |
'yaxis': 'y'},
|
587 |
{'alignmentgroup': 'True',
|
588 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
589 |
'legendgroup': 'llama-2-70b-chat',
|
590 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
591 |
'name': 'llama-2-70b-chat',
|
@@ -599,7 +603,7 @@ plot_object,header,plot_json,df,arguments
|
|
599 |
'y': array([3.20032418]),
|
600 |
'yaxis': 'y'},
|
601 |
{'alignmentgroup': 'True',
|
602 |
-
'hovertemplate': 'Model=%{x}<br>Chunks mean size (characters)=%{y}<extra></extra>',
|
603 |
'legendgroup': 'zephyr-7b-beta',
|
604 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
605 |
'name': 'zephyr-7b-beta',
|
@@ -615,7 +619,7 @@ plot_object,header,plot_json,df,arguments
|
|
615 |
'layout': {'barmode': 'relative',
|
616 |
'legend': {'title': {'text': 'Model'}, 'tracegroupgap': 0},
|
617 |
'template': '...',
|
618 |
-
'title': {'text': 'Plot of chunks mean size (characters)'},
|
619 |
'xaxis': {'anchor': 'y',
|
620 |
'categoryarray': [Mistral-7B-Instruct-v0.2,
|
621 |
Mixtral-8x7B-Instruct-v0.1,
|
@@ -628,8 +632,8 @@ plot_object,header,plot_json,df,arguments
|
|
628 |
'categoryorder': 'array',
|
629 |
'domain': [0.0, 1.0],
|
630 |
'title': {'text': 'Model'}},
|
631 |
-
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title': {'text': 'Chunks mean size (characters)'}}}
|
632 |
-
})",Plot of chunks mean size (characters),"{""data"":[{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mistral-7B-Instruct-v0.2"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""Mistral-7B-Instruct-v0.2"",""offsetgroup"":""Mistral-7B-Instruct-v0.2"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mistral-7B-Instruct-v0.2""],""xaxis"":""x"",""y"":[2.6941392346739055],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mixtral-8x7B-Instruct-v0.1"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""Mixtral-8x7B-Instruct-v0.1"",""offsetgroup"":""Mixtral-8x7B-Instruct-v0.1"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mixtral-8x7B-Instruct-v0.1""],""xaxis"":""x"",""y"":[2.9569017240855695],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""offsetgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0""],""xaxis"":""x"",""y"":[3.146639511119026],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison"",""marker"":{""color"":""#ab63fa"",""pattern"":{""shape"":""""}},""name"":""chat-bison"",""offsetgroup"":""chat-bison"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison""],""xaxis"":""x"",""y"":[61.46100879376141],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison (PaLM 2)"",""marker"":{""color"":""#FFA15A"",""pattern"":{""shape"":""""}},""name"":""chat-bison (PaLM 2)"",""offsetgroup"":""chat-bison (PaLM 2)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison (PaLM 2)""],""xaxis"":""x"",""y"":[57.12081730998353],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k"",""marker"":{""color"":""#19d3f3"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k"",""offsetgroup"":""chat-bison-32k"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k""],""xaxis"":""x"",""y"":[62.01633272616879],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k (PaLM 2 32K)"",""marker"":{""color"":""#FF6692"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k (PaLM 2 32K)"",""offsetgroup"":""chat-bison-32k (PaLM 2 32K)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k (PaLM 2 32K)""],""xaxis"":""x"",""y"":[56.57639873825073],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gemini-pro"",""marker"":{""color"":""#B6E880"",""pattern"":{""shape"":""""}},""name"":""gemini-pro"",""offsetgroup"":""gemini-pro"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gemini-pro""],""xaxis"":""x"",""y"":[142.5030152620613],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-3.5-turbo"",""marker"":{""color"":""#FF97FF"",""pattern"":{""shape"":""""}},""name"":""gpt-3.5-turbo"",""offsetgroup"":""gpt-3.5-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-3.5-turbo""],""xaxis"":""x"",""y"":[3.0439941593593898],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4"",""marker"":{""color"":""#FECB52"",""pattern"":{""shape"":""""}},""name"":""gpt-4"",""offsetgroup"":""gpt-4"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4""],""xaxis"":""x"",""y"":[3.018755174356351],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4-turbo"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""gpt-4-turbo"",""offsetgroup"":""gpt-4-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4-turbo""],""xaxis"":""x"",""y"":[3.0126559039321035],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""llama-2-70b-chat"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""llama-2-70b-chat"",""offsetgroup"":""llama-2-70b-chat"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""llama-2-70b-chat""],""xaxis"":""x"",""y"":[3.2003241836714382],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""zephyr-7b-beta"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""zephyr-7b-beta"",""offsetgroup"":""zephyr-7b-beta"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""zephyr-7b-beta""],""xaxis"":""x"",""y"":[2.711003271075019],""yaxis"":""y"",""type"":""bar""}],""layout"":{""template"":{""data"":{""histogram2dcontour"":[{""type"":""histogram2dcontour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""choropleth"":[{""type"":""choropleth"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""histogram2d"":[{""type"":""histogram2d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmap"":[{""type"":""heatmap"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmapgl"":[{""type"":""heatmapgl"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""contourcarpet"":[{""type"":""contourcarpet"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""contour"":[{""type"":""contour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""surface"":[{""type"":""surface"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""mesh3d"":[{""type"":""mesh3d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""scatter"":[{""fillpattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2},""type"":""scatter""}],""parcoords"":[{""type"":""parcoords"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolargl"":[{""type"":""scatterpolargl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""bar"":[{""error_x"":{""color"":""#2a3f5f""},""error_y"":{""color"":""#2a3f5f""},""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""bar""}],""scattergeo"":[{""type"":""scattergeo"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolar"":[{""type"":""scatterpolar"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""histogram"":[{""marker"":{""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""histogram""}],""scattergl"":[{""type"":""scattergl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatter3d"":[{""type"":""scatter3d"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattermapbox"":[{""type"":""scattermapbox"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterternary"":[{""type"":""scatterternary"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattercarpet"":[{""type"":""scattercarpet"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""carpet"":[{""aaxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""baxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""type"":""carpet""}],""table"":[{""cells"":{""fill"":{""color"":""#EBF0F8""},""line"":{""color"":""white""}},""header"":{""fill"":{""color"":""#C8D4E3""},""line"":{""color"":""white""}},""type"":""table""}],""barpolar"":[{""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""barpolar""}],""pie"":[{""automargin"":true,""type"":""pie""}]},""layout"":{""autotypenumbers"":""strict"",""colorway"":[""#636efa"",""#EF553B"",""#00cc96"",""#ab63fa"",""#FFA15A"",""#19d3f3"",""#FF6692"",""#B6E880"",""#FF97FF"",""#FECB52""],""font"":{""color"":""#2a3f5f""},""hovermode"":""closest"",""hoverlabel"":{""align"":""left""},""paper_bgcolor"":""white"",""plot_bgcolor"":""#E5ECF6"",""polar"":{""bgcolor"":""#E5ECF6"",""angularaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""radialaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""ternary"":{""bgcolor"":""#E5ECF6"",""aaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""baxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""caxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""coloraxis"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""colorscale"":{""sequential"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""sequentialminus"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""diverging"":[[0,""#8e0152""],[0.1,""#c51b7d""],[0.2,""#de77ae""],[0.3,""#f1b6da""],[0.4,""#fde0ef""],[0.5,""#f7f7f7""],[0.6,""#e6f5d0""],[0.7,""#b8e186""],[0.8,""#7fbc41""],[0.9,""#4d9221""],[1,""#276419""]]},""xaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""yaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""scene"":{""xaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""yaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""zaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2}},""shapedefaults"":{""line"":{""color"":""#2a3f5f""}},""annotationdefaults"":{""arrowcolor"":""#2a3f5f"",""arrowhead"":0,""arrowwidth"":1},""geo"":{""bgcolor"":""white"",""landcolor"":""#E5ECF6"",""subunitcolor"":""white"",""showland"":true,""showlakes"":true,""lakecolor"":""white""},""title"":{""x"":0.05},""mapbox"":{""style"":""light""}}},""xaxis"":{""anchor"":""y"",""domain"":[0.0,1.0],""title"":{""text"":""Model""},""categoryorder"":""array"",""categoryarray"":[""Mistral-7B-Instruct-v0.2"",""Mixtral-8x7B-Instruct-v0.1"",""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""chat-bison"",""chat-bison (PaLM 2)"",""chat-bison-32k"",""chat-bison-32k (PaLM 2 32K)"",""gemini-pro"",""gpt-3.5-turbo"",""gpt-4"",""gpt-4-turbo"",""llama-2-70b-chat"",""zephyr-7b-beta""]},""yaxis"":{""anchor"":""x"",""domain"":[0.0,1.0],""title"":{""text"":""Chunks mean size (characters)""}},""legend"":{""title"":{""text"":""Model""},""tracegroupgap"":0},""title"":{""text"":""Plot of chunks mean size (characters)""},""barmode"":""relative""}}",",model,chunk_sizes_mean
|
633 |
0,Mistral-7B-Instruct-v0.2,2.6941392346739055
|
634 |
1,Mixtral-8x7B-Instruct-v0.1,2.9569017240855695
|
635 |
2,TinyLlama/TinyLlama-1.1B-Chat-v1.0,3.146639511119026
|
@@ -643,4 +647,4 @@ plot_object,header,plot_json,df,arguments
|
|
643 |
10,gpt-4-turbo,3.0126559039321035
|
644 |
11,llama-2-70b-chat,3.2003241836714382
|
645 |
12,zephyr-7b-beta,2.711003271075019
|
646 |
-
","{""x"": ""model"", ""y"": ""chunk_sizes_mean"", ""color"": ""model"", ""labels"": {""model"": ""Model"", ""chunk_sizes_mean"": ""Chunks mean size (characters)""}, ""title"": ""Plot of chunks mean size (characters)""}"
|
|
|
1 |
+
plot_object,header,plot_json,df,arguments,description
|
2 |
"Figure({
|
3 |
'data': [{'alignmentgroup': 'True',
|
4 |
'hovertemplate': 'Model=%{x}<br>Execution time (s)=%{y}<extra></extra>',
|
|
|
213 |
10,gpt-4-turbo,15.852052640759334
|
214 |
11,llama-2-70b-chat,6.065365233652719
|
215 |
12,zephyr-7b-beta,3.389894526934474
|
216 |
+
","{""x"": ""model"", ""y"": ""execution_time"", ""color"": ""model"", ""labels"": {""model"": ""Model"", ""execution_time"": ""Execution time (s)""}, ""title"": ""Plot of execution time (s)""}","This plot shows averaged response time for one query for each model.
|
217 |
+
|
218 |
+
We used `time.time()` result saved to variable before making the call to API and compared it to `time.time()` result after receiving the results.
|
219 |
+
|
220 |
+
It is also important to note that we used litellm python library for all of the models which adds some overhead compared to pure curl calls."
|
221 |
"Figure({
|
222 |
'data': [{'alignmentgroup': 'True',
|
223 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
224 |
'legendgroup': 'Mistral-7B-Instruct-v0.2',
|
225 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
226 |
'name': 'Mistral-7B-Instruct-v0.2',
|
|
|
234 |
'y': array([29.32127976]),
|
235 |
'yaxis': 'y'},
|
236 |
{'alignmentgroup': 'True',
|
237 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
238 |
'legendgroup': 'Mixtral-8x7B-Instruct-v0.1',
|
239 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
240 |
'name': 'Mixtral-8x7B-Instruct-v0.1',
|
|
|
248 |
'y': array([54.6203696]),
|
249 |
'yaxis': 'y'},
|
250 |
{'alignmentgroup': 'True',
|
251 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
252 |
'legendgroup': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
253 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
254 |
'name': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
|
|
262 |
'y': array([32.55470546]),
|
263 |
'yaxis': 'y'},
|
264 |
{'alignmentgroup': 'True',
|
265 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
266 |
'legendgroup': 'chat-bison',
|
267 |
'marker': {'color': '#ab63fa', 'pattern': {'shape': ''}},
|
268 |
'name': 'chat-bison',
|
|
|
276 |
'y': array([49.]),
|
277 |
'yaxis': 'y'},
|
278 |
{'alignmentgroup': 'True',
|
279 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
280 |
'legendgroup': 'chat-bison (PaLM 2)',
|
281 |
'marker': {'color': '#FFA15A', 'pattern': {'shape': ''}},
|
282 |
'name': 'chat-bison (PaLM 2)',
|
|
|
290 |
'y': array([40.9371875]),
|
291 |
'yaxis': 'y'},
|
292 |
{'alignmentgroup': 'True',
|
293 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
294 |
'legendgroup': 'chat-bison-32k',
|
295 |
'marker': {'color': '#19d3f3', 'pattern': {'shape': ''}},
|
296 |
'name': 'chat-bison-32k',
|
|
|
304 |
'y': array([48.025]),
|
305 |
'yaxis': 'y'},
|
306 |
{'alignmentgroup': 'True',
|
307 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
308 |
'legendgroup': 'chat-bison-32k (PaLM 2 32K)',
|
309 |
'marker': {'color': '#FF6692', 'pattern': {'shape': ''}},
|
310 |
'name': 'chat-bison-32k (PaLM 2 32K)',
|
|
|
318 |
'y': array([38.72477679]),
|
319 |
'yaxis': 'y'},
|
320 |
{'alignmentgroup': 'True',
|
321 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
322 |
'legendgroup': 'gemini-pro',
|
323 |
'marker': {'color': '#B6E880', 'pattern': {'shape': ''}},
|
324 |
'name': 'gemini-pro',
|
|
|
332 |
'y': array([39.69346182]),
|
333 |
'yaxis': 'y'},
|
334 |
{'alignmentgroup': 'True',
|
335 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
336 |
'legendgroup': 'gpt-3.5-turbo',
|
337 |
'marker': {'color': '#FF97FF', 'pattern': {'shape': ''}},
|
338 |
'name': 'gpt-3.5-turbo',
|
|
|
346 |
'y': array([39.25851284]),
|
347 |
'yaxis': 'y'},
|
348 |
{'alignmentgroup': 'True',
|
349 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
350 |
'legendgroup': 'gpt-4',
|
351 |
'marker': {'color': '#FECB52', 'pattern': {'shape': ''}},
|
352 |
'name': 'gpt-4',
|
|
|
360 |
'y': array([32.90737496]),
|
361 |
'yaxis': 'y'},
|
362 |
{'alignmentgroup': 'True',
|
363 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
364 |
'legendgroup': 'gpt-4-turbo',
|
365 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
366 |
'name': 'gpt-4-turbo',
|
|
|
374 |
'y': array([38.36012473]),
|
375 |
'yaxis': 'y'},
|
376 |
{'alignmentgroup': 'True',
|
377 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
378 |
'legendgroup': 'llama-2-70b-chat',
|
379 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
380 |
'name': 'llama-2-70b-chat',
|
|
|
388 |
'y': array([95.35066814]),
|
389 |
'yaxis': 'y'},
|
390 |
{'alignmentgroup': 'True',
|
391 |
+
'hovertemplate': 'Model=%{x}<br>Output words count=%{y}<extra></extra>',
|
392 |
'legendgroup': 'zephyr-7b-beta',
|
393 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
394 |
'name': 'zephyr-7b-beta',
|
|
|
404 |
'layout': {'barmode': 'relative',
|
405 |
'legend': {'title': {'text': 'Model'}, 'tracegroupgap': 0},
|
406 |
'template': '...',
|
407 |
+
'title': {'text': 'Plot of output words count'},
|
408 |
'xaxis': {'anchor': 'y',
|
409 |
'categoryarray': [Mistral-7B-Instruct-v0.2,
|
410 |
Mixtral-8x7B-Instruct-v0.1,
|
|
|
417 |
'categoryorder': 'array',
|
418 |
'domain': [0.0, 1.0],
|
419 |
'title': {'text': 'Model'}},
|
420 |
+
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title': {'text': 'Output words count'}}}
|
421 |
+
})",Plot of output words count,"{""data"":[{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mistral-7B-Instruct-v0.2"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""Mistral-7B-Instruct-v0.2"",""offsetgroup"":""Mistral-7B-Instruct-v0.2"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mistral-7B-Instruct-v0.2""],""xaxis"":""x"",""y"":[29.321279761904762],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mixtral-8x7B-Instruct-v0.1"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""Mixtral-8x7B-Instruct-v0.1"",""offsetgroup"":""Mixtral-8x7B-Instruct-v0.1"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mixtral-8x7B-Instruct-v0.1""],""xaxis"":""x"",""y"":[54.620369597277694],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""offsetgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0""],""xaxis"":""x"",""y"":[32.55470545977011],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison"",""marker"":{""color"":""#ab63fa"",""pattern"":{""shape"":""""}},""name"":""chat-bison"",""offsetgroup"":""chat-bison"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison""],""xaxis"":""x"",""y"":[49.0],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison (PaLM 2)"",""marker"":{""color"":""#FFA15A"",""pattern"":{""shape"":""""}},""name"":""chat-bison (PaLM 2)"",""offsetgroup"":""chat-bison (PaLM 2)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison (PaLM 2)""],""xaxis"":""x"",""y"":[40.9371875],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k"",""marker"":{""color"":""#19d3f3"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k"",""offsetgroup"":""chat-bison-32k"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k""],""xaxis"":""x"",""y"":[48.025],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k (PaLM 2 32K)"",""marker"":{""color"":""#FF6692"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k (PaLM 2 32K)"",""offsetgroup"":""chat-bison-32k (PaLM 2 32K)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k (PaLM 2 32K)""],""xaxis"":""x"",""y"":[38.72477678571428],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gemini-pro"",""marker"":{""color"":""#B6E880"",""pattern"":{""shape"":""""}},""name"":""gemini-pro"",""offsetgroup"":""gemini-pro"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gemini-pro""],""xaxis"":""x"",""y"":[39.69346182236394],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-3.5-turbo"",""marker"":{""color"":""#FF97FF"",""pattern"":{""shape"":""""}},""name"":""gpt-3.5-turbo"",""offsetgroup"":""gpt-3.5-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-3.5-turbo""],""xaxis"":""x"",""y"":[39.25851283971182],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4"",""marker"":{""color"":""#FECB52"",""pattern"":{""shape"":""""}},""name"":""gpt-4"",""offsetgroup"":""gpt-4"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4""],""xaxis"":""x"",""y"":[32.907374959094994],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4-turbo"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""gpt-4-turbo"",""offsetgroup"":""gpt-4-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4-turbo""],""xaxis"":""x"",""y"":[38.36012473477448],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""llama-2-70b-chat"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""llama-2-70b-chat"",""offsetgroup"":""llama-2-70b-chat"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""llama-2-70b-chat""],""xaxis"":""x"",""y"":[95.35066814260509],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eOutput words count=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""zephyr-7b-beta"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""zephyr-7b-beta"",""offsetgroup"":""zephyr-7b-beta"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""zephyr-7b-beta""],""xaxis"":""x"",""y"":[31.159257075471697],""yaxis"":""y"",""type"":""bar""}],""layout"":{""template"":{""data"":{""histogram2dcontour"":[{""type"":""histogram2dcontour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""choropleth"":[{""type"":""choropleth"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""histogram2d"":[{""type"":""histogram2d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmap"":[{""type"":""heatmap"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmapgl"":[{""type"":""heatmapgl"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""contourcarpet"":[{""type"":""contourcarpet"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""contour"":[{""type"":""contour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""surface"":[{""type"":""surface"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""mesh3d"":[{""type"":""mesh3d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""scatter"":[{""fillpattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2},""type"":""scatter""}],""parcoords"":[{""type"":""parcoords"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolargl"":[{""type"":""scatterpolargl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""bar"":[{""error_x"":{""color"":""#2a3f5f""},""error_y"":{""color"":""#2a3f5f""},""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""bar""}],""scattergeo"":[{""type"":""scattergeo"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolar"":[{""type"":""scatterpolar"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""histogram"":[{""marker"":{""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""histogram""}],""scattergl"":[{""type"":""scattergl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatter3d"":[{""type"":""scatter3d"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattermapbox"":[{""type"":""scattermapbox"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterternary"":[{""type"":""scatterternary"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattercarpet"":[{""type"":""scattercarpet"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""carpet"":[{""aaxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""baxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""type"":""carpet""}],""table"":[{""cells"":{""fill"":{""color"":""#EBF0F8""},""line"":{""color"":""white""}},""header"":{""fill"":{""color"":""#C8D4E3""},""line"":{""color"":""white""}},""type"":""table""}],""barpolar"":[{""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""barpolar""}],""pie"":[{""automargin"":true,""type"":""pie""}]},""layout"":{""autotypenumbers"":""strict"",""colorway"":[""#636efa"",""#EF553B"",""#00cc96"",""#ab63fa"",""#FFA15A"",""#19d3f3"",""#FF6692"",""#B6E880"",""#FF97FF"",""#FECB52""],""font"":{""color"":""#2a3f5f""},""hovermode"":""closest"",""hoverlabel"":{""align"":""left""},""paper_bgcolor"":""white"",""plot_bgcolor"":""#E5ECF6"",""polar"":{""bgcolor"":""#E5ECF6"",""angularaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""radialaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""ternary"":{""bgcolor"":""#E5ECF6"",""aaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""baxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""caxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""coloraxis"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""colorscale"":{""sequential"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""sequentialminus"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""diverging"":[[0,""#8e0152""],[0.1,""#c51b7d""],[0.2,""#de77ae""],[0.3,""#f1b6da""],[0.4,""#fde0ef""],[0.5,""#f7f7f7""],[0.6,""#e6f5d0""],[0.7,""#b8e186""],[0.8,""#7fbc41""],[0.9,""#4d9221""],[1,""#276419""]]},""xaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""yaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""scene"":{""xaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""yaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""zaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2}},""shapedefaults"":{""line"":{""color"":""#2a3f5f""}},""annotationdefaults"":{""arrowcolor"":""#2a3f5f"",""arrowhead"":0,""arrowwidth"":1},""geo"":{""bgcolor"":""white"",""landcolor"":""#E5ECF6"",""subunitcolor"":""white"",""showland"":true,""showlakes"":true,""lakecolor"":""white""},""title"":{""x"":0.05},""mapbox"":{""style"":""light""}}},""xaxis"":{""anchor"":""y"",""domain"":[0.0,1.0],""title"":{""text"":""Model""},""categoryorder"":""array"",""categoryarray"":[""Mistral-7B-Instruct-v0.2"",""Mixtral-8x7B-Instruct-v0.1"",""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""chat-bison"",""chat-bison (PaLM 2)"",""chat-bison-32k"",""chat-bison-32k (PaLM 2 32K)"",""gemini-pro"",""gpt-3.5-turbo"",""gpt-4"",""gpt-4-turbo"",""llama-2-70b-chat"",""zephyr-7b-beta""]},""yaxis"":{""anchor"":""x"",""domain"":[0.0,1.0],""title"":{""text"":""Output words count""}},""legend"":{""title"":{""text"":""Model""},""tracegroupgap"":0},""title"":{""text"":""Plot of output words count""},""barmode"":""relative""}}",",model,words_count
|
422 |
0,Mistral-7B-Instruct-v0.2,29.321279761904762
|
423 |
1,Mixtral-8x7B-Instruct-v0.1,54.620369597277694
|
424 |
2,TinyLlama/TinyLlama-1.1B-Chat-v1.0,32.55470545977011
|
|
|
432 |
10,gpt-4-turbo,38.36012473477448
|
433 |
11,llama-2-70b-chat,95.35066814260509
|
434 |
12,zephyr-7b-beta,31.159257075471697
|
435 |
+
","{""x"": ""model"", ""y"": ""words_count"", ""color"": ""model"", ""labels"": {""model"": ""Model"", ""words_count"": ""Output words count""}, ""title"": ""Plot of output words count""}",
|
436 |
"Figure({
|
437 |
'data': [{'alignmentgroup': 'True',
|
438 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
439 |
'legendgroup': 'Mistral-7B-Instruct-v0.2',
|
440 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
441 |
'name': 'Mistral-7B-Instruct-v0.2',
|
|
|
449 |
'y': array([2.69413923]),
|
450 |
'yaxis': 'y'},
|
451 |
{'alignmentgroup': 'True',
|
452 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
453 |
'legendgroup': 'Mixtral-8x7B-Instruct-v0.1',
|
454 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
455 |
'name': 'Mixtral-8x7B-Instruct-v0.1',
|
|
|
463 |
'y': array([2.95690172]),
|
464 |
'yaxis': 'y'},
|
465 |
{'alignmentgroup': 'True',
|
466 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
467 |
'legendgroup': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
468 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
469 |
'name': 'TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
|
|
477 |
'y': array([3.14663951]),
|
478 |
'yaxis': 'y'},
|
479 |
{'alignmentgroup': 'True',
|
480 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
481 |
'legendgroup': 'chat-bison',
|
482 |
'marker': {'color': '#ab63fa', 'pattern': {'shape': ''}},
|
483 |
'name': 'chat-bison',
|
|
|
491 |
'y': array([61.46100879]),
|
492 |
'yaxis': 'y'},
|
493 |
{'alignmentgroup': 'True',
|
494 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
495 |
'legendgroup': 'chat-bison (PaLM 2)',
|
496 |
'marker': {'color': '#FFA15A', 'pattern': {'shape': ''}},
|
497 |
'name': 'chat-bison (PaLM 2)',
|
|
|
505 |
'y': array([57.12081731]),
|
506 |
'yaxis': 'y'},
|
507 |
{'alignmentgroup': 'True',
|
508 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
509 |
'legendgroup': 'chat-bison-32k',
|
510 |
'marker': {'color': '#19d3f3', 'pattern': {'shape': ''}},
|
511 |
'name': 'chat-bison-32k',
|
|
|
519 |
'y': array([62.01633273]),
|
520 |
'yaxis': 'y'},
|
521 |
{'alignmentgroup': 'True',
|
522 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
523 |
'legendgroup': 'chat-bison-32k (PaLM 2 32K)',
|
524 |
'marker': {'color': '#FF6692', 'pattern': {'shape': ''}},
|
525 |
'name': 'chat-bison-32k (PaLM 2 32K)',
|
|
|
533 |
'y': array([56.57639874]),
|
534 |
'yaxis': 'y'},
|
535 |
{'alignmentgroup': 'True',
|
536 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
537 |
'legendgroup': 'gemini-pro',
|
538 |
'marker': {'color': '#B6E880', 'pattern': {'shape': ''}},
|
539 |
'name': 'gemini-pro',
|
|
|
547 |
'y': array([142.50301526]),
|
548 |
'yaxis': 'y'},
|
549 |
{'alignmentgroup': 'True',
|
550 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
551 |
'legendgroup': 'gpt-3.5-turbo',
|
552 |
'marker': {'color': '#FF97FF', 'pattern': {'shape': ''}},
|
553 |
'name': 'gpt-3.5-turbo',
|
|
|
561 |
'y': array([3.04399416]),
|
562 |
'yaxis': 'y'},
|
563 |
{'alignmentgroup': 'True',
|
564 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
565 |
'legendgroup': 'gpt-4',
|
566 |
'marker': {'color': '#FECB52', 'pattern': {'shape': ''}},
|
567 |
'name': 'gpt-4',
|
|
|
575 |
'y': array([3.01875517]),
|
576 |
'yaxis': 'y'},
|
577 |
{'alignmentgroup': 'True',
|
578 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
579 |
'legendgroup': 'gpt-4-turbo',
|
580 |
'marker': {'color': '#636efa', 'pattern': {'shape': ''}},
|
581 |
'name': 'gpt-4-turbo',
|
|
|
589 |
'y': array([3.0126559]),
|
590 |
'yaxis': 'y'},
|
591 |
{'alignmentgroup': 'True',
|
592 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
593 |
'legendgroup': 'llama-2-70b-chat',
|
594 |
'marker': {'color': '#EF553B', 'pattern': {'shape': ''}},
|
595 |
'name': 'llama-2-70b-chat',
|
|
|
603 |
'y': array([3.20032418]),
|
604 |
'yaxis': 'y'},
|
605 |
{'alignmentgroup': 'True',
|
606 |
+
'hovertemplate': 'Model=%{x}<br>Chunks mean size (in characters)=%{y}<extra></extra>',
|
607 |
'legendgroup': 'zephyr-7b-beta',
|
608 |
'marker': {'color': '#00cc96', 'pattern': {'shape': ''}},
|
609 |
'name': 'zephyr-7b-beta',
|
|
|
619 |
'layout': {'barmode': 'relative',
|
620 |
'legend': {'title': {'text': 'Model'}, 'tracegroupgap': 0},
|
621 |
'template': '...',
|
622 |
+
'title': {'text': 'Plot of chunks mean size (in characters)'},
|
623 |
'xaxis': {'anchor': 'y',
|
624 |
'categoryarray': [Mistral-7B-Instruct-v0.2,
|
625 |
Mixtral-8x7B-Instruct-v0.1,
|
|
|
632 |
'categoryorder': 'array',
|
633 |
'domain': [0.0, 1.0],
|
634 |
'title': {'text': 'Model'}},
|
635 |
+
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title': {'text': 'Chunks mean size (in characters)'}}}
|
636 |
+
})",Plot of chunks mean size (in characters),"{""data"":[{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mistral-7B-Instruct-v0.2"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""Mistral-7B-Instruct-v0.2"",""offsetgroup"":""Mistral-7B-Instruct-v0.2"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mistral-7B-Instruct-v0.2""],""xaxis"":""x"",""y"":[2.6941392346739055],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Mixtral-8x7B-Instruct-v0.1"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""Mixtral-8x7B-Instruct-v0.1"",""offsetgroup"":""Mixtral-8x7B-Instruct-v0.1"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""Mixtral-8x7B-Instruct-v0.1""],""xaxis"":""x"",""y"":[2.9569017240855695],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""offsetgroup"":""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0""],""xaxis"":""x"",""y"":[3.146639511119026],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison"",""marker"":{""color"":""#ab63fa"",""pattern"":{""shape"":""""}},""name"":""chat-bison"",""offsetgroup"":""chat-bison"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison""],""xaxis"":""x"",""y"":[61.46100879376141],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison (PaLM 2)"",""marker"":{""color"":""#FFA15A"",""pattern"":{""shape"":""""}},""name"":""chat-bison (PaLM 2)"",""offsetgroup"":""chat-bison (PaLM 2)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison (PaLM 2)""],""xaxis"":""x"",""y"":[57.12081730998353],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k"",""marker"":{""color"":""#19d3f3"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k"",""offsetgroup"":""chat-bison-32k"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k""],""xaxis"":""x"",""y"":[62.01633272616879],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""chat-bison-32k (PaLM 2 32K)"",""marker"":{""color"":""#FF6692"",""pattern"":{""shape"":""""}},""name"":""chat-bison-32k (PaLM 2 32K)"",""offsetgroup"":""chat-bison-32k (PaLM 2 32K)"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""chat-bison-32k (PaLM 2 32K)""],""xaxis"":""x"",""y"":[56.57639873825073],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gemini-pro"",""marker"":{""color"":""#B6E880"",""pattern"":{""shape"":""""}},""name"":""gemini-pro"",""offsetgroup"":""gemini-pro"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gemini-pro""],""xaxis"":""x"",""y"":[142.5030152620613],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-3.5-turbo"",""marker"":{""color"":""#FF97FF"",""pattern"":{""shape"":""""}},""name"":""gpt-3.5-turbo"",""offsetgroup"":""gpt-3.5-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-3.5-turbo""],""xaxis"":""x"",""y"":[3.0439941593593898],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4"",""marker"":{""color"":""#FECB52"",""pattern"":{""shape"":""""}},""name"":""gpt-4"",""offsetgroup"":""gpt-4"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4""],""xaxis"":""x"",""y"":[3.018755174356351],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""gpt-4-turbo"",""marker"":{""color"":""#636efa"",""pattern"":{""shape"":""""}},""name"":""gpt-4-turbo"",""offsetgroup"":""gpt-4-turbo"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""gpt-4-turbo""],""xaxis"":""x"",""y"":[3.0126559039321035],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""llama-2-70b-chat"",""marker"":{""color"":""#EF553B"",""pattern"":{""shape"":""""}},""name"":""llama-2-70b-chat"",""offsetgroup"":""llama-2-70b-chat"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""llama-2-70b-chat""],""xaxis"":""x"",""y"":[3.2003241836714382],""yaxis"":""y"",""type"":""bar""},{""alignmentgroup"":""True"",""hovertemplate"":""Model=%{x}\u003cbr\u003eChunks mean size (in characters)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""zephyr-7b-beta"",""marker"":{""color"":""#00cc96"",""pattern"":{""shape"":""""}},""name"":""zephyr-7b-beta"",""offsetgroup"":""zephyr-7b-beta"",""orientation"":""v"",""showlegend"":true,""textposition"":""auto"",""x"":[""zephyr-7b-beta""],""xaxis"":""x"",""y"":[2.711003271075019],""yaxis"":""y"",""type"":""bar""}],""layout"":{""template"":{""data"":{""histogram2dcontour"":[{""type"":""histogram2dcontour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""choropleth"":[{""type"":""choropleth"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""histogram2d"":[{""type"":""histogram2d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmap"":[{""type"":""heatmap"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmapgl"":[{""type"":""heatmapgl"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""contourcarpet"":[{""type"":""contourcarpet"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""contour"":[{""type"":""contour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""surface"":[{""type"":""surface"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""mesh3d"":[{""type"":""mesh3d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""scatter"":[{""fillpattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2},""type"":""scatter""}],""parcoords"":[{""type"":""parcoords"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolargl"":[{""type"":""scatterpolargl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""bar"":[{""error_x"":{""color"":""#2a3f5f""},""error_y"":{""color"":""#2a3f5f""},""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""bar""}],""scattergeo"":[{""type"":""scattergeo"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolar"":[{""type"":""scatterpolar"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""histogram"":[{""marker"":{""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""histogram""}],""scattergl"":[{""type"":""scattergl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatter3d"":[{""type"":""scatter3d"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattermapbox"":[{""type"":""scattermapbox"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterternary"":[{""type"":""scatterternary"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattercarpet"":[{""type"":""scattercarpet"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""carpet"":[{""aaxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""baxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""type"":""carpet""}],""table"":[{""cells"":{""fill"":{""color"":""#EBF0F8""},""line"":{""color"":""white""}},""header"":{""fill"":{""color"":""#C8D4E3""},""line"":{""color"":""white""}},""type"":""table""}],""barpolar"":[{""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""barpolar""}],""pie"":[{""automargin"":true,""type"":""pie""}]},""layout"":{""autotypenumbers"":""strict"",""colorway"":[""#636efa"",""#EF553B"",""#00cc96"",""#ab63fa"",""#FFA15A"",""#19d3f3"",""#FF6692"",""#B6E880"",""#FF97FF"",""#FECB52""],""font"":{""color"":""#2a3f5f""},""hovermode"":""closest"",""hoverlabel"":{""align"":""left""},""paper_bgcolor"":""white"",""plot_bgcolor"":""#E5ECF6"",""polar"":{""bgcolor"":""#E5ECF6"",""angularaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""radialaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""ternary"":{""bgcolor"":""#E5ECF6"",""aaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""baxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""caxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""coloraxis"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""colorscale"":{""sequential"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""sequentialminus"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""diverging"":[[0,""#8e0152""],[0.1,""#c51b7d""],[0.2,""#de77ae""],[0.3,""#f1b6da""],[0.4,""#fde0ef""],[0.5,""#f7f7f7""],[0.6,""#e6f5d0""],[0.7,""#b8e186""],[0.8,""#7fbc41""],[0.9,""#4d9221""],[1,""#276419""]]},""xaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""yaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""scene"":{""xaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""yaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""zaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2}},""shapedefaults"":{""line"":{""color"":""#2a3f5f""}},""annotationdefaults"":{""arrowcolor"":""#2a3f5f"",""arrowhead"":0,""arrowwidth"":1},""geo"":{""bgcolor"":""white"",""landcolor"":""#E5ECF6"",""subunitcolor"":""white"",""showland"":true,""showlakes"":true,""lakecolor"":""white""},""title"":{""x"":0.05},""mapbox"":{""style"":""light""}}},""xaxis"":{""anchor"":""y"",""domain"":[0.0,1.0],""title"":{""text"":""Model""},""categoryorder"":""array"",""categoryarray"":[""Mistral-7B-Instruct-v0.2"",""Mixtral-8x7B-Instruct-v0.1"",""TinyLlama\u002fTinyLlama-1.1B-Chat-v1.0"",""chat-bison"",""chat-bison (PaLM 2)"",""chat-bison-32k"",""chat-bison-32k (PaLM 2 32K)"",""gemini-pro"",""gpt-3.5-turbo"",""gpt-4"",""gpt-4-turbo"",""llama-2-70b-chat"",""zephyr-7b-beta""]},""yaxis"":{""anchor"":""x"",""domain"":[0.0,1.0],""title"":{""text"":""Chunks mean size (in characters)""}},""legend"":{""title"":{""text"":""Model""},""tracegroupgap"":0},""title"":{""text"":""Plot of chunks mean size (in characters)""},""barmode"":""relative""}}",",model,chunk_sizes_mean
|
637 |
0,Mistral-7B-Instruct-v0.2,2.6941392346739055
|
638 |
1,Mixtral-8x7B-Instruct-v0.1,2.9569017240855695
|
639 |
2,TinyLlama/TinyLlama-1.1B-Chat-v1.0,3.146639511119026
|
|
|
647 |
10,gpt-4-turbo,3.0126559039321035
|
648 |
11,llama-2-70b-chat,3.2003241836714382
|
649 |
12,zephyr-7b-beta,2.711003271075019
|
650 |
+
","{""x"": ""model"", ""y"": ""chunk_sizes_mean"", ""color"": ""model"", ""labels"": {""model"": ""Model"", ""chunk_sizes_mean"": ""Chunks mean size (in characters)""}, ""title"": ""Plot of chunks mean size (in characters)""}",
|
data/time_of_day_plots.csv
CHANGED
@@ -430,6 +430,45 @@ plot_object,header,plot_json,df,arguments
|
|
430 |
184,zephyr-7b-beta,midnight,3.7253047794103624,217.82083333333333,33.67916666666667,Hugging Face Inference Endpoint
|
431 |
185,zephyr-7b-beta,night,3.6954557319482166,216.55833333333334,33.46666666666667,Hugging Face Inference Endpoint
|
432 |
","{""x"": ""time_of_day"", ""y"": ""execution_time"", ""color"": ""model"", ""barmode"": ""group"", ""category_orders"": {""time_of_day"": [""early morning"", ""morning"", ""afternoon"", ""late afternoon"", ""evening"", ""late evening"", ""midnight"", ""night""]}, ""labels"": {""time_of_day"": ""Time of day"", ""execution_time"": ""Execution Time (s)"", ""model"": ""Model""}, ""title"": ""Execution time for different times of the day""}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
433 |
"Figure({
|
434 |
'data': [{'hovertemplate': 'Time of day=%{x}<br>Execution Time (s)=%{y}<extra></extra>',
|
435 |
'legendgroup': '',
|
|
|
430 |
184,zephyr-7b-beta,midnight,3.7253047794103624,217.82083333333333,33.67916666666667,Hugging Face Inference Endpoint
|
431 |
185,zephyr-7b-beta,night,3.6954557319482166,216.55833333333334,33.46666666666667,Hugging Face Inference Endpoint
|
432 |
","{""x"": ""time_of_day"", ""y"": ""execution_time"", ""color"": ""model"", ""barmode"": ""group"", ""category_orders"": {""time_of_day"": [""early morning"", ""morning"", ""afternoon"", ""late afternoon"", ""evening"", ""late evening"", ""midnight"", ""night""]}, ""labels"": {""time_of_day"": ""Time of day"", ""execution_time"": ""Execution Time (s)"", ""model"": ""Model""}, ""title"": ""Execution time for different times of the day""}"
|
433 |
+
"Figure({
|
434 |
+
'data': [{'hovertemplate': ('Provider=Hugging Face Inferenc' ... 'n Time (s)=%{y}<extra></extra>'),
|
435 |
+
'legendgroup': 'Hugging Face Inference Endpoint',
|
436 |
+
'line': {'color': '#636efa', 'dash': 'solid'},
|
437 |
+
'marker': {'symbol': 'circle'},
|
438 |
+
'mode': 'lines+markers',
|
439 |
+
'name': 'Hugging Face Inference Endpoint',
|
440 |
+
'orientation': 'v',
|
441 |
+
'showlegend': True,
|
442 |
+
'type': 'scatter',
|
443 |
+
'x': array(['morning', 'afternoon', 'late afternoon', 'evening'], dtype=object),
|
444 |
+
'xaxis': 'x',
|
445 |
+
'y': array([3.734026 , 3.22897372, 3.20486431, 3.39764007]),
|
446 |
+
'yaxis': 'y'},
|
447 |
+
{'hovertemplate': ('Provider=Together AI<br>Time o' ... 'n Time (s)=%{y}<extra></extra>'),
|
448 |
+
'legendgroup': 'Together AI',
|
449 |
+
'line': {'color': '#EF553B', 'dash': 'solid'},
|
450 |
+
'marker': {'symbol': 'circle'},
|
451 |
+
'mode': 'lines+markers',
|
452 |
+
'name': 'Together AI',
|
453 |
+
'orientation': 'v',
|
454 |
+
'showlegend': True,
|
455 |
+
'type': 'scatter',
|
456 |
+
'x': array(['morning', 'afternoon', 'late afternoon', 'evening'], dtype=object),
|
457 |
+
'xaxis': 'x',
|
458 |
+
'y': array([ 1.81441077, 3.43125006, 3.40168245, 11.98982314]),
|
459 |
+
'yaxis': 'y'}],
|
460 |
+
'layout': {'legend': {'title': {'text': 'Provider'}, 'tracegroupgap': 0},
|
461 |
+
'template': '...',
|
462 |
+
'title': {'text': 'Execution time for different times of the day for different providers'},
|
463 |
+
'xaxis': {'anchor': 'y',
|
464 |
+
'categoryarray': [early morning, morning, afternoon, late
|
465 |
+
afternoon, evening, late evening,
|
466 |
+
midnight, night],
|
467 |
+
'categoryorder': 'array',
|
468 |
+
'domain': [0.0, 1.0],
|
469 |
+
'title': {'text': 'Time of day'}},
|
470 |
+
'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title': {'text': 'Execution Time (s)'}}}
|
471 |
+
})",Time of the day plot for different providers,"{""data"":[{""hovertemplate"":""Provider=Hugging Face Inference Endpoint\u003cbr\u003eTime of day=%{x}\u003cbr\u003eExecution Time (s)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Hugging Face Inference Endpoint"",""line"":{""color"":""#636efa"",""dash"":""solid""},""marker"":{""symbol"":""circle""},""mode"":""lines+markers"",""name"":""Hugging Face Inference Endpoint"",""orientation"":""v"",""showlegend"":true,""x"":[""morning"",""afternoon"",""late afternoon"",""evening""],""xaxis"":""x"",""y"":[3.734026002883911,3.228973722457886,3.2048643112182615,3.397640073299408],""yaxis"":""y"",""type"":""scatter""},{""hovertemplate"":""Provider=Together AI\u003cbr\u003eTime of day=%{x}\u003cbr\u003eExecution Time (s)=%{y}\u003cextra\u003e\u003c\u002fextra\u003e"",""legendgroup"":""Together AI"",""line"":{""color"":""#EF553B"",""dash"":""solid""},""marker"":{""symbol"":""circle""},""mode"":""lines+markers"",""name"":""Together AI"",""orientation"":""v"",""showlegend"":true,""x"":[""morning"",""afternoon"",""late afternoon"",""evening""],""xaxis"":""x"",""y"":[1.8144107659657795,3.4312500613076344,3.4016824527220293,11.989823137010847],""yaxis"":""y"",""type"":""scatter""}],""layout"":{""template"":{""data"":{""histogram2dcontour"":[{""type"":""histogram2dcontour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""choropleth"":[{""type"":""choropleth"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""histogram2d"":[{""type"":""histogram2d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmap"":[{""type"":""heatmap"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""heatmapgl"":[{""type"":""heatmapgl"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""contourcarpet"":[{""type"":""contourcarpet"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""contour"":[{""type"":""contour"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""surface"":[{""type"":""surface"",""colorbar"":{""outlinewidth"":0,""ticks"":""""},""colorscale"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]]}],""mesh3d"":[{""type"":""mesh3d"",""colorbar"":{""outlinewidth"":0,""ticks"":""""}}],""scatter"":[{""fillpattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2},""type"":""scatter""}],""parcoords"":[{""type"":""parcoords"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolargl"":[{""type"":""scatterpolargl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""bar"":[{""error_x"":{""color"":""#2a3f5f""},""error_y"":{""color"":""#2a3f5f""},""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""bar""}],""scattergeo"":[{""type"":""scattergeo"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterpolar"":[{""type"":""scatterpolar"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""histogram"":[{""marker"":{""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""histogram""}],""scattergl"":[{""type"":""scattergl"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatter3d"":[{""type"":""scatter3d"",""line"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattermapbox"":[{""type"":""scattermapbox"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scatterternary"":[{""type"":""scatterternary"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""scattercarpet"":[{""type"":""scattercarpet"",""marker"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}}}],""carpet"":[{""aaxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""baxis"":{""endlinecolor"":""#2a3f5f"",""gridcolor"":""white"",""linecolor"":""white"",""minorgridcolor"":""white"",""startlinecolor"":""#2a3f5f""},""type"":""carpet""}],""table"":[{""cells"":{""fill"":{""color"":""#EBF0F8""},""line"":{""color"":""white""}},""header"":{""fill"":{""color"":""#C8D4E3""},""line"":{""color"":""white""}},""type"":""table""}],""barpolar"":[{""marker"":{""line"":{""color"":""#E5ECF6"",""width"":0.5},""pattern"":{""fillmode"":""overlay"",""size"":10,""solidity"":0.2}},""type"":""barpolar""}],""pie"":[{""automargin"":true,""type"":""pie""}]},""layout"":{""autotypenumbers"":""strict"",""colorway"":[""#636efa"",""#EF553B"",""#00cc96"",""#ab63fa"",""#FFA15A"",""#19d3f3"",""#FF6692"",""#B6E880"",""#FF97FF"",""#FECB52""],""font"":{""color"":""#2a3f5f""},""hovermode"":""closest"",""hoverlabel"":{""align"":""left""},""paper_bgcolor"":""white"",""plot_bgcolor"":""#E5ECF6"",""polar"":{""bgcolor"":""#E5ECF6"",""angularaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""radialaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""ternary"":{""bgcolor"":""#E5ECF6"",""aaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""baxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""},""caxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":""""}},""coloraxis"":{""colorbar"":{""outlinewidth"":0,""ticks"":""""}},""colorscale"":{""sequential"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""sequentialminus"":[[0.0,""#0d0887""],[0.1111111111111111,""#46039f""],[0.2222222222222222,""#7201a8""],[0.3333333333333333,""#9c179e""],[0.4444444444444444,""#bd3786""],[0.5555555555555556,""#d8576b""],[0.6666666666666666,""#ed7953""],[0.7777777777777778,""#fb9f3a""],[0.8888888888888888,""#fdca26""],[1.0,""#f0f921""]],""diverging"":[[0,""#8e0152""],[0.1,""#c51b7d""],[0.2,""#de77ae""],[0.3,""#f1b6da""],[0.4,""#fde0ef""],[0.5,""#f7f7f7""],[0.6,""#e6f5d0""],[0.7,""#b8e186""],[0.8,""#7fbc41""],[0.9,""#4d9221""],[1,""#276419""]]},""xaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""yaxis"":{""gridcolor"":""white"",""linecolor"":""white"",""ticks"":"""",""title"":{""standoff"":15},""zerolinecolor"":""white"",""automargin"":true,""zerolinewidth"":2},""scene"":{""xaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""yaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2},""zaxis"":{""backgroundcolor"":""#E5ECF6"",""gridcolor"":""white"",""linecolor"":""white"",""showbackground"":true,""ticks"":"""",""zerolinecolor"":""white"",""gridwidth"":2}},""shapedefaults"":{""line"":{""color"":""#2a3f5f""}},""annotationdefaults"":{""arrowcolor"":""#2a3f5f"",""arrowhead"":0,""arrowwidth"":1},""geo"":{""bgcolor"":""white"",""landcolor"":""#E5ECF6"",""subunitcolor"":""white"",""showland"":true,""showlakes"":true,""lakecolor"":""white""},""title"":{""x"":0.05},""mapbox"":{""style"":""light""}}},""xaxis"":{""anchor"":""y"",""domain"":[0.0,1.0],""title"":{""text"":""Time of day""},""categoryorder"":""array"",""categoryarray"":[""early morning"",""morning"",""afternoon"",""late afternoon"",""evening"",""late evening"",""midnight"",""night""]},""yaxis"":{""anchor"":""x"",""domain"":[0.0,1.0],""title"":{""text"":""Execution Time (s)""}},""legend"":{""title"":{""text"":""Provider""},""tracegroupgap"":0},""title"":{""text"":""Execution time for different times of the day for different providers""}}}",,
|
472 |
"Figure({
|
473 |
'data': [{'hovertemplate': 'Time of day=%{x}<br>Execution Time (s)=%{y}<extra></extra>',
|
474 |
'legendgroup': '',
|
pipeline/models.py
CHANGED
@@ -190,7 +190,7 @@ MODELS = [
|
|
190 |
"Together AI",
|
191 |
input_size=4096,
|
192 |
),
|
193 |
-
Model("Vicuna v1.5 (7B)", "together_ai/lmsys/vicuna-7b-v1.5", None, "Together AI", input_size=4096, selected=True),
|
194 |
Model(
|
195 |
"Code Llama Instruct (13B)",
|
196 |
"together_ai/codellama/CodeLlama-13b-Instruct-hf",
|
@@ -217,6 +217,7 @@ MODELS = [
|
|
217 |
"together_ai/codellama/CodeLlama-7b-Instruct-hf",
|
218 |
None,
|
219 |
"Together AI",
|
|
|
220 |
input_size=16384,
|
221 |
),
|
222 |
Model(
|
@@ -224,6 +225,7 @@ MODELS = [
|
|
224 |
"together_ai/togethercomputer/llama-2-13b-chat",
|
225 |
None,
|
226 |
"Together AI",
|
|
|
227 |
input_size=4096,
|
228 |
),
|
229 |
Model(
|
@@ -231,6 +233,7 @@ MODELS = [
|
|
231 |
"together_ai/togethercomputer/llama-2-70b-chat",
|
232 |
None,
|
233 |
"Together AI",
|
|
|
234 |
input_size=4096,
|
235 |
),
|
236 |
Model(
|
@@ -238,6 +241,7 @@ MODELS = [
|
|
238 |
"together_ai/togethercomputer/llama-2-7b-chat",
|
239 |
None,
|
240 |
"Together AI",
|
|
|
241 |
input_size=4096,
|
242 |
# selected=True,
|
243 |
),
|
@@ -246,6 +250,7 @@ MODELS = [
|
|
246 |
"together_ai/mistralai/Mistral-7B-Instruct-v0.1",
|
247 |
None,
|
248 |
"Together AI",
|
|
|
249 |
input_size=4096,
|
250 |
),
|
251 |
Model(
|
@@ -253,6 +258,7 @@ MODELS = [
|
|
253 |
"together_ai/mistralai/Mistral-7B-Instruct-v0.2",
|
254 |
None,
|
255 |
"Together AI",
|
|
|
256 |
input_size=32768,
|
257 |
selected=True,
|
258 |
),
|
@@ -261,6 +267,7 @@ MODELS = [
|
|
261 |
"together_ai/mistralai/Mixtral-8x7B-Instruct-v0.1",
|
262 |
None,
|
263 |
"Together AI",
|
|
|
264 |
input_size=32768,
|
265 |
),
|
266 |
Model(
|
@@ -268,6 +275,7 @@ MODELS = [
|
|
268 |
"together_ai/NousResearch/Nous-Capybara-7B-V1p9",
|
269 |
None,
|
270 |
"Together AI",
|
|
|
271 |
input_size=8192,
|
272 |
),
|
273 |
Model(
|
@@ -275,6 +283,7 @@ MODELS = [
|
|
275 |
"together_ai/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
276 |
None,
|
277 |
"Together AI",
|
|
|
278 |
input_size=32768,
|
279 |
),
|
280 |
Model(
|
@@ -282,6 +291,7 @@ MODELS = [
|
|
282 |
"together_ai/NousResearch/Nous-Hermes-2-Mixtral-8x7B-SFT",
|
283 |
None,
|
284 |
"Together AI",
|
|
|
285 |
input_size=32768,
|
286 |
),
|
287 |
Model(
|
@@ -289,6 +299,7 @@ MODELS = [
|
|
289 |
"together_ai/NousResearch/Nous-Hermes-llama-2-7b",
|
290 |
None,
|
291 |
"Together AI",
|
|
|
292 |
input_size=4096,
|
293 |
),
|
294 |
Model(
|
@@ -296,6 +307,7 @@ MODELS = [
|
|
296 |
"together_ai/NousResearch/Nous-Hermes-Llama2-13b",
|
297 |
None,
|
298 |
"Together AI",
|
|
|
299 |
input_size=4096,
|
300 |
),
|
301 |
Model(
|
@@ -303,6 +315,7 @@ MODELS = [
|
|
303 |
"together_ai/NousResearch/Nous-Hermes-2-Yi-34B",
|
304 |
None,
|
305 |
"Together AI",
|
|
|
306 |
input_size=4096,
|
307 |
),
|
308 |
Model(
|
@@ -310,6 +323,7 @@ MODELS = [
|
|
310 |
"together_ai/openchat/openchat-3.5-1210",
|
311 |
None,
|
312 |
"Together AI",
|
|
|
313 |
input_size=8192,
|
314 |
),
|
315 |
Model(
|
@@ -317,6 +331,7 @@ MODELS = [
|
|
317 |
"together_ai/Open-Orca/Mistral-7B-OpenOrca",
|
318 |
None,
|
319 |
"Together AI",
|
|
|
320 |
input_size=8192,
|
321 |
),
|
322 |
Model(
|
@@ -324,6 +339,7 @@ MODELS = [
|
|
324 |
"together_ai/togethercomputer/Qwen-7B-Chat",
|
325 |
None,
|
326 |
"Together AI",
|
|
|
327 |
input_size=8192,
|
328 |
),
|
329 |
Model(
|
@@ -331,6 +347,7 @@ MODELS = [
|
|
331 |
"together_ai/Qwen/Qwen1.5-0.5B-Chat",
|
332 |
None,
|
333 |
"Together AI",
|
|
|
334 |
input_size=32768,
|
335 |
),
|
336 |
Model(
|
@@ -339,16 +356,18 @@ MODELS = [
|
|
339 |
None,
|
340 |
"Together AI",
|
341 |
input_size=32768,
|
|
|
342 |
),
|
343 |
Model(
|
344 |
"Qwen 1.5 Chat (4B)",
|
345 |
"together_ai/Qwen/Qwen1.5-4B-Chat",
|
346 |
None,
|
347 |
"Together AI",
|
|
|
348 |
input_size=32768,
|
349 |
),
|
350 |
Model(
|
351 |
-
"Qwen 1.5 Chat (7B)", "together_ai/Qwen/Qwen1.5-7B-Chat", None, "Together AI", input_size=32768,
|
352 |
# selected=True
|
353 |
),
|
354 |
Model(
|
@@ -356,6 +375,7 @@ MODELS = [
|
|
356 |
"together_ai/Qwen/Qwen1.5-14B-Chat",
|
357 |
None,
|
358 |
"Together AI",
|
|
|
359 |
input_size=32768,
|
360 |
),
|
361 |
Model(
|
@@ -422,6 +442,7 @@ MODELS = [
|
|
422 |
"together_ai/togethercomputer/RedPajama-INCITE-Chat-3B-v1",
|
423 |
None,
|
424 |
"Together AI",
|
|
|
425 |
input_size=2048,
|
426 |
),
|
427 |
Model(
|
@@ -430,6 +451,7 @@ MODELS = [
|
|
430 |
None,
|
431 |
"Together AI",
|
432 |
input_size=2048,
|
|
|
433 |
# selected=True,
|
434 |
),
|
435 |
Model(
|
@@ -438,6 +460,7 @@ MODELS = [
|
|
438 |
None,
|
439 |
"Together AI",
|
440 |
input_size=32768,
|
|
|
441 |
),
|
442 |
Model(
|
443 |
"ReMM SLERP L2 (13B)",
|
@@ -445,6 +468,7 @@ MODELS = [
|
|
445 |
None,
|
446 |
"Together AI",
|
447 |
input_size=4096,
|
|
|
448 |
),
|
449 |
Model(
|
450 |
"Toppy M (7B)",
|
@@ -452,6 +476,7 @@ MODELS = [
|
|
452 |
None,
|
453 |
"Together AI",
|
454 |
input_size=4096,
|
|
|
455 |
),
|
456 |
Model(
|
457 |
"WizardLM v1.2 (13B)",
|
@@ -459,6 +484,7 @@ MODELS = [
|
|
459 |
None,
|
460 |
"Together AI",
|
461 |
input_size=4096,
|
|
|
462 |
# selected=True,
|
463 |
),
|
464 |
Model(
|
@@ -467,6 +493,7 @@ MODELS = [
|
|
467 |
None,
|
468 |
"Together AI",
|
469 |
input_size=4096,
|
|
|
470 |
# selected=True,
|
471 |
),
|
472 |
]
|
|
|
190 |
"Together AI",
|
191 |
input_size=4096,
|
192 |
),
|
193 |
+
Model("Vicuna v1.5 (7B)", "together_ai/lmsys/vicuna-7b-v1.5", None, "Together AI", input_size=4096, size_billion_parameters=7, selected=True),
|
194 |
Model(
|
195 |
"Code Llama Instruct (13B)",
|
196 |
"together_ai/codellama/CodeLlama-13b-Instruct-hf",
|
|
|
217 |
"together_ai/codellama/CodeLlama-7b-Instruct-hf",
|
218 |
None,
|
219 |
"Together AI",
|
220 |
+
size_billion_parameters=7,
|
221 |
input_size=16384,
|
222 |
),
|
223 |
Model(
|
|
|
225 |
"together_ai/togethercomputer/llama-2-13b-chat",
|
226 |
None,
|
227 |
"Together AI",
|
228 |
+
size_billion_parameters=13,
|
229 |
input_size=4096,
|
230 |
),
|
231 |
Model(
|
|
|
233 |
"together_ai/togethercomputer/llama-2-70b-chat",
|
234 |
None,
|
235 |
"Together AI",
|
236 |
+
size_billion_parameters=70,
|
237 |
input_size=4096,
|
238 |
),
|
239 |
Model(
|
|
|
241 |
"together_ai/togethercomputer/llama-2-7b-chat",
|
242 |
None,
|
243 |
"Together AI",
|
244 |
+
size_billion_parameters=7,
|
245 |
input_size=4096,
|
246 |
# selected=True,
|
247 |
),
|
|
|
250 |
"together_ai/mistralai/Mistral-7B-Instruct-v0.1",
|
251 |
None,
|
252 |
"Together AI",
|
253 |
+
size_billion_parameters=7,
|
254 |
input_size=4096,
|
255 |
),
|
256 |
Model(
|
|
|
258 |
"together_ai/mistralai/Mistral-7B-Instruct-v0.2",
|
259 |
None,
|
260 |
"Together AI",
|
261 |
+
size_billion_parameters=7,
|
262 |
input_size=32768,
|
263 |
selected=True,
|
264 |
),
|
|
|
267 |
"together_ai/mistralai/Mixtral-8x7B-Instruct-v0.1",
|
268 |
None,
|
269 |
"Together AI",
|
270 |
+
size_billion_parameters=8*7,
|
271 |
input_size=32768,
|
272 |
),
|
273 |
Model(
|
|
|
275 |
"together_ai/NousResearch/Nous-Capybara-7B-V1p9",
|
276 |
None,
|
277 |
"Together AI",
|
278 |
+
size_billion_parameters=7,
|
279 |
input_size=8192,
|
280 |
),
|
281 |
Model(
|
|
|
283 |
"together_ai/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
|
284 |
None,
|
285 |
"Together AI",
|
286 |
+
size_billion_parameters=8*7,
|
287 |
input_size=32768,
|
288 |
),
|
289 |
Model(
|
|
|
291 |
"together_ai/NousResearch/Nous-Hermes-2-Mixtral-8x7B-SFT",
|
292 |
None,
|
293 |
"Together AI",
|
294 |
+
size_billion_parameters=8*7,
|
295 |
input_size=32768,
|
296 |
),
|
297 |
Model(
|
|
|
299 |
"together_ai/NousResearch/Nous-Hermes-llama-2-7b",
|
300 |
None,
|
301 |
"Together AI",
|
302 |
+
size_billion_parameters=7,
|
303 |
input_size=4096,
|
304 |
),
|
305 |
Model(
|
|
|
307 |
"together_ai/NousResearch/Nous-Hermes-Llama2-13b",
|
308 |
None,
|
309 |
"Together AI",
|
310 |
+
size_billion_parameters=13,
|
311 |
input_size=4096,
|
312 |
),
|
313 |
Model(
|
|
|
315 |
"together_ai/NousResearch/Nous-Hermes-2-Yi-34B",
|
316 |
None,
|
317 |
"Together AI",
|
318 |
+
size_billion_parameters=34,
|
319 |
input_size=4096,
|
320 |
),
|
321 |
Model(
|
|
|
323 |
"together_ai/openchat/openchat-3.5-1210",
|
324 |
None,
|
325 |
"Together AI",
|
326 |
+
size_billion_parameters=7,
|
327 |
input_size=8192,
|
328 |
),
|
329 |
Model(
|
|
|
331 |
"together_ai/Open-Orca/Mistral-7B-OpenOrca",
|
332 |
None,
|
333 |
"Together AI",
|
334 |
+
size_billion_parameters=7,
|
335 |
input_size=8192,
|
336 |
),
|
337 |
Model(
|
|
|
339 |
"together_ai/togethercomputer/Qwen-7B-Chat",
|
340 |
None,
|
341 |
"Together AI",
|
342 |
+
size_billion_parameters=7,
|
343 |
input_size=8192,
|
344 |
),
|
345 |
Model(
|
|
|
347 |
"together_ai/Qwen/Qwen1.5-0.5B-Chat",
|
348 |
None,
|
349 |
"Together AI",
|
350 |
+
size_billion_parameters=0.5,
|
351 |
input_size=32768,
|
352 |
),
|
353 |
Model(
|
|
|
356 |
None,
|
357 |
"Together AI",
|
358 |
input_size=32768,
|
359 |
+
size_billion_parameters=1.8,
|
360 |
),
|
361 |
Model(
|
362 |
"Qwen 1.5 Chat (4B)",
|
363 |
"together_ai/Qwen/Qwen1.5-4B-Chat",
|
364 |
None,
|
365 |
"Together AI",
|
366 |
+
size_billion_parameters=4,
|
367 |
input_size=32768,
|
368 |
),
|
369 |
Model(
|
370 |
+
"Qwen 1.5 Chat (7B)", "together_ai/Qwen/Qwen1.5-7B-Chat", None, "Together AI", input_size=32768, size_billion_parameters=7
|
371 |
# selected=True
|
372 |
),
|
373 |
Model(
|
|
|
375 |
"together_ai/Qwen/Qwen1.5-14B-Chat",
|
376 |
None,
|
377 |
"Together AI",
|
378 |
+
size_billion_parameters=14,
|
379 |
input_size=32768,
|
380 |
),
|
381 |
Model(
|
|
|
442 |
"together_ai/togethercomputer/RedPajama-INCITE-Chat-3B-v1",
|
443 |
None,
|
444 |
"Together AI",
|
445 |
+
size_billion_parameters=3,
|
446 |
input_size=2048,
|
447 |
),
|
448 |
Model(
|
|
|
451 |
None,
|
452 |
"Together AI",
|
453 |
input_size=2048,
|
454 |
+
size_billion_parameters=7,
|
455 |
# selected=True,
|
456 |
),
|
457 |
Model(
|
|
|
460 |
None,
|
461 |
"Together AI",
|
462 |
input_size=32768,
|
463 |
+
size_billion_parameters=7,
|
464 |
),
|
465 |
Model(
|
466 |
"ReMM SLERP L2 (13B)",
|
|
|
468 |
None,
|
469 |
"Together AI",
|
470 |
input_size=4096,
|
471 |
+
size_billion_parameters=13,
|
472 |
),
|
473 |
Model(
|
474 |
"Toppy M (7B)",
|
|
|
476 |
None,
|
477 |
"Together AI",
|
478 |
input_size=4096,
|
479 |
+
size_billion_parameters=7
|
480 |
),
|
481 |
Model(
|
482 |
"WizardLM v1.2 (13B)",
|
|
|
484 |
None,
|
485 |
"Together AI",
|
486 |
input_size=4096,
|
487 |
+
size_billion_parameters=13,
|
488 |
# selected=True,
|
489 |
),
|
490 |
Model(
|
|
|
493 |
None,
|
494 |
"Together AI",
|
495 |
input_size=4096,
|
496 |
+
size_billion_parameters=11,
|
497 |
# selected=True,
|
498 |
),
|
499 |
]
|