dumitrescustefan
commited on
Commit
•
4db9018
1
Parent(s):
3cbb67f
Update README.md
Browse files
README.md
CHANGED
@@ -16,8 +16,8 @@ Training was performed with the span corruption task on a clean 80GB Romanian te
|
|
16 |
```python
|
17 |
from transformers import MT5Model, T5Tokenizer
|
18 |
|
19 |
-
model = MT5Model.from_pretrained('dumitrescustefan/
|
20 |
-
tokenizer = T5Tokenizer.from_pretrained('dumitrescustefan/
|
21 |
input_text = "Acesta este un test."
|
22 |
target_text = "Acesta este"
|
23 |
inputs = tokenizer(input_text, return_tensors="pt")
|
|
|
16 |
```python
|
17 |
from transformers import MT5Model, T5Tokenizer
|
18 |
|
19 |
+
model = MT5Model.from_pretrained('dumitrescustefan/mt5-base-romanian')
|
20 |
+
tokenizer = T5Tokenizer.from_pretrained('dumitrescustefan/mt5-base-romanian')
|
21 |
input_text = "Acesta este un test."
|
22 |
target_text = "Acesta este"
|
23 |
inputs = tokenizer(input_text, return_tensors="pt")
|