sugam11 commited on
Commit
1c80254
1 Parent(s): 6f9026c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -4,9 +4,9 @@ datasets:
4
  - Anthropic/hh-rlhf
5
  ---
6
  ```python
7
- from transformers import AutoTokenizer, GPT2ForSequenceClassificat
8
  tokenizer = AutoTokenizer.from_pretrained("microsoft/DialogRPT-updown")
9
- model = GPT2ForSequenceClassification.from_pretrained("sugam11/gpt2-rlhf-rewar
10
  inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
11
  with torch.no_grad():
12
  logits = model(**inputs).logits
 
4
  - Anthropic/hh-rlhf
5
  ---
6
  ```python
7
+ from transformers import AutoTokenizer, GPT2ForSequenceClassification
8
  tokenizer = AutoTokenizer.from_pretrained("microsoft/DialogRPT-updown")
9
+ model = GPT2ForSequenceClassification.from_pretrained("sugam11/gpt2-rlhf-reward")
10
  inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
11
  with torch.no_grad():
12
  logits = model(**inputs).logits