github explosion/spacy-models zh_core_web_trf-3.0.0

Downloads Downloads (wheel)

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

Checksum .tar.gz: e09bb2fe90c7ba2771d46560ba9900b334cced05d9b4a8d5528af4cd5c431c9d
Checksum .whl: 53739a14be4b19f6522ec36cf77a3b51dcc21b3e9201af3ad47974c334e797e2

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

Feature Description
Name zh_core_web_trf
Version 3.0.0
spaCy >=3.0.0,<3.1.0
Model size 398 MB
Default Pipeline transformer, tagger, parser, ner, attribute_ruler
Components transformer, tagger, parser, ner, attribute_ruler
Vectors 0 keys, 0 unique vectors (0 dimensions)
Sources OntoNotes 5
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.52
DEP_UAS 76.74
DEP_LAS 73.00
ENTS_P 75.09
ENTS_R 75.66
ENTS_F 75.37
SENTS_P 69.66
SENTS_R 64.06
SENTS_F 66.74

Installation

pip install spacy
python -m spacy download zh_core_web_trf

Don't miss a new spacy-models release

NewReleases is sending notifications on new releases.