EvanD commited on
Commit
33de79e
1 Parent(s): 928867a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -13,15 +13,15 @@ language:
13
  - hu
14
  ---
15
 
16
- xlm-roberta model trained on ukrainian ner dataset
17
 
18
 
19
  ```python
20
  from transformers import AutoTokenizer, AutoModelForTokenClassification
21
  from transformers import pipeline
22
 
23
- tokenizer = AutoTokenizer.from_pretrained("EvanD/xlm-roberta-base-ukrainian-ner-ukrner")
24
- ner_model = AutoModelForTokenClassification.from_pretrained("EvanD/xlm-roberta-base-ukrainian-ner-ukrner")
25
 
26
  nlp = pipeline("ner", model=ner_model, tokenizer=tokenizer, aggregation_strategy="simple")
27
  example = "A nevem Amadeus Wolfgang és Berlinben élek"
 
13
  - hu
14
  ---
15
 
16
+ xlm-roberta model trained on hungarian ner dataset
17
 
18
 
19
  ```python
20
  from transformers import AutoTokenizer, AutoModelForTokenClassification
21
  from transformers import pipeline
22
 
23
+ tokenizer = AutoTokenizer.from_pretrained("EvanD/xlm-roberta-base-hungarian-ner-huner")
24
+ ner_model = AutoModelForTokenClassification.from_pretrained("EvanD/xlm-roberta-base-hungarian-ner-huner")
25
 
26
  nlp = pipeline("ner", model=ner_model, tokenizer=tokenizer, aggregation_strategy="simple")
27
  example = "A nevem Amadeus Wolfgang és Berlinben élek"