"examples/run_bert_squad.py" did not exist on "a59abedfb5301ede6923ef0312de2ae5fa34fc97"
Unverified Commit 65be574a authored by Levent Serinol's avatar Levent Serinol Committed by GitHub
Browse files

fixed missing torch module import (#4305)

fixed missing torch module import in example usage code
parent 31e67dd1
......@@ -17,6 +17,7 @@ nlp({
```python
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
import torch
tokenizer = AutoTokenizer.from_pretrained("lserinol/bert-turkish-question-answering")
model = AutoModelForQuestionAnswering.from_pretrained("lserinol/bert-turkish-question-answering")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment