Nucha commited on
Commit
03a904a
·
verified ·
1 Parent(s): 5ba08b8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -17,7 +17,8 @@ You can employ this model using the Transformers library's pipeline for NER, or
17
  You can employ this model using the Transformers library's *pipeline* for NER, or incorporate it as a conventional Transformer in the HuggingFace ecosystem.
18
 
19
  ```python
20
- from transformers import pipeline
 
21
  ```
22
 
23
  ## Demo
 
17
  You can employ this model using the Transformers library's *pipeline* for NER, or incorporate it as a conventional Transformer in the HuggingFace ecosystem.
18
 
19
  ```python
20
+ tokenizer = BertTokenizer.from_pretrained('Nucha/Nucha_SkillNER_BERT')
21
+ model = BertForTokenClassification.from_pretrained('Nucha/Nucha_SkillNER_BERT', num_labels=5)
22
  ```
23
 
24
  ## Demo