zh_core_web_trf / README.md
osanseviero's picture
Update spaCy pipeline
c4017fc
|
raw
history blame
3.63 kB
metadata
tags:
  - spacy
  - token-classification
language:
  - zh
license: MIT
model-index:
  - name: zh_core_web_trf
    results:
      - tasks:
          name: NER
          type: token-classification
          metrics:
            - name: Precision
              type: precision
              value: 0.6744976507
            - name: Recall
              type: recall
              value: 0.7414285714
            - name: F Score
              type: f_score
              value: 0.7063811967
      - tasks:
          name: POS
          type: token-classification
          metrics:
            - name: Accuracy
              type: accuracy
              value: 0.92444533
      - tasks:
          name: SENTER
          type: token-classification
          metrics:
            - name: Precision
              type: precision
              value: 0.6917940608
            - name: Recall
              type: recall
              value: 0.655402031
            - name: F Score
              type: f_score
              value: 0.6731065139
      - tasks:
          name: UNLABELED_DEPENDENCIES
          type: token-classification
          metrics:
            - name: Accuracy
              type: accuracy
              value: 0.7661671924
      - tasks:
          name: LABELED_DEPENDENCIES
          type: token-classification
          metrics:
            - name: Accuracy
              type: accuracy
              value: 0.7661671924

Details: https://spacy.io/models/zh#zh_core_web_trf

Chinese transformer pipeline (bert-base-chinese). Components: transformer, tagger, parser, ner, attribute_ruler.

Feature Description
Name zh_core_web_trf
Version 3.1.0
spaCy >=3.1.0,<3.2.0
Default Pipeline transformer, tagger, parser, attribute_ruler, ner
Components transformer, tagger, parser, attribute_ruler, ner
Vectors 0 keys, 0 unique vectors (0 dimensions)
Sources OntoNotes 5 (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)
CoreNLP Universal Dependencies Converter (Stanford NLP Group)
bert-base-chinese (Hugging Face)
License MIT
Author Explosion

Label Scheme

View label scheme (99 labels for 3 components)
Component Labels
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
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
ner CARDINAL, DATE, EVENT, FAC, GPE, LANGUAGE, LAW, LOC, MONEY, NORP, ORDINAL, ORG, PERCENT, PERSON, PRODUCT, QUANTITY, TIME, WORK_OF_ART

Accuracy

Type Score
TOKEN_ACC 97.88
TAG_ACC 92.44
DEP_UAS 76.62
DEP_LAS 72.80
ENTS_P 67.45
ENTS_R 74.14
ENTS_F 70.64
SENTS_P 69.18
SENTS_R 65.54
SENTS_F 67.31