AttributeError: 'NoneType' object has no attribute 'pop' #1191
Unanswered
3553531421
asked this question in
Q&A
Replies: 3 comments
-
具体报错命令是 感觉是你数据没有读入进去呢 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我的验证集确实没有读进去,我现在放弃了验证集,遇到了新问题,在单机多卡的时候,使用给出的命令
OMP_NUM_THREADS=1 torchrun --standalone --nnodes=1 --nproc_per_node=8 finetune_hf.py data/AdvertiseGen/ THUDM/chatglm3-6b configs/lora.yaml configs/ds_zero_2.json ,路径我已经换成自己的了,configs/ds_zero_2.json会被当成第四个参数,传给保存点,然后出现问题
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2024年5月2日(星期四) 下午5:38
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [THUDM/ChatGLM3] AttributeError: 'NoneType' object has no attribute 'pop' (Discussion #1191)
具体报错命令是
感觉是你数据没有读入进去呢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
这个问题你解决了吗?我这边也出现了这个问题,我的数据集里面包含json数据,如果不包含就不会报这个错误。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我使用ptuning_v2进行微调出现这个错误,我把数据集的样本弄得只用几个,因为只是想测试能不能微调成功

Beta Was this translation helpful? Give feedback.
All reactions