suehyunpark
commited on
Commit
•
85f5133
1
Parent(s):
8cce6c1
Update README.md
Browse files
README.md
CHANGED
@@ -38,7 +38,7 @@ Janus-RM-7B is a reward model created by training Janus-7B (which is trained for
|
|
38 |
|
39 |
# Usage
|
40 |
Here is example code to load the reward model and calculate a scalar reward on a model output.
|
41 |
-
```
|
42 |
from transformers import AutoConfig, AutoModel, AutoModelForCausalLM, AutoTokenizer
|
43 |
import torch
|
44 |
import torch.nn as nn
|
|
|
38 |
|
39 |
# Usage
|
40 |
Here is example code to load the reward model and calculate a scalar reward on a model output.
|
41 |
+
```python
|
42 |
from transformers import AutoConfig, AutoModel, AutoModelForCausalLM, AutoTokenizer
|
43 |
import torch
|
44 |
import torch.nn as nn
|