Elron commited on
Commit
3c9a434
1 Parent(s): 67b632b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -4
README.md CHANGED
@@ -1,5 +1,4 @@
1
-
2
- ## BLEURT
3
 
4
  Pytorch version of the original BLEURT models from ACL paper ["BLEURT: Learning Robust Metrics for Text Generation"](https://aclanthology.org/2020.acl-main.704/) by
5
  Thibault Sellam, Dipanjan Das and Ankur P. Parikh of Google Research.
@@ -12,8 +11,8 @@ The code for model conversion was originated from [this notebook](https://colab.
12
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
13
  import torch
14
 
15
- tokenizer = AutoTokenizer.from_pretrained("elron/bleurt-large-512")
16
- model = AutoModelForSequenceClassification.from_pretrained("elron/bleurt-large-512")
17
  model.eval()
18
 
19
  references = ["hello world", "hello world"]
 
1
+ \n## BLEURT
 
2
 
3
  Pytorch version of the original BLEURT models from ACL paper ["BLEURT: Learning Robust Metrics for Text Generation"](https://aclanthology.org/2020.acl-main.704/) by
4
  Thibault Sellam, Dipanjan Das and Ankur P. Parikh of Google Research.
 
11
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
12
  import torch
13
 
14
+ tokenizer = AutoTokenizer.from_pretrained("Elron/bleurt-base-512")
15
+ model = AutoModelForSequenceClassification.from_pretrained("Elron/bleurt-base-512")
16
  model.eval()
17
 
18
  references = ["hello world", "hello world"]