Spaces:
Paused
Paused
Update app.py
Browse files77 unmodified lines7879808182838485868788899091929394959697989910077 unmodified linescustom_role_conversions = {"tool-call": "assistant", "tool-response": "user"}### LOAD EVALUATION DATASETeval_ds = datasets.load_dataset("gaia-benchmark/GAIA", "2023_all")[SET]eval_ds = eval_ds.rename_columns({"Question": "question", "Final answer": "true_answer", "Level": "task"})def preprocess_file_paths(row):if len(row["file_name"]) > 0:row["file_name"] = f"data/gaia/{SET}/" + row["file_name"]return roweval_ds = eval_ds.map(preprocess_file_paths)eval_df = pd.DataFrame(eval_ds)print("Loaded evaluation dataset:")print(eval_df["task"].value_counts())user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0"BROWSER_CONFIG = {77 unmodified lines78798081828377 unmodified linescustom_role_conversions = {"tool-call": "assistant", "tool-response": "user"}user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0"BROWSER_CONFIG = {
app.py-17