pengjie.wu
commited on
Commit
•
0ac1109
1
Parent(s):
e2cf24a
readme update
Browse files
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
## Cyclone Chinese NER
|
2 |
|
3 |
This model provides simplified Chinese NER model based on pretrained model BERT (specifically BERT + CRF)
|
4 |
-
Currently, we only support 8 general type of entities ("address", "company", "government", "name", "organization", "position", "scene")
|
5 |
|
6 |
### Usage
|
7 |
from transformers import BertConfig
|
@@ -11,4 +11,4 @@ Currently, we only support 8 general type of entities ("address", "company", "go
|
|
11 |
model_path = "cyclone/cyclone-ner"
|
12 |
|
13 |
tokenizer = CNerTokenizer.from_pretrained(model_path, do_lower_case=True)
|
14 |
-
model = BertCrfForNer.from_pretrained(model_path, config=config)
|
|
|
1 |
## Cyclone Chinese NER
|
2 |
|
3 |
This model provides simplified Chinese NER model based on pretrained model BERT (specifically BERT + CRF)
|
4 |
+
Currently, we only support 8 general type of entities ("address", "company", "government", "name", "organization", "position", "scene", "time")
|
5 |
|
6 |
### Usage
|
7 |
from transformers import BertConfig
|
|
|
11 |
model_path = "cyclone/cyclone-ner"
|
12 |
|
13 |
tokenizer = CNerTokenizer.from_pretrained(model_path, do_lower_case=True)
|
14 |
+
model = BertCrfForNer.from_pretrained(model_path, config=config)
|