Update README.md
Browse files
README.md
CHANGED
@@ -38,9 +38,9 @@ widget:
|
|
38 |
Here is how to use this model to get the features of a given text in PyTorch:
|
39 |
|
40 |
```python
|
41 |
-
from transformers import AutoTokenizer,
|
42 |
tokenizer = AutoTokenizer.from_pretrained("supermy/couplet-helsinki")
|
43 |
-
model =
|
44 |
```
|
45 |
|
46 |
|
|
|
38 |
Here is how to use this model to get the features of a given text in PyTorch:
|
39 |
|
40 |
```python
|
41 |
+
from transformers import AutoTokenizer, AutoModel
|
42 |
tokenizer = AutoTokenizer.from_pretrained("supermy/couplet-helsinki")
|
43 |
+
model = AutoModel.from_pretrained("supermy/couplet-helsinki")
|
44 |
```
|
45 |
|
46 |
|