huangshiyu
commited on
Commit
·
f142c75
1
Parent(s):
bcfa218
- app.py +1 -0
- constants.py +2 -1
app.py
CHANGED
@@ -78,6 +78,7 @@ def add_new_eval(
|
|
78 |
else:
|
79 |
new_data.append(0)
|
80 |
print(new_data)
|
|
|
81 |
csv_data.loc[col] = new_data
|
82 |
csv_data = csv_data.to_csv(CSV_DIR, index=False)
|
83 |
submission_repo.push_to_hub()
|
|
|
78 |
else:
|
79 |
new_data.append(0)
|
80 |
print(new_data)
|
81 |
+
print(csv_data.loc[col-1])
|
82 |
csv_data.loc[col] = new_data
|
83 |
csv_data = csv_data.to_csv(CSV_DIR, index=False)
|
84 |
submission_repo.push_to_hub()
|
constants.py
CHANGED
@@ -5,7 +5,8 @@ MODEL_INFO = ["Model", "Language Model", "Date"]
|
|
5 |
TASK_INFO = ["Overall", "ER", "EU", "KIR", "TG", "Rea", "Sum"]
|
6 |
AVG_INFO = ["Overall"]
|
7 |
|
8 |
-
DATA_TITILE_TYPE = ['markdown', 'markdown','markdown', 'number', 'number', 'number', 'number', 'number', 'number',
|
|
|
9 |
|
10 |
SUBMISSION_NAME = "LVBench_submission"
|
11 |
SUBMISSION_URL = os.path.join("https://huggingface.co/datasets/THUDM/", SUBMISSION_NAME)
|
|
|
5 |
TASK_INFO = ["Overall", "ER", "EU", "KIR", "TG", "Rea", "Sum"]
|
6 |
AVG_INFO = ["Overall"]
|
7 |
|
8 |
+
DATA_TITILE_TYPE = ['markdown', 'markdown', 'markdown', 'number', 'number', 'number', 'number', 'number', 'number',
|
9 |
+
'number']
|
10 |
|
11 |
SUBMISSION_NAME = "LVBench_submission"
|
12 |
SUBMISSION_URL = os.path.join("https://huggingface.co/datasets/THUDM/", SUBMISSION_NAME)
|