Text Generation
Transformers
Safetensors
English
olmo3
conversational

Don't specify max_new_tokens in generation_config.json

#15
by stadlerb - opened

The generation config should not specify max_new_tokens because this breaks HF Transformers generation when max_length is specified instead of max_new_tokens, asmax_new_tokens takes precedence overmax_length. I'm only making PRs for Olmo 3- and 3.1-Instruct models, but others are probably affected as well.

stadlerb changed pull request title from Update generation_config.json to Don't specify max_new_tokens in generation_config.json
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment