Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

list' object has no attribute 'keys' #10

Open
tendrillion opened this issue Jun 26, 2023 · 0 comments
Open

list' object has no attribute 'keys' #10

tendrillion opened this issue Jun 26, 2023 · 0 comments

Comments

@tendrillion
Copy link

tendrillion commented Jun 26, 2023

LoRA微调模型是报错:
CUDA_VISIBLE_DEVICES=0 python MedQA-ChatGLM/finetune.py
--do_train
--dataset merged-cMedQA
--finetuning_type lora
--output_dir ./med-lora
--per_device_train_batch_size 32
--gradient_accumulation_steps 256
--lr_scheduler_type cosine
--logging_steps 500
--save_steps 1000
--learning_rate 5e-5
--num_train_epochs 10.0
--fp16
报错信息,如下:
with error <class 'AttributeError'>: 'list' object has no attribute 'keys'
ValueError: Not able to read records in the JSON file
DatasetGenerationError: An error occurred while generating the dataset

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant