-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Please make sure to properly initialize your accelerator via accelerator = Accelerator()
before using any functionality from the accelerate
library.
#4
Comments
先要进行sft训练得到sft_crawler |
../results/sft_crawler已经是经过sft训练之后的sft_crawler了,然后我复制到了../output/sft_crawler 于是我修改了ppo_tldr.py的如下部分 之后出现的报错为,想请教如何解决 我的训练参数为
相关库的版本为(已经尝试过把accelerate降级为0.28.0和0.27.2,以及把transformers改成4.48.1仍然出现相同报错) |
accelerator = Accelerator()
before using any functionality from the accelerate
library.
我直接将../results/sft_crawler复制到../output/sft_crawler
出现报错
Some weights of Qwen2ForSequenceClassification were not initialized from the model checkpoint at ../output/sft_crawler and are newly initialized: ['score.0.weight', 'score.1.weight']
想问下该如何得到../output/sft_crawler
The text was updated successfully, but these errors were encountered: