entfane commited on
Commit
c60e4d4
·
verified ·
1 Parent(s): 91fa8e3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -20,10 +20,10 @@ This is a reward model based on Bert Uncased.
20
  model_name = "entfane/BERT_human_like_RM"
21
  tokenizer = AutoTokenizer.from_pretrained(model_name)
22
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
23
- messages = ["How are you doing? Great, wbu?",
24
- "How are you doing?" Greetings! I am doing just fine, may I ask you, how are you doing?
25
  ]
26
  input = tokenizer(messages, return_tensors="pt", padding="max_length").to(model.device)
27
- output = model(**encoded_input)
28
  print(output)
29
  ```
 
20
  model_name = "entfane/BERT_human_like_RM"
21
  tokenizer = AutoTokenizer.from_pretrained(model_name)
22
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
23
+ messages = ["How are you doing? Great",
24
+ "How are you doing? Greetings! I am doing just fine, may I ask you, how are you doing?"
25
  ]
26
  input = tokenizer(messages, return_tensors="pt", padding="max_length").to(model.device)
27
+ output = model(**input)
28
  print(output)
29
  ```