xyla commited on
Commit
c308d3b
1 Parent(s): 1ea5ce1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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, AutoModel
36
  tokenizer = AutoTokenizer.from_pretrained(INSERT_PATH_TO_MODEL_FOLDER)
37
- model = AutoModel.from_pretrained(PATH_TO_MODEL_FOLDER)
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?