File size: 494 Bytes
a9bd2f9
 
10e9b7d
a9bd2f9
 
 
 
 
 
 
 
e80aab9
a9bd2f9
 
4021bf3
a9bd2f9
3c4371f
a9bd2f9
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from datasets import load_dataset
import streamlit as st

# all levels, validation split (public)
ds_val = load_dataset(
    "gaia-benchmark/GAIA",
    "2023_all",
    split="validation",
    token=True,                 # use_auth_token=True on older installs also works
    trust_remote_code=True,     # needed because GAIA uses a loading script
)

ds_val.set_format(type="pandas")
df_val = ds_val[:]

temp_id = df_val.at[0, 'task_id']

st.title('Task_id 展示')
st.write('Task_id:', temp_id)