yeshpanovrustem commited on
Commit
cbd8639
1 Parent(s): cc50de5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -37,8 +37,8 @@ You can use this model with the Transformers pipeline for NER.
37
  from transformers import AutoTokenizer, AutoModelForTokenClassification
38
  from transformers import pipeline
39
 
40
- tokenizer = AutoTokenizer.from_pretrained("yeshpanovrustem/xlm_roberta_large_ner_kazakh")
41
- model = AutoModelForTokenClassification.from_pretrained("yeshpanovrustem/xlm_roberta_large_ner_kazakh")
42
 
43
  nlp = pipeline("ner", model = model, tokenizer = tokenizer)
44
  example = "Қазақстан Республикасы — Шығыс Еуропа мен Орталық Азияда орналасқан мемлекет."
 
37
  from transformers import AutoTokenizer, AutoModelForTokenClassification
38
  from transformers import pipeline
39
 
40
+ tokenizer = AutoTokenizer.from_pretrained("yeshpanovrustem/xlm-roberta-large-ner-kazakh")
41
+ model = AutoModelForTokenClassification.from_pretrained("yeshpanovrustem/xlm-roberta-large-ner-kazakh")
42
 
43
  nlp = pipeline("ner", model = model, tokenizer = tokenizer)
44
  example = "Қазақстан Республикасы — Шығыс Еуропа мен Орталық Азияда орналасқан мемлекет."