fixed missing torch module import (#4305)

fixed missing torch module import in example usage code
This commit is contained in:
Levent Serinol authored and GitHub committed 2020-05-12 08:34:17 -04:00
1 parent 31e67dd19f
commit 65be574aec
1 file changed
+1
@@ -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")