Commit
•
52b61fa
1
Parent(s):
d19d4ef
Update README.md
Browse filesForgot the "s" in transformers breaking example.
README.md
CHANGED
@@ -35,7 +35,7 @@ All models are train on these dataset with a same split seed across datasets (if
|
|
35 |
# How to use
|
36 |
|
37 |
```
|
38 |
-
from
|
39 |
reward_name = "OpenAssistant/reward-model-deberta-v3-large"
|
40 |
rank_model, tokenizer = AutoModelForSequenceClassification.from_pretrained(reward_name), AutoTokenizer.from_pretrained(reward_name)
|
41 |
question, answer = "Explain nuclear fusion like I am five", "Nuclear fusion is the process by which two or more protons and neutrons combine to form a single nucleus. It is a very important process in the universe, as it is the source of energy for stars and galaxies. Nuclear fusion is also a key process in the production of energy for nuclear power plants."
|
|
|
35 |
# How to use
|
36 |
|
37 |
```
|
38 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
39 |
reward_name = "OpenAssistant/reward-model-deberta-v3-large"
|
40 |
rank_model, tokenizer = AutoModelForSequenceClassification.from_pretrained(reward_name), AutoTokenizer.from_pretrained(reward_name)
|
41 |
question, answer = "Explain nuclear fusion like I am five", "Nuclear fusion is the process by which two or more protons and neutrons combine to form a single nucleus. It is a very important process in the universe, as it is the source of energy for stars and galaxies. Nuclear fusion is also a key process in the production of energy for nuclear power plants."
|