File size: 539 Bytes
49ce301 d458a68 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# AnyRewardModel
## Usage
```python
from transformers import AutoModel, AutoProcessor
model = AutoModel.from_pretrained("PKU-Alignment/AnyRewardModel", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("PKU-Alignment/AnyRewardModel", trust_remote_code=True)
```
## Note:
If you encounter the following error:
```
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
```
Please refer to guide at [blog](https://blog.csdn.net/lanxing147/article/details/136625264) for detailed resolution steps. |