You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to convert pandas DataFrame to Arrow Table from file '/home/####/.cache/huggingface/hub/datasets--lovesnowbest--T-Eval/snapshots/af355ab2b62cdbae4262ac41c7529ffeae395012/data/instruct_v2.json' with error <class 'pyarrow.lib.ArrowInvalid'>: ('cannot mix list and non-list, non-null values', 'Conversion failed for column query_60_0_3 with type object')
#61
Open
OfficerChul opened this issue
Nov 3, 2024
· 0 comments
Failed to convert pandas DataFrame to Arrow Table from file '/home/####/.cache/huggingface/hub/datasets--lovesnowbest--T-Eval/snapshots/af355ab2b62cdbae4262ac41c7529ffeae395012/data/instruct_v2.json' with error <class 'pyarrow.lib.ArrowInvalid'>: ('cannot mix list and non-list, non-null values', 'Conversion failed for column query_60_0_3 with type object')
I am getting the above error when I download the dataset from the huggingface.
It seems like the error occurs on the first line of instruct_v2.json file which is the following:
"query_60_0_3": {
"template": {
"thought": "goal",
"action": "name",
"args": "args"
},
"meta_data": {
"response_format": "json"
},
"ground_truth": {
"action": "FilmDouban.print_detail",
"args": {
"film_name": "驯龙高手"
}
},
"origin_prompt": [
{
"role": "system",
"content": "You have access to the following API:\n{'name': 'FilmDouban.print_detail', 'description': 'prints the details of a movie, giving its name', 'required_parameters': [{'name': 'film_name', 'type': 'STRING', 'description': \"target movie's name, must be in Chinese\"}], 'optional_parameters': [], 'return_data': [{'name': 'description', 'description': 'the description of the movie'}]}\nPlease directly generate the response in JSON format. Do NOT add comments (//) in the response.\n```\n{\n // goal to call this action\n \"goal\": string;\n // api name to call\n \"name\": string;\n // input params required by current action\n \"args\": Record<string, any>;\n}\n```"
},
{
"role": "user",
"content": "Call the function FilmDouban.print_detail with the parameter as follows: 'film_name' is '驯龙高手'."
}
]
}
请回答这个问题,谢谢。
The text was updated successfully, but these errors were encountered:
I am getting the above error when I download the dataset from the huggingface.
It seems like the error occurs on the first line of
instruct_v2.json
file which is the following:请回答这个问题,谢谢。
The text was updated successfully, but these errors were encountered: