Spaces:
Running
Running
Upload model_information.py with huggingface_hub
Browse files- model_information.py +33 -0
model_information.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pandas as pd
|
| 2 |
+
|
| 3 |
+
# Define the data
|
| 4 |
+
data = {
|
| 5 |
+
"Original Name" : ['cross_openhermes_llama3_8b_4096_inst'],
|
| 6 |
+
"Proper Display Name": ['Cross-OpenHermes-Llama-3-8B-4096-Inst'],
|
| 7 |
+
"Link" : ['https://huggingface.co/spaces/SeaEval/SeaEval_Leaderboard'],
|
| 8 |
+
"Model Size" : ['8'],
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
# Add model information to the
|
| 13 |
+
data['Original Name'].append('gemma-2-2b-it')
|
| 14 |
+
data['Proper Display Name'].append('Gemma-2-2B-IT')
|
| 15 |
+
data['Link'].append('https://huggingface.co/google/gemma-2-2b-it')
|
| 16 |
+
data['Model Size'].append('2')
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def get_dataframe():
|
| 24 |
+
"""
|
| 25 |
+
Returns a DataFrame with the data and drops rows with missing values.
|
| 26 |
+
"""
|
| 27 |
+
df = pd.DataFrame(data)
|
| 28 |
+
return df.dropna(axis=0)
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
# cross_openhermes_llama3_8b_4096_inst
|
| 32 |
+
# Cross-OpenHermes-Llama-3-8B-4096-Inst
|
| 33 |
+
# https://huggingface.co/spaces/SeaEval/SeaEval_Leaderboard
|