Instructions to use browndw/en_docusco_spacy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use browndw/en_docusco_spacy with spaCy:
!pip install https://huggingface.co/browndw/en_docusco_spacy/resolve/main/en_docusco_spacy-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_docusco_spacy") # Importing as module. import en_docusco_spacy nlp = en_docusco_spacy.load() - Notebooks
- Google Colab
- Kaggle
Update spaCy pipeline
Browse files- README.md +15 -15
- config.cfg +10 -8
- en_docusco_spacy-any-py3-none-any.whl +2 -2
- meta.json +156 -150
- ner/model +1 -1
- ner/moves +1 -1
- tagger/cfg +7 -0
- tagger/model +2 -2
- tok2vec/model +1 -1
- vocab/strings.json +2 -2
README.md
CHANGED
|
@@ -14,28 +14,28 @@ model-index:
|
|
| 14 |
metrics:
|
| 15 |
- name: NER Precision
|
| 16 |
type: precision
|
| 17 |
-
value: 0.
|
| 18 |
- name: NER Recall
|
| 19 |
type: recall
|
| 20 |
-
value: 0.
|
| 21 |
- name: NER F Score
|
| 22 |
type: f_score
|
| 23 |
-
value: 0.
|
| 24 |
- task:
|
| 25 |
name: TAG
|
| 26 |
type: token-classification
|
| 27 |
metrics:
|
| 28 |
- name: TAG (XPOS) Accuracy
|
| 29 |
type: accuracy
|
| 30 |
-
value: 0.
|
| 31 |
---
|
| 32 |
English pipeline for part-of-speech and rhetorical tagging.
|
| 33 |
|
| 34 |
| Feature | Description |
|
| 35 |
| --- | --- |
|
| 36 |
| **Name** | `en_docusco_spacy` |
|
| 37 |
-
| **Version** | `1.
|
| 38 |
-
| **spaCy** | `>=3.
|
| 39 |
| **Default Pipeline** | `tok2vec`, `tagger`, `ner` |
|
| 40 |
| **Components** | `tok2vec`, `tagger`, `ner` |
|
| 41 |
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
|
|
@@ -47,11 +47,11 @@ English pipeline for part-of-speech and rhetorical tagging.
|
|
| 47 |
|
| 48 |
<details>
|
| 49 |
|
| 50 |
-
<summary>View label scheme (
|
| 51 |
|
| 52 |
| Component | Labels |
|
| 53 |
| --- | --- |
|
| 54 |
-
| **`tagger`** | `APPGE`, `AT`, `AT1`, `BCL21`, `BCL22`, `CC`, `CCB`, `CS`, `CS21`, `CS22`, `CS31`, `CS32`, `CS33`, `CS41`, `CS42`, `CS43`, `CS44`, `CSA`, `CSN`, `CST`, `CSW`, `CSW31`, `CSW32`, `CSW33`, `DA`, `DA1`, `DA2`, `DAR`, `DAT`, `DB`, `DB2`, `DD`, `DD1`, `DD2`, `DDQ`, `DDQGE`, `DDQGE31`, `DDQGE32`, `DDQGE33`, `DDQV`, `DDQV31`, `DDQV32`, `DDQV33`, `EX`, `FO`, `FU`, `FW`, `GE`, `IF`, `II`, `II21`, `II22`, `II31`, `II32`, `II33`, `II41`, `II42`, `II43`, `II44`, `IO`, `IW`, `JJ`, `JJ21`, `JJ22`, `JJ31`, `JJ32`, `JJ33`, `JJ41`, `JJ42`, `JJ43`, `JJ44`, `JJR`, `JJT`, `JK`, `MC`, `MC1`, `MC2`, `MC221`, `MC222`, `MCMC`, `MD`, `MF`, `ND1`, `NN`, `NN1`, `NN121`, `NN122`, `NN131`, `NN132`, `NN133`, `NN141`, `NN142`, `NN143`, `NN144`, `NN2`, `NN21`, `NN22`, `NN221`, `NN222`, `NN231`, `NN232`, `NN233`, `NN31`, `NN32`, `NN33`, `NNA`, `NNB`, `NNL1`, `NNL2`, `NNO`, `NNO2`, `NNT1`, `NNT131`, `NNT133`, `NNT2`, `NNU`, `NNU1`, `NNU2`, `NNU21`, `NNU22`, `NNU221`, `NNU222`, `NP`, `NP1`, `NP2`, `NPD1`, `NPD2`, `NPM1`, `NPM2`, `PN`, `PN1`, `PN121`, `PN122`, `PN21`, `PN22`, `PNQO`, `PNQS`, `PNQS31`, `PNQS32`, `PNQS33`, `PNQV`, `PNQV31`, `PNQV32`, `PNQV33`, `PNX1`, `PPGE`, `PPH1`, `PPHO1`, `PPHO2`, `PPHS1`, `PPHS2`, `PPIO1`, `PPIO2`, `PPIS1`, `PPIS2`, `PPX1`, `PPX121`, `PPX122`, `PPX2`, `PPX221`, `PPX222`, `PPY`, `RA`, `RA21`, `RA22`, `REX`, `REX21`, `REX22`, `REX41`, `REX42`, `REX43`, `REX44`, `RG`, `RG21`, `RG22`, `RG41`, `RG42`, `RG43`, `RG44`, `RGQ`, `RGQV`, `RGQV31`, `RGQV32`, `RGQV33`, `RGR`, `RGT`, `RL`, `RL21`, `RL22`, `RL31`, `RL32`, `RL33`, `RP`, `RPK`, `RR`, `RR21`, `RR22`, `RR31`, `RR32`, `RR33`, `RR41`, `RR42`, `RR43`, `RR44`, `RR51`, `RR52`, `RR53`, `RR54`, `RR55`, `RRQ`, `RRQV`, `RRQV31`, `RRQV32`, `RRQV33`, `RRR`, `RRT`, `RT`, `RT21`, `RT22`, `RT31`, `RT32`, `RT33`, `RT41`, `RT42`, `RT43`, `RT44`, `TO`, `UH`, `UH21`, `UH22`, `UH31`, `UH32`, `UH33`, `VB0`, `VBDR`, `VBDZ`, `VBG`, `VBI`, `VBM`, `VBN`, `VBR`, `VBZ`, `VD0`, `VDD`, `VDG`, `VDI`, `VDN`, `VDZ`, `VH0`, `VHD`, `VHG`, `VHI`, `VHN`, `VHZ`, `VM`, `VM21`, `VM22`, `VMK`, `VV0`, `VVD`, `VVG`, `VVGK`, `VVI`, `VVN`, `VVNK`, `VVZ`, `XX`, `Y`, `ZZ1`, `ZZ2`, `ZZ221`, `ZZ222` |
|
| 55 |
| **`ner`** | `AcademicTerms`, `AcademicWritingMoves`, `Character`, `Citation`, `CitationAuthority`, `CitationHedged`, `ConfidenceHedged`, `ConfidenceHigh`, `ConfidenceLow`, `Contingent`, `Description`, `Facilitate`, `FirstPerson`, `ForceStressed`, `Future`, `InformationChange`, `InformationChangeNegative`, `InformationChangePositive`, `InformationExposition`, `InformationPlace`, `InformationReportVerbs`, `InformationStates`, `InformationTopics`, `Inquiry`, `Interactive`, `MetadiscourseCohesive`, `MetadiscourseInteractive`, `Narrative`, `Negative`, `Positive`, `PublicTerms`, `Reasoning`, `Responsibility`, `Strategic`, `Uncertainty`, `Updates` |
|
| 56 |
|
| 57 |
</details>
|
|
@@ -60,10 +60,10 @@ English pipeline for part-of-speech and rhetorical tagging.
|
|
| 60 |
|
| 61 |
| Type | Score |
|
| 62 |
| --- | --- |
|
| 63 |
-
| `TAG_ACC` |
|
| 64 |
-
| `ENTS_F` |
|
| 65 |
-
| `ENTS_P` |
|
| 66 |
-
| `ENTS_R` |
|
| 67 |
-
| `TOK2VEC_LOSS` |
|
| 68 |
-
| `TAGGER_LOSS` |
|
| 69 |
-
| `NER_LOSS` |
|
|
|
|
| 14 |
metrics:
|
| 15 |
- name: NER Precision
|
| 16 |
type: precision
|
| 17 |
+
value: 0.7999501539
|
| 18 |
- name: NER Recall
|
| 19 |
type: recall
|
| 20 |
+
value: 0.8082591001
|
| 21 |
- name: NER F Score
|
| 22 |
type: f_score
|
| 23 |
+
value: 0.8040831626
|
| 24 |
- task:
|
| 25 |
name: TAG
|
| 26 |
type: token-classification
|
| 27 |
metrics:
|
| 28 |
- name: TAG (XPOS) Accuracy
|
| 29 |
type: accuracy
|
| 30 |
+
value: 0.9732027902
|
| 31 |
---
|
| 32 |
English pipeline for part-of-speech and rhetorical tagging.
|
| 33 |
|
| 34 |
| Feature | Description |
|
| 35 |
| --- | --- |
|
| 36 |
| **Name** | `en_docusco_spacy` |
|
| 37 |
+
| **Version** | `1.4` |
|
| 38 |
+
| **spaCy** | `>=3.7.4,<3.8.0` |
|
| 39 |
| **Default Pipeline** | `tok2vec`, `tagger`, `ner` |
|
| 40 |
| **Components** | `tok2vec`, `tagger`, `ner` |
|
| 41 |
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
|
|
|
|
| 47 |
|
| 48 |
<details>
|
| 49 |
|
| 50 |
+
<summary>View label scheme (314 labels for 2 components)</summary>
|
| 51 |
|
| 52 |
| Component | Labels |
|
| 53 |
| --- | --- |
|
| 54 |
+
| **`tagger`** | `APPGE`, `AT`, `AT1`, `BCL21`, `BCL22`, `CC`, `CCB`, `CS`, `CS21`, `CS22`, `CS31`, `CS32`, `CS33`, `CS41`, `CS42`, `CS43`, `CS44`, `CSA`, `CSN`, `CST`, `CSW`, `CSW31`, `CSW32`, `CSW33`, `DA`, `DA1`, `DA2`, `DAR`, `DAT`, `DB`, `DB2`, `DD`, `DD1`, `DD2`, `DDQ`, `DDQGE`, `DDQGE31`, `DDQGE32`, `DDQGE33`, `DDQV`, `DDQV31`, `DDQV32`, `DDQV33`, `EX`, `FO`, `FU`, `FW`, `GE`, `IF`, `II`, `II21`, `II22`, `II31`, `II32`, `II33`, `II41`, `II42`, `II43`, `II44`, `IO`, `IW`, `JJ`, `JJ21`, `JJ22`, `JJ31`, `JJ32`, `JJ33`, `JJ41`, `JJ42`, `JJ43`, `JJ44`, `JJR`, `JJT`, `JK`, `MC`, `MC1`, `MC121`, `MC122`, `MC2`, `MC221`, `MC222`, `MCMC`, `MD`, `MF`, `ND1`, `NN`, `NN1`, `NN121`, `NN122`, `NN131`, `NN132`, `NN133`, `NN141`, `NN142`, `NN143`, `NN144`, `NN2`, `NN21`, `NN22`, `NN221`, `NN222`, `NN231`, `NN232`, `NN233`, `NN31`, `NN32`, `NN33`, `NNA`, `NNB`, `NNL1`, `NNL2`, `NNO`, `NNO2`, `NNT1`, `NNT131`, `NNT132`, `NNT133`, `NNT2`, `NNU`, `NNU1`, `NNU2`, `NNU21`, `NNU22`, `NNU221`, `NNU222`, `NP`, `NP1`, `NP2`, `NPD1`, `NPD2`, `NPM1`, `NPM2`, `PN`, `PN1`, `PN121`, `PN122`, `PN21`, `PN22`, `PNQO`, `PNQS`, `PNQS31`, `PNQS32`, `PNQS33`, `PNQV`, `PNQV31`, `PNQV32`, `PNQV33`, `PNX1`, `PPGE`, `PPH1`, `PPHO1`, `PPHO2`, `PPHS1`, `PPHS2`, `PPIO1`, `PPIO2`, `PPIS1`, `PPIS2`, `PPX1`, `PPX121`, `PPX122`, `PPX2`, `PPX221`, `PPX222`, `PPY`, `RA`, `RA21`, `RA22`, `REX`, `REX21`, `REX22`, `REX41`, `REX42`, `REX43`, `REX44`, `RG`, `RG21`, `RG22`, `RG31`, `RG32`, `RG33`, `RG41`, `RG42`, `RG43`, `RG44`, `RGQ`, `RGQV`, `RGQV31`, `RGQV32`, `RGQV33`, `RGR`, `RGT`, `RL`, `RL21`, `RL22`, `RL31`, `RL32`, `RL33`, `RP`, `RPK`, `RR`, `RR21`, `RR22`, `RR31`, `RR32`, `RR33`, `RR41`, `RR42`, `RR43`, `RR44`, `RR51`, `RR52`, `RR53`, `RR54`, `RR55`, `RRQ`, `RRQV`, `RRQV31`, `RRQV32`, `RRQV33`, `RRR`, `RRT`, `RT`, `RT21`, `RT22`, `RT31`, `RT32`, `RT33`, `RT41`, `RT42`, `RT43`, `RT44`, `TO`, `UH`, `UH21`, `UH22`, `UH31`, `UH32`, `UH33`, `VB0`, `VBDR`, `VBDZ`, `VBG`, `VBI`, `VBM`, `VBN`, `VBR`, `VBZ`, `VD0`, `VDD`, `VDG`, `VDI`, `VDN`, `VDZ`, `VH0`, `VHD`, `VHG`, `VHI`, `VHN`, `VHZ`, `VM`, `VM21`, `VM22`, `VMK`, `VV0`, `VVD`, `VVG`, `VVGK`, `VVI`, `VVN`, `VVNK`, `VVZ`, `XX`, `Y`, `ZZ1`, `ZZ2`, `ZZ221`, `ZZ222` |
|
| 55 |
| **`ner`** | `AcademicTerms`, `AcademicWritingMoves`, `Character`, `Citation`, `CitationAuthority`, `CitationHedged`, `ConfidenceHedged`, `ConfidenceHigh`, `ConfidenceLow`, `Contingent`, `Description`, `Facilitate`, `FirstPerson`, `ForceStressed`, `Future`, `InformationChange`, `InformationChangeNegative`, `InformationChangePositive`, `InformationExposition`, `InformationPlace`, `InformationReportVerbs`, `InformationStates`, `InformationTopics`, `Inquiry`, `Interactive`, `MetadiscourseCohesive`, `MetadiscourseInteractive`, `Narrative`, `Negative`, `Positive`, `PublicTerms`, `Reasoning`, `Responsibility`, `Strategic`, `Uncertainty`, `Updates` |
|
| 56 |
|
| 57 |
</details>
|
|
|
|
| 60 |
|
| 61 |
| Type | Score |
|
| 62 |
| --- | --- |
|
| 63 |
+
| `TAG_ACC` | 97.32 |
|
| 64 |
+
| `ENTS_F` | 80.41 |
|
| 65 |
+
| `ENTS_P` | 80.00 |
|
| 66 |
+
| `ENTS_R` | 80.83 |
|
| 67 |
+
| `TOK2VEC_LOSS` | 297770148.23 |
|
| 68 |
+
| `TAGGER_LOSS` | 4485596.63 |
|
| 69 |
+
| `NER_LOSS` | 21563546.64 |
|
config.cfg
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[paths]
|
| 2 |
-
train = "
|
| 3 |
-
dev = "
|
| 4 |
vectors = null
|
| 5 |
init_tok2vec = null
|
| 6 |
|
|
@@ -17,6 +17,7 @@ before_creation = null
|
|
| 17 |
after_creation = null
|
| 18 |
after_pipeline_creation = null
|
| 19 |
tokenizer = {"@tokenizers":"spacy.Tokenizer.v1"}
|
|
|
|
| 20 |
|
| 21 |
[components]
|
| 22 |
|
|
@@ -43,6 +44,7 @@ upstream = "*"
|
|
| 43 |
|
| 44 |
[components.tagger]
|
| 45 |
factory = "tagger"
|
|
|
|
| 46 |
neg_prefix = "!"
|
| 47 |
overwrite = false
|
| 48 |
scorer = {"@scorers":"spacy.tagger_scorer.v1"}
|
|
@@ -102,10 +104,10 @@ seed = ${system.seed}
|
|
| 102 |
gpu_allocator = ${system.gpu_allocator}
|
| 103 |
dropout = 0.1
|
| 104 |
accumulate_gradient = 1
|
| 105 |
-
patience =
|
| 106 |
-
max_epochs =
|
| 107 |
-
max_steps =
|
| 108 |
-
eval_frequency =
|
| 109 |
frozen_components = []
|
| 110 |
annotating_components = []
|
| 111 |
before_to_disk = null
|
|
@@ -140,8 +142,8 @@ eps = 0.00000001
|
|
| 140 |
learn_rate = 0.001
|
| 141 |
|
| 142 |
[training.score_weights]
|
| 143 |
-
tag_acc = 0.
|
| 144 |
-
ents_f = 0.
|
| 145 |
ents_p = 0.0
|
| 146 |
ents_r = 0.0
|
| 147 |
ents_per_type = null
|
|
|
|
| 1 |
[paths]
|
| 2 |
+
train = "spacy_train_08.spacy"
|
| 3 |
+
dev = "spacy_dev_08.spacy"
|
| 4 |
vectors = null
|
| 5 |
init_tok2vec = null
|
| 6 |
|
|
|
|
| 17 |
after_creation = null
|
| 18 |
after_pipeline_creation = null
|
| 19 |
tokenizer = {"@tokenizers":"spacy.Tokenizer.v1"}
|
| 20 |
+
vectors = {"@vectors":"spacy.Vectors.v1"}
|
| 21 |
|
| 22 |
[components]
|
| 23 |
|
|
|
|
| 44 |
|
| 45 |
[components.tagger]
|
| 46 |
factory = "tagger"
|
| 47 |
+
label_smoothing = 0.05
|
| 48 |
neg_prefix = "!"
|
| 49 |
overwrite = false
|
| 50 |
scorer = {"@scorers":"spacy.tagger_scorer.v1"}
|
|
|
|
| 104 |
gpu_allocator = ${system.gpu_allocator}
|
| 105 |
dropout = 0.1
|
| 106 |
accumulate_gradient = 1
|
| 107 |
+
patience = 20000
|
| 108 |
+
max_epochs = -1
|
| 109 |
+
max_steps = 80000
|
| 110 |
+
eval_frequency = 1000
|
| 111 |
frozen_components = []
|
| 112 |
annotating_components = []
|
| 113 |
before_to_disk = null
|
|
|
|
| 142 |
learn_rate = 0.001
|
| 143 |
|
| 144 |
[training.score_weights]
|
| 145 |
+
tag_acc = 0.4
|
| 146 |
+
ents_f = 0.6
|
| 147 |
ents_p = 0.0
|
| 148 |
ents_r = 0.0
|
| 149 |
ents_per_type = null
|
en_docusco_spacy-any-py3-none-any.whl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d9d5411d259b75eabdaf033355056150b158d0d9122a527f5a62b450224f658
|
| 3 |
+
size 8600882
|
meta.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
{
|
| 2 |
"lang":"en",
|
| 3 |
"name":"docusco_spacy",
|
| 4 |
-
"version":"1.
|
| 5 |
"description":"English pipeline for part-of-speech and rhetorical tagging.",
|
| 6 |
"author":"David Brown",
|
| 7 |
"email":"dwb2@andrew.cmu.edu",
|
| 8 |
"url":"https://docuscope.github.io",
|
| 9 |
"license":"MIT",
|
| 10 |
-
"spacy_version":">=3.
|
| 11 |
-
"spacy_git_version":"
|
| 12 |
"vectors":{
|
| 13 |
"width":0,
|
| 14 |
"vectors":0,
|
|
@@ -96,6 +96,8 @@
|
|
| 96 |
"JK",
|
| 97 |
"MC",
|
| 98 |
"MC1",
|
|
|
|
|
|
|
| 99 |
"MC2",
|
| 100 |
"MC221",
|
| 101 |
"MC222",
|
|
@@ -133,6 +135,7 @@
|
|
| 133 |
"NNO2",
|
| 134 |
"NNT1",
|
| 135 |
"NNT131",
|
|
|
|
| 136 |
"NNT133",
|
| 137 |
"NNT2",
|
| 138 |
"NNU",
|
|
@@ -195,6 +198,9 @@
|
|
| 195 |
"RG",
|
| 196 |
"RG21",
|
| 197 |
"RG22",
|
|
|
|
|
|
|
|
|
|
| 198 |
"RG41",
|
| 199 |
"RG42",
|
| 200 |
"RG43",
|
|
@@ -346,195 +352,195 @@
|
|
| 346 |
|
| 347 |
],
|
| 348 |
"performance":{
|
| 349 |
-
"tag_acc":0.
|
| 350 |
-
"ents_f":0.
|
| 351 |
-
"ents_p":0.
|
| 352 |
-
"ents_r":0.
|
| 353 |
"ents_per_type":{
|
| 354 |
-
"
|
| 355 |
-
"p":0.
|
| 356 |
-
"r":0.
|
| 357 |
-
"f":0.
|
| 358 |
-
},
|
| 359 |
-
"InformationExposition":{
|
| 360 |
-
"p":0.8498392228,
|
| 361 |
-
"r":0.857557341,
|
| 362 |
-
"f":0.8536808374
|
| 363 |
},
|
| 364 |
"AcademicTerms":{
|
| 365 |
-
"p":0.
|
| 366 |
-
"r":0.
|
| 367 |
-
"f":0.
|
| 368 |
},
|
| 369 |
-
"
|
| 370 |
-
"p":0.
|
| 371 |
-
"r":0.
|
| 372 |
-
"f":0.
|
| 373 |
},
|
| 374 |
-
"
|
| 375 |
-
"p":0.
|
| 376 |
-
"r":0.
|
| 377 |
-
"f":0.
|
| 378 |
},
|
| 379 |
-
"
|
| 380 |
-
"p":0.
|
| 381 |
-
"r":0.
|
| 382 |
-
"f":0.
|
| 383 |
},
|
| 384 |
-
"
|
| 385 |
-
"p":0.
|
| 386 |
-
"r":0.
|
| 387 |
-
"f":0.
|
| 388 |
},
|
| 389 |
-
"
|
| 390 |
-
"p":0.
|
| 391 |
-
"r":0.
|
| 392 |
-
"f":0.
|
| 393 |
},
|
| 394 |
-
"
|
| 395 |
-
"p":0.
|
| 396 |
-
"r":0.
|
| 397 |
-
"f":0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 398 |
},
|
| 399 |
"Negative":{
|
| 400 |
-
"p":0.
|
| 401 |
-
"r":0.
|
| 402 |
-
"f":0.
|
| 403 |
},
|
| 404 |
-
"
|
| 405 |
-
"p":0.
|
| 406 |
-
"r":0.
|
| 407 |
-
"f":0.
|
| 408 |
},
|
| 409 |
-
"
|
| 410 |
-
"p":0.
|
| 411 |
-
"r":0.
|
| 412 |
-
"f":0.
|
| 413 |
},
|
| 414 |
-
"
|
| 415 |
-
"p":0.
|
| 416 |
-
"r":0.
|
| 417 |
-
"f":0.
|
| 418 |
},
|
| 419 |
-
"
|
| 420 |
-
"p":0.
|
| 421 |
-
"r":0.
|
| 422 |
-
"f":0.
|
| 423 |
},
|
| 424 |
-
"
|
| 425 |
-
"p":0.
|
| 426 |
-
"r":0.
|
| 427 |
-
"f":0.
|
| 428 |
},
|
| 429 |
-
"
|
| 430 |
-
"p":0.
|
| 431 |
-
"r":0.
|
| 432 |
-
"f":0.
|
| 433 |
},
|
| 434 |
-
"
|
| 435 |
-
"p":0.
|
| 436 |
-
"r":0.
|
| 437 |
-
"f":0.
|
| 438 |
},
|
| 439 |
-
"
|
| 440 |
-
"p":0.
|
| 441 |
-
"r":0.
|
| 442 |
-
"f":0.
|
| 443 |
},
|
| 444 |
-
"
|
| 445 |
-
"p":0.
|
| 446 |
-
"r":0.
|
| 447 |
-
"f":0.
|
| 448 |
},
|
| 449 |
-
"
|
| 450 |
-
"p":0.
|
| 451 |
-
"r":0.
|
| 452 |
-
"f":0.
|
| 453 |
},
|
| 454 |
-
"
|
| 455 |
-
"p":0.
|
| 456 |
-
"r":0.
|
| 457 |
-
"f":0.
|
| 458 |
},
|
| 459 |
-
"
|
| 460 |
-
"p":0.
|
| 461 |
-
"r":0.
|
| 462 |
-
"f":0.
|
| 463 |
},
|
| 464 |
"InformationStates":{
|
| 465 |
-
"p":0.
|
| 466 |
-
"r":0.
|
| 467 |
-
"f":0.
|
| 468 |
},
|
| 469 |
-
"
|
| 470 |
-
"p":0.
|
| 471 |
-
"r":0.
|
| 472 |
-
"f":0.
|
| 473 |
},
|
| 474 |
-
"
|
| 475 |
-
"p":0.
|
| 476 |
-
"r":0.
|
| 477 |
-
"f":0.
|
| 478 |
},
|
| 479 |
-
"
|
| 480 |
-
"p":0.
|
| 481 |
-
"r":0.
|
| 482 |
-
"f":0.
|
| 483 |
},
|
| 484 |
-
"
|
| 485 |
-
"p":0.
|
| 486 |
-
"r":0.
|
| 487 |
-
"f":0.
|
| 488 |
},
|
| 489 |
-
"
|
| 490 |
-
"p":0.
|
| 491 |
-
"r":0.
|
| 492 |
-
"f":0.
|
| 493 |
},
|
| 494 |
-
"
|
| 495 |
-
"p":0.
|
| 496 |
-
"r":0.
|
| 497 |
-
"f":0.
|
| 498 |
},
|
| 499 |
-
"
|
| 500 |
-
"p":0.
|
| 501 |
-
"r":0.
|
| 502 |
-
"f":0.
|
| 503 |
},
|
| 504 |
"AcademicWritingMoves":{
|
| 505 |
-
"p":0.
|
| 506 |
-
"r":0.
|
| 507 |
-
"f":0.
|
| 508 |
},
|
| 509 |
-
"
|
| 510 |
-
"p":0.
|
| 511 |
-
"r":0.
|
| 512 |
-
"f":0.
|
| 513 |
},
|
| 514 |
"Uncertainty":{
|
| 515 |
-
"p":0.
|
| 516 |
-
"r":0.
|
| 517 |
-
"f":0.
|
| 518 |
-
},
|
| 519 |
-
"CitationHedged":{
|
| 520 |
-
"p":0.7630662021,
|
| 521 |
-
"r":0.9399141631,
|
| 522 |
-
"f":0.8423076923
|
| 523 |
},
|
| 524 |
"CitationAuthority":{
|
| 525 |
-
"p":0.
|
| 526 |
-
"r":0.
|
| 527 |
-
"f":0.
|
| 528 |
},
|
| 529 |
-
"
|
| 530 |
-
"p":0.
|
| 531 |
-
"r":0.
|
| 532 |
-
"f":0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 533 |
}
|
| 534 |
},
|
| 535 |
-
"tok2vec_loss":
|
| 536 |
-
"tagger_loss":
|
| 537 |
-
"ner_loss":
|
| 538 |
},
|
| 539 |
"requirements":[
|
| 540 |
|
|
|
|
| 1 |
{
|
| 2 |
"lang":"en",
|
| 3 |
"name":"docusco_spacy",
|
| 4 |
+
"version":"1.4",
|
| 5 |
"description":"English pipeline for part-of-speech and rhetorical tagging.",
|
| 6 |
"author":"David Brown",
|
| 7 |
"email":"dwb2@andrew.cmu.edu",
|
| 8 |
"url":"https://docuscope.github.io",
|
| 9 |
"license":"MIT",
|
| 10 |
+
"spacy_version":">=3.7.4,<3.8.0",
|
| 11 |
+
"spacy_git_version":"bff8725f4",
|
| 12 |
"vectors":{
|
| 13 |
"width":0,
|
| 14 |
"vectors":0,
|
|
|
|
| 96 |
"JK",
|
| 97 |
"MC",
|
| 98 |
"MC1",
|
| 99 |
+
"MC121",
|
| 100 |
+
"MC122",
|
| 101 |
"MC2",
|
| 102 |
"MC221",
|
| 103 |
"MC222",
|
|
|
|
| 135 |
"NNO2",
|
| 136 |
"NNT1",
|
| 137 |
"NNT131",
|
| 138 |
+
"NNT132",
|
| 139 |
"NNT133",
|
| 140 |
"NNT2",
|
| 141 |
"NNU",
|
|
|
|
| 198 |
"RG",
|
| 199 |
"RG21",
|
| 200 |
"RG22",
|
| 201 |
+
"RG31",
|
| 202 |
+
"RG32",
|
| 203 |
+
"RG33",
|
| 204 |
"RG41",
|
| 205 |
"RG42",
|
| 206 |
"RG43",
|
|
|
|
| 352 |
|
| 353 |
],
|
| 354 |
"performance":{
|
| 355 |
+
"tag_acc":0.9732027902,
|
| 356 |
+
"ents_f":0.8040831626,
|
| 357 |
+
"ents_p":0.7999501539,
|
| 358 |
+
"ents_r":0.8082591001,
|
| 359 |
"ents_per_type":{
|
| 360 |
+
"Reasoning":{
|
| 361 |
+
"p":0.854002833,
|
| 362 |
+
"r":0.8306135538,
|
| 363 |
+
"f":0.8421458246
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 364 |
},
|
| 365 |
"AcademicTerms":{
|
| 366 |
+
"p":0.8252578101,
|
| 367 |
+
"r":0.8253579445,
|
| 368 |
+
"f":0.8253078743
|
| 369 |
},
|
| 370 |
+
"InformationReportVerbs":{
|
| 371 |
+
"p":0.8027596451,
|
| 372 |
+
"r":0.8011000156,
|
| 373 |
+
"f":0.8019289717
|
| 374 |
},
|
| 375 |
+
"Future":{
|
| 376 |
+
"p":0.765488715,
|
| 377 |
+
"r":0.7932351845,
|
| 378 |
+
"f":0.7791149957
|
| 379 |
},
|
| 380 |
+
"InformationExposition":{
|
| 381 |
+
"p":0.8539760301,
|
| 382 |
+
"r":0.8797981164,
|
| 383 |
+
"f":0.8666947817
|
| 384 |
},
|
| 385 |
+
"InformationTopics":{
|
| 386 |
+
"p":0.8032620832,
|
| 387 |
+
"r":0.832111131,
|
| 388 |
+
"f":0.8174321491
|
| 389 |
},
|
| 390 |
+
"Interactive":{
|
| 391 |
+
"p":0.7947168766,
|
| 392 |
+
"r":0.8300427369,
|
| 393 |
+
"f":0.8119957757
|
| 394 |
},
|
| 395 |
+
"InformationPlace":{
|
| 396 |
+
"p":0.8313006147,
|
| 397 |
+
"r":0.8251815981,
|
| 398 |
+
"f":0.8282298046
|
| 399 |
+
},
|
| 400 |
+
"MetadiscourseCohesive":{
|
| 401 |
+
"p":0.9262515843,
|
| 402 |
+
"r":0.9435545693,
|
| 403 |
+
"f":0.9348230168
|
| 404 |
},
|
| 405 |
"Negative":{
|
| 406 |
+
"p":0.7327694094,
|
| 407 |
+
"r":0.7184111521,
|
| 408 |
+
"f":0.7255192491
|
| 409 |
},
|
| 410 |
+
"PublicTerms":{
|
| 411 |
+
"p":0.8295435616,
|
| 412 |
+
"r":0.8099294529,
|
| 413 |
+
"f":0.8196191789
|
| 414 |
},
|
| 415 |
+
"Updates":{
|
| 416 |
+
"p":0.7950048852,
|
| 417 |
+
"r":0.7595239484,
|
| 418 |
+
"f":0.7768595041
|
| 419 |
},
|
| 420 |
+
"Facilitate":{
|
| 421 |
+
"p":0.7121212121,
|
| 422 |
+
"r":0.7260511883,
|
| 423 |
+
"f":0.7190187381
|
| 424 |
},
|
| 425 |
+
"ConfidenceHedged":{
|
| 426 |
+
"p":0.8541093359,
|
| 427 |
+
"r":0.8911124443,
|
| 428 |
+
"f":0.8722186104
|
| 429 |
},
|
| 430 |
+
"Character":{
|
| 431 |
+
"p":0.8346142356,
|
| 432 |
+
"r":0.8503963874,
|
| 433 |
+
"f":0.842431402
|
| 434 |
},
|
| 435 |
+
"InformationChange":{
|
| 436 |
+
"p":0.7518615519,
|
| 437 |
+
"r":0.743575419,
|
| 438 |
+
"f":0.7476955289
|
| 439 |
},
|
| 440 |
+
"Description":{
|
| 441 |
+
"p":0.7325800709,
|
| 442 |
+
"r":0.7794507086,
|
| 443 |
+
"f":0.7552889307
|
| 444 |
},
|
| 445 |
+
"Narrative":{
|
| 446 |
+
"p":0.8062556939,
|
| 447 |
+
"r":0.8161468813,
|
| 448 |
+
"f":0.8111711361
|
| 449 |
},
|
| 450 |
+
"Strategic":{
|
| 451 |
+
"p":0.740409031,
|
| 452 |
+
"r":0.7412114763,
|
| 453 |
+
"f":0.7408100363
|
| 454 |
},
|
| 455 |
+
"ForceStressed":{
|
| 456 |
+
"p":0.7947030659,
|
| 457 |
+
"r":0.8017171615,
|
| 458 |
+
"f":0.798194705
|
| 459 |
},
|
| 460 |
+
"Positive":{
|
| 461 |
+
"p":0.7604464139,
|
| 462 |
+
"r":0.70847817,
|
| 463 |
+
"f":0.7335430146
|
| 464 |
},
|
| 465 |
+
"InformationChangeNegative":{
|
| 466 |
+
"p":0.7757629368,
|
| 467 |
+
"r":0.5501882058,
|
| 468 |
+
"f":0.643787851
|
| 469 |
},
|
| 470 |
"InformationStates":{
|
| 471 |
+
"p":0.8283814449,
|
| 472 |
+
"r":0.883964522,
|
| 473 |
+
"f":0.8552708648
|
| 474 |
},
|
| 475 |
+
"Citation":{
|
| 476 |
+
"p":0.8268131868,
|
| 477 |
+
"r":0.7865356471,
|
| 478 |
+
"f":0.806171649
|
| 479 |
},
|
| 480 |
+
"Contingent":{
|
| 481 |
+
"p":0.8242335608,
|
| 482 |
+
"r":0.792965086,
|
| 483 |
+
"f":0.808297036
|
| 484 |
},
|
| 485 |
+
"ConfidenceHigh":{
|
| 486 |
+
"p":0.7978622122,
|
| 487 |
+
"r":0.8092792556,
|
| 488 |
+
"f":0.8035301809
|
| 489 |
},
|
| 490 |
+
"Responsibility":{
|
| 491 |
+
"p":0.7480314961,
|
| 492 |
+
"r":0.6535448118,
|
| 493 |
+
"f":0.6976032636
|
| 494 |
},
|
| 495 |
+
"FirstPerson":{
|
| 496 |
+
"p":0.8797586815,
|
| 497 |
+
"r":0.9248314199,
|
| 498 |
+
"f":0.9017321661
|
| 499 |
},
|
| 500 |
+
"MetadiscourseInteractive":{
|
| 501 |
+
"p":0.8416939929,
|
| 502 |
+
"r":0.7381302007,
|
| 503 |
+
"f":0.7865175865
|
| 504 |
},
|
| 505 |
+
"Inquiry":{
|
| 506 |
+
"p":0.6921410073,
|
| 507 |
+
"r":0.6746690021,
|
| 508 |
+
"f":0.6832933319
|
| 509 |
},
|
| 510 |
"AcademicWritingMoves":{
|
| 511 |
+
"p":0.6703235403,
|
| 512 |
+
"r":0.5360594796,
|
| 513 |
+
"f":0.5957200694
|
| 514 |
},
|
| 515 |
+
"InformationChangePositive":{
|
| 516 |
+
"p":0.7492952074,
|
| 517 |
+
"r":0.6050406504,
|
| 518 |
+
"f":0.6694854264
|
| 519 |
},
|
| 520 |
"Uncertainty":{
|
| 521 |
+
"p":0.7675700505,
|
| 522 |
+
"r":0.6989682097,
|
| 523 |
+
"f":0.731664599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 524 |
},
|
| 525 |
"CitationAuthority":{
|
| 526 |
+
"p":0.8106492801,
|
| 527 |
+
"r":0.6098508073,
|
| 528 |
+
"f":0.6960578493
|
| 529 |
},
|
| 530 |
+
"ConfidenceLow":{
|
| 531 |
+
"p":0.75,
|
| 532 |
+
"r":0.5412371134,
|
| 533 |
+
"f":0.628742515
|
| 534 |
+
},
|
| 535 |
+
"CitationHedged":{
|
| 536 |
+
"p":0.8055555556,
|
| 537 |
+
"r":0.5714285714,
|
| 538 |
+
"f":0.6685878963
|
| 539 |
}
|
| 540 |
},
|
| 541 |
+
"tok2vec_loss":2977701.4823154043,
|
| 542 |
+
"tagger_loss":44855.9663105011,
|
| 543 |
+
"ner_loss":215635.4663943163
|
| 544 |
},
|
| 545 |
"requirements":[
|
| 546 |
|
ner/model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 163912
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1e85405fe22f70dc22e54c38571a0095d391e798321b4fad4a26e2bc99e4965
|
| 3 |
size 163912
|
ner/moves
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
��moves�
|
|
|
|
| 1 |
+
��moves�
|
tagger/cfg
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"labels":[
|
| 3 |
"APPGE",
|
| 4 |
"AT",
|
|
@@ -76,6 +77,8 @@
|
|
| 76 |
"JK",
|
| 77 |
"MC",
|
| 78 |
"MC1",
|
|
|
|
|
|
|
| 79 |
"MC2",
|
| 80 |
"MC221",
|
| 81 |
"MC222",
|
|
@@ -113,6 +116,7 @@
|
|
| 113 |
"NNO2",
|
| 114 |
"NNT1",
|
| 115 |
"NNT131",
|
|
|
|
| 116 |
"NNT133",
|
| 117 |
"NNT2",
|
| 118 |
"NNU",
|
|
@@ -175,6 +179,9 @@
|
|
| 175 |
"RG",
|
| 176 |
"RG21",
|
| 177 |
"RG22",
|
|
|
|
|
|
|
|
|
|
| 178 |
"RG41",
|
| 179 |
"RG42",
|
| 180 |
"RG43",
|
|
|
|
| 1 |
{
|
| 2 |
+
"label_smoothing":0.05,
|
| 3 |
"labels":[
|
| 4 |
"APPGE",
|
| 5 |
"AT",
|
|
|
|
| 77 |
"JK",
|
| 78 |
"MC",
|
| 79 |
"MC1",
|
| 80 |
+
"MC121",
|
| 81 |
+
"MC122",
|
| 82 |
"MC2",
|
| 83 |
"MC221",
|
| 84 |
"MC222",
|
|
|
|
| 116 |
"NNO2",
|
| 117 |
"NNT1",
|
| 118 |
"NNT131",
|
| 119 |
+
"NNT132",
|
| 120 |
"NNT133",
|
| 121 |
"NNT2",
|
| 122 |
"NNU",
|
|
|
|
| 179 |
"RG",
|
| 180 |
"RG21",
|
| 181 |
"RG22",
|
| 182 |
+
"RG31",
|
| 183 |
+
"RG32",
|
| 184 |
+
"RG33",
|
| 185 |
"RG41",
|
| 186 |
"RG42",
|
| 187 |
"RG43",
|
tagger/model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:157158c092b1f93002931807c68336068c54b80a1c1f9f3fb1f176de69baca58
|
| 3 |
+
size 108306
|
tok2vec/model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6009091
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:068136db8d9858b9d4aab23ce71700269b57662f5cd3149aa7f413408ed6fa44
|
| 3 |
size 6009091
|
vocab/strings.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b55a8519c7f00c74db504bd6a87ed019c2283acf01fc9ca0dbf0d6ffc839343
|
| 3 |
+
size 11088214
|