Update README.md
Browse files
README.md
CHANGED
@@ -38,7 +38,7 @@ For further information or requests, please go to [PTT5 repository](https://gith
|
|
38 |
## Usage
|
39 |
```python
|
40 |
# Tokenizer
|
41 |
-
from transformers import
|
42 |
|
43 |
# PyTorch (bare model, baremodel + language modeling head)
|
44 |
from transformers import T5Model, T5ForConditionalGeneration
|
@@ -69,4 +69,4 @@ We are preparing an arXiv submission and soon will provide a citation. For now,
|
|
69 |
Journal = {GitHub repository},
|
70 |
Howpublished = {\url{https://github.com/unicamp-dl/PTT5}}
|
71 |
}
|
72 |
-
```
|
|
|
38 |
## Usage
|
39 |
```python
|
40 |
# Tokenizer
|
41 |
+
from transformers import T5Tokenizer
|
42 |
|
43 |
# PyTorch (bare model, baremodel + language modeling head)
|
44 |
from transformers import T5Model, T5ForConditionalGeneration
|
|
|
69 |
Journal = {GitHub repository},
|
70 |
Howpublished = {\url{https://github.com/unicamp-dl/PTT5}}
|
71 |
}
|
72 |
+
```
|