sjrhuschlee
commited on
Commit
•
d4fe29a
1
Parent(s):
a0b2524
Update README.md
Browse files
README.md
CHANGED
@@ -186,7 +186,7 @@ res = nlp(qa_input)
|
|
186 |
# b) Load model & tokenizer
|
187 |
model = AutoModelForQuestionAnswering.from_pretrained(
|
188 |
model_name,
|
189 |
-
# trust_remote_code=True #
|
190 |
)
|
191 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
192 |
|
|
|
186 |
# b) Load model & tokenizer
|
187 |
model = AutoModelForQuestionAnswering.from_pretrained(
|
188 |
model_name,
|
189 |
+
# trust_remote_code=True # Do not use if version transformers>=4.31.0
|
190 |
)
|
191 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
192 |
|