We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 858dc09 commit 6bfdae6Copy full SHA for 6bfdae6
benchmarks/populate_into_db.py
@@ -9,7 +9,8 @@
9
10
FINAL_CSV_FILENAME = "collated_results.csv"
11
# https://github.com/huggingface/transformers/blob/593e29c5e2a9b17baec010e8dc7c1431fed6e841/benchmark/init_db.sql#L27
12
-TABLE_NAME = "model_measurements"
+BENCHMARKS_TABLE_NAME = "benchmarks"
13
+MEASUREMENTS_TABLE_NAME = "model_measurements"
14
15
if __name__ == "__main__":
16
try:
@@ -98,7 +99,7 @@ def _cast_value(val, dtype: str):
98
99
100
# Batch-insert all rows
101
insert_sql = f"""
- INSERT INTO {TABLE_NAME} (
102
+ INSERT INTO {MEASUREMENTS_TABLE_NAME} (
103
benchmark_id,
104
measurements
105
)
0 commit comments