the model name was wrong
Browse files
README.md
CHANGED
@@ -34,8 +34,8 @@ I fine-tuned Turkish-Bert-Model for Question-Answering problem with Turkish vers
|
|
34 |
from transformers import AutoTokenizer, AutoModelForQuestionAnswering, pipeline
|
35 |
import torch
|
36 |
|
37 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
38 |
-
model = AutoModelForQuestionAnswering.from_pretrained("
|
39 |
nlp=pipeline("question-answering", model=model, tokenizer=tokenizer)
|
40 |
```
|
41 |
|
|
|
34 |
from transformers import AutoTokenizer, AutoModelForQuestionAnswering, pipeline
|
35 |
import torch
|
36 |
|
37 |
+
tokenizer = AutoTokenizer.from_pretrained("savasy/bert-base-turkish-squad")
|
38 |
+
model = AutoModelForQuestionAnswering.from_pretrained("savasy/bert-base-turkish-squad")
|
39 |
nlp=pipeline("question-answering", model=model, tokenizer=tokenizer)
|
40 |
```
|
41 |
|