MrSimple07 commited on
Commit
f672f45
·
verified ·
1 Parent(s): 665ae8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +35 -9
app.py CHANGED
@@ -12,12 +12,42 @@ import pandas as pd
12
 
13
 
14
  benchmark_data = {
15
- 'Model': ['IlyaGusev/saiga_llama3_8b', 'Vikhrmodels/Vikhr-Nemo-12B-Instruct-R-21-09-24', "TinyLlama", 'Google-gemma-2-27b-it', 'mistralai/Mistral-Nemo-Instruct-2407', 'Vikhrmodels/Vikhr-Qwen-2.5-0.5b-Instruct'],
16
- 'Creativity Score': [78.5, 82.3, 85.7, 83.1, 85.6, 76.5, ],
17
- 'Coherence Score': [75.2, 80.1, 84.3, 81.9, 88.5, 76.6],
18
- 'Diversity Score': [25.3, 27.8, 31.2, 29.5, 28.4, 24.6]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
-
21
  def display_results():
22
  df = pd.DataFrame(benchmark_data)
23
  return df
@@ -31,10 +61,6 @@ with gr.Blocks() as demo:
31
  headers=["Model", "Creativity Score", "Coherence Score", "Diversity Score"],
32
  interactive=False
33
  )
34
-
35
- # Button to refresh/display results
36
- refresh_btn = gr.Button("Show Results")
37
- refresh_btn.click(fn=display_results, outputs=output)
38
 
39
  if __name__ == "__main__":
40
  demo.launch()
 
12
 
13
 
14
  benchmark_data = {
15
+ 'Model': [
16
+ 'TheBloke/llama3-13b', # LLaMA3
17
+ 'Vikhrmodels/Vikhr-Nemo-12B', # Vikhr
18
+ 'TinyLLaMA/TinyLlama-1.1B', # TinyLLaMA
19
+ 'mistralai/Mistral-7B-instruct', # Mistral
20
+ 'Qwen/Qwen-7B' # Qwen
21
+ ],
22
+ 'Creativity Score': [
23
+ 37.75, # LLaMA3
24
+ 46.00, # Vikhr
25
+ 6.50, # TinyLLaMA
26
+ 23.75, # Mistral
27
+ 8.25 # Qwen
28
+ ],
29
+ 'Diversity Score': [
30
+ 49.50, # LLaMA3
31
+ 52.00, # Vikhr
32
+ 14.50, # TinyLLaMA
33
+ 38.50, # Mistral
34
+ 15.55 # Qwen
35
+ ],
36
+ 'Relevance Score': [
37
+ 79.25, # LLaMA3
38
+ 87.50, # Vikhr
39
+ 18.50, # TinyLLaMA
40
+ 76.75, # Mistral
41
+ 34.25 # Qwen
42
+ ],
43
+ 'Average Score': [
44
+ 55.50, # LLaMA3
45
+ 61.83, # Vikhr
46
+ 13.17, # TinyLLaMA
47
+ 46.33, # Mistral
48
+ 19.35 # Qwen
49
+ ]
50
  }
 
51
  def display_results():
52
  df = pd.DataFrame(benchmark_data)
53
  return df
 
61
  headers=["Model", "Creativity Score", "Coherence Score", "Diversity Score"],
62
  interactive=False
63
  )
 
 
 
 
64
 
65
  if __name__ == "__main__":
66
  demo.launch()