Open AIR-hl opened 2 months ago
Hi,
trust_remote_code=True
is necessary because the transformers library does not originally support the model structure. An alternative approach is to paste the model code in your Python file and directly load the checkpoint by EurusRewardModel.from_pretrained()
When I using local model files and setting![image](https://github.com/OpenBMB/Eurus/assets/66808901/af5f5584-b047-45f1-a422-e9c10ad7b457)
trust_remote_code=False
will appear following error: