Update README.md
Browse files
README.md
CHANGED
@@ -32,9 +32,9 @@ wget -r -N -c -np --user "INSERT_USER" --ask-password https://physionet.org/file
|
|
32 |
|
33 |
Then, you can load the model + tokenizer:
|
34 |
```
|
35 |
-
from transformers import AutoTokenizer,
|
36 |
tokenizer = AutoTokenizer.from_pretrained(INSERT_PATH_TO_MODEL_FOLDER)
|
37 |
-
model =
|
38 |
```
|
39 |
|
40 |
# Questions?
|
|
|
32 |
|
33 |
Then, you can load the model + tokenizer:
|
34 |
```
|
35 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
36 |
tokenizer = AutoTokenizer.from_pretrained(INSERT_PATH_TO_MODEL_FOLDER)
|
37 |
+
model = AutoModelForSeq2SeqLM.from_pretrained(PATH_TO_MODEL_FOLDER)
|
38 |
```
|
39 |
|
40 |
# Questions?
|