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
Hi, I tried to finetune model with alpaca_data_cleaned_archieve.json but I got the error
Traceback (most recent call last):
File "/kaggle/working/alpaca-lora/finetune.py", line 283, in <module>
fire.Fire(train)
File "/opt/conda/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/opt/conda/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/opt/conda/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/kaggle/working/alpaca-lora/finetune.py", line 187, in train
data = load_dataset("json", data_files=data_path)
File "/opt/conda/lib/python3.10/site-packages/datasets/load.py", line 1691, in load_dataset
builder_instance.download_and_prepare(
File "/opt/conda/lib/python3.10/site-packages/datasets/builder.py", line 605, in download_and_prepare
self._download_and_prepare(
File "/opt/conda/lib/python3.10/site-packages/datasets/builder.py", line 694, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/opt/conda/lib/python3.10/site-packages/datasets/builder.py", line 1151, in _prepare_split
for key, table in logging.tqdm(
File "/opt/conda/lib/python3.10/site-packages/tqdm/std.py", line 1170, in __iter__
for obj in iterable:
File "/opt/conda/lib/python3.10/site-packages/datasets/packaged_modules/json/json.py", line 150, in _generate_tables
f"This JSON file contain the following fields: {str(list(dataset.keys()))}. "
AttributeError: 'list' object has no attribute 'keys'
I am using Kaggle with T4 GPU Accelerate.
The text was updated successfully, but these errors were encountered:
Hi, I tried to finetune model with alpaca_data_cleaned_archieve.json but I got the error
I am using Kaggle with T4 GPU Accelerate.
The text was updated successfully, but these errors were encountered: