"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "bc5806ba9cedf399cf1d13b6c8321ed1a17fdd5a"
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