AliNajafi commited on
Commit
ceeff8d
1 Parent(s): 236de7d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -20,7 +20,6 @@ widget:
20
  - text: "bugün <mask> hissediyorum"
21
  ---
22
 
23
-
24
  #### Table of contents
25
  1. [Introduction](#introduction)
26
  2. [Main results](#results)
@@ -198,7 +197,7 @@ preprocessed_texts = [preprocess(s) for s in sample_texts]
198
  with torch.no_grad():
199
  for s in preprocessed_texts:
200
  ids = tokenizer.encode_plus(s, return_tensors="pt")
201
- label_id = best_model_hs(**ids).logits.argmax(-1).item()
202
  print(id2label_hs[label_id],":", s)
203
  ```
204
 
 
20
  - text: "bugün <mask> hissediyorum"
21
  ---
22
 
 
23
  #### Table of contents
24
  1. [Introduction](#introduction)
25
  2. [Main results](#results)
 
197
  with torch.no_grad():
198
  for s in preprocessed_texts:
199
  ids = tokenizer.encode_plus(s, return_tensors="pt")
200
+ label_id = turkishBERTweet_hs(**ids).logits.argmax(-1).item()
201
  print(id2label_hs[label_id],":", s)
202
  ```
203