Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
## 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
|
|
@@ -8,7 +9,7 @@ The code for model conversion was originated from [this notebook](https://colab.
|
|
| 8 |
## Usage Example
|
| 9 |
|
| 10 |
```python
|
| 11 |
-
from transformers import
|
| 12 |
import torch
|
| 13 |
|
| 14 |
tokenizer = AutoTokenizer.from_pretrained("elron/bleurt-large-512")
|
|
|
|
| 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
|
|
|
|
| 9 |
## Usage Example
|
| 10 |
|
| 11 |
```python
|
| 12 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 13 |
import torch
|
| 14 |
|
| 15 |
tokenizer = AutoTokenizer.from_pretrained("elron/bleurt-large-512")
|