Files
Yizhong WangandGitHub 7b4bda3201 Release human evaluation interface and tulu 1 human eval data. (#96)
* Release human eval interface and data.

* Update screenshot

* Update human eval readme.
2024-01-03 01:05:03 -08:00

15 lines
433 B
Python

import sqlite3
import pandas as pd
if __name__ == "__main__":
# database connection
DATABASE = "data/evaluation.db"
DB_CONN = sqlite3.connect(DATABASE, check_same_thread=False)
DB_CURSOR = DB_CONN.cursor()
# export the evaluation results as excel
evaluation_results = pd.read_sql_query("SELECT * from evaluation_record", DB_CONN)
evaluation_results.to_excel("data/eval_annotations.xlsx", index=False)