Tirendaz commited on
Commit
b374b36
·
1 Parent(s): 4e4aa50

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -60,8 +60,8 @@ You can use this model with Transformers *pipeline* for NER.
60
  from transformers import AutoTokenizer, AutoModelForTokenClassification
61
  from transformers import pipeline
62
 
63
- tokenizer = AutoTokenizer.from_pretrained("Tirendaz/roberta-base-NER")
64
- model = AutoModelForTokenClassification.from_pretrained("Tirendaz/roberta-base-NER")
65
 
66
  nlp = pipeline("ner", model=model, tokenizer=tokenizer)
67
  example = "My name is Wolfgang and I live in Berlin"
 
60
  from transformers import AutoTokenizer, AutoModelForTokenClassification
61
  from transformers import pipeline
62
 
63
+ tokenizer = AutoTokenizer.from_pretrained("Tirendaz/multilingual-xlm-roberta-for-ner")
64
+ model = AutoModelForTokenClassification.from_pretrained("Tirendaz/multilingual-xlm-roberta-for-ner")
65
 
66
  nlp = pipeline("ner", model=model, tokenizer=tokenizer)
67
  example = "My name is Wolfgang and I live in Berlin"