model_type = self._reverse_config_mapping[key.__name__] KeyError: 'Qwen2RMConfig'
System Info
File "/anaconda/envs/openrlhf/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 767, in getitem model_type = self._reverse_config_mapping[key.name] KeyError: 'Qwen2RMConfig'
transformers version is 4.51.3
Who can help?
No response
Information
- [ ] The official example scripts
- [ ] My own modified scripts
Tasks
- [ ] An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below)
Reproduction
we use the lastest version of openrlhf、vllm、transformers
Expected behavior
Can you merge QwenRMconfig into the lastest version of transformers
Hi @Lelege0, can you paste some simple code that we can run to see the cause of this issue?
same problem, I commented the trust_remote_code=True temporarily. I'm using transformers==4.52.4
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.