Update README.md
Browse files
README.md
CHANGED
@@ -6,7 +6,7 @@ language:
|
|
6 |
- zh
|
7 |
license: mit
|
8 |
model-index:
|
9 |
-
- name:
|
10 |
results:
|
11 |
- task:
|
12 |
name: NER
|
@@ -50,6 +50,53 @@ model-index:
|
|
50 |
type: f_score
|
51 |
value: 0.6920716113
|
52 |
---
|
53 |
-
# data_dev_spacy_zh_trf_1
|
54 |
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
- zh
|
7 |
license: mit
|
8 |
model-index:
|
9 |
+
- name: zh_core_web_trf
|
10 |
results:
|
11 |
- task:
|
12 |
name: NER
|
|
|
50 |
type: f_score
|
51 |
value: 0.6920716113
|
52 |
---
|
|
|
53 |
|
54 |
+
## data_dev_spacy_zh_lg_1
|
55 |
+
|
56 |
+
Chinese spacy model, based on the spacy stock zh_core_web_trf transformer-based model, used for regular day to day data engineering.
|
57 |
+
|
58 |
+
Chinese transformer pipeline (Transformer(name='bert-base-chinese', piece_encoder='bert-wordpiece', stride=152, type='bert', width=768, window=208, vocab_size=21128)). Components: transformer, tagger, parser, ner, attribute_ruler.
|
59 |
+
|
60 |
+
| Feature | Description |
|
61 |
+
| --- | --- |
|
62 |
+
| **Name** | `zh_core_web_trf` |
|
63 |
+
| **Version** | `3.7.2` |
|
64 |
+
| **spaCy** | `>=3.7.0,<3.8.0` |
|
65 |
+
| **Default Pipeline** | `transformer`, `tagger`, `parser`, `attribute_ruler`, `ner` |
|
66 |
+
| **Components** | `transformer`, `tagger`, `parser`, `attribute_ruler`, `ner` |
|
67 |
+
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
|
68 |
+
| **Sources** | [OntoNotes 5](https://catalog.ldc.upenn.edu/LDC2013T19) (Ralph Weischedel, Martha Palmer, Mitchell Marcus, Eduard Hovy, Sameer Pradhan, Lance Ramshaw, Nianwen Xue, Ann Taylor, Jeff Kaufman, Michelle Franchini, Mohammed El-Bachouti, Robert Belvin, Ann Houston)<br>[CoreNLP Universal Dependencies Converter](https://nlp.stanford.edu/software/stanford-dependencies.html) (Stanford NLP Group)<br>[bert-base-chinese](https://huggingface.co/bert-base-chinese) (Hugging Face) |
|
69 |
+
| **License** | `MIT` |
|
70 |
+
| **Author** | [Explosion](https://explosion.ai) |
|
71 |
+
|
72 |
+
### Label Scheme
|
73 |
+
|
74 |
+
<details>
|
75 |
+
|
76 |
+
<summary>View label scheme (99 labels for 3 components)</summary>
|
77 |
+
|
78 |
+
| Component | Labels |
|
79 |
+
| --- | --- |
|
80 |
+
| **`tagger`** | `AD`, `AS`, `BA`, `CC`, `CD`, `CS`, `DEC`, `DEG`, `DER`, `DEV`, `DT`, `ETC`, `FW`, `IJ`, `INF`, `JJ`, `LB`, `LC`, `M`, `MSP`, `NN`, `NR`, `NT`, `OD`, `ON`, `P`, `PN`, `PU`, `SB`, `SP`, `URL`, `VA`, `VC`, `VE`, `VV`, `X` |
|
81 |
+
| **`parser`** | `ROOT`, `acl`, `advcl:loc`, `advmod`, `advmod:dvp`, `advmod:loc`, `advmod:rcomp`, `amod`, `amod:ordmod`, `appos`, `aux:asp`, `aux:ba`, `aux:modal`, `aux:prtmod`, `auxpass`, `case`, `cc`, `ccomp`, `compound:nn`, `compound:vc`, `conj`, `cop`, `dep`, `det`, `discourse`, `dobj`, `etc`, `mark`, `mark:clf`, `name`, `neg`, `nmod`, `nmod:assmod`, `nmod:poss`, `nmod:prep`, `nmod:range`, `nmod:tmod`, `nmod:topic`, `nsubj`, `nsubj:xsubj`, `nsubjpass`, `nummod`, `parataxis:prnmod`, `punct`, `xcomp` |
|
82 |
+
| **`ner`** | `CARDINAL`, `DATE`, `EVENT`, `FAC`, `GPE`, `LANGUAGE`, `LAW`, `LOC`, `MONEY`, `NORP`, `ORDINAL`, `ORG`, `PERCENT`, `PERSON`, `PRODUCT`, `QUANTITY`, `TIME`, `WORK_OF_ART` |
|
83 |
+
|
84 |
+
</details>
|
85 |
+
|
86 |
+
### Accuracy
|
87 |
+
|
88 |
+
| Type | Score |
|
89 |
+
| --- | --- |
|
90 |
+
| `TOKEN_ACC` | 95.85 |
|
91 |
+
| `TOKEN_P` | 94.58 |
|
92 |
+
| `TOKEN_R` | 91.36 |
|
93 |
+
| `TOKEN_F` | 92.94 |
|
94 |
+
| `TAG_ACC` | 91.75 |
|
95 |
+
| `SENTS_P` | 70.92 |
|
96 |
+
| `SENTS_R` | 67.57 |
|
97 |
+
| `SENTS_F` | 69.21 |
|
98 |
+
| `DEP_UAS` | 75.72 |
|
99 |
+
| `DEP_LAS` | 71.45 |
|
100 |
+
| `ENTS_P` | 76.09 |
|
101 |
+
| `ENTS_R` | 72.18 |
|
102 |
+
| `ENTS_F` | 74.08 |
|