Skip to content
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

'NoneType' object has no attribute 'vocab_size', when I used nemorun cli to finetuning #125

Open
CaptainRui1000 opened this issue Dec 16, 2024 · 0 comments

Comments

@CaptainRui1000
Copy link

I was trying to fine-tune a qwen2_500m, so I used a command like pre-train.
nemorun llm finetune --factory qwen2_500m trainer.devices=1 trainer.strategy.context_parallel_size=1
But I got an error, AttributeError: 'NoneType' object has no attribute 'vocab_size'.
Image
Then I tried to fine-tune Gemma2b, still the same error. I debugged the nemorun program, and found all recipe didn't set any tokenizer, right? So how can I make my experiment select any tokenizer with nemorun cli, is it possible?

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

No branches or pull requests

1 participant