savasy commited on
Commit
b508656
1 Parent(s): a7bf4e1

the model name was wrong

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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("./model")
38
- model = AutoModelForQuestionAnswering.from_pretrained("./model")
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