lfoppiano commited on
Commit
9dd7642
·
verified ·
1 Parent(s): 8ec54ce

Publish the 2026-11-11 wapiti name-header model without the lexicon features

Browse files
name-header/wapiti/2026-11-11_wapiti_grobid_multilang_no_lexicon/model.wapiti.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5130fedf0ee86346139ab2dcf4a0c02e116934ad5557ef7c133d5af54e22554a
3
+ size 1906506
name-header/wapiti/2026-11-11_wapiti_grobid_multilang_no_lexicon/training.yml ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model: name-header
2
+ artifact: 2026-11-11_wapiti_grobid_multilang_no_lexicon
3
+ date: '2026-11-11'
4
+ data_mix: grobid-plus-added
5
+
6
+ # Same training data as 2026-11-10_wapiti_grobid_multilang. The only change is the
7
+ # CRF template, which no longer reads is_common_name, is_known_title and
8
+ # is_known_suffix. sciencebeam-parser writes 0 for those three columns, so this
9
+ # model is trained on the same signal the parser gives it at serving time.
10
+ #
11
+ # Trained with GROBID's own trainer rather than sciencebeam-trainer-delft:
12
+ # TrainerRunner on the grobid-trainer code merged in grobidOrg/grobid#1641
13
+ # (5f475e99e), with GROBID's feature generation, CRF template and JNI wapiti.
14
+ # The corpus and the model are on the branch below; the model is committed there
15
+ # as grobid-home/models/name/header/model.wapiti.
16
+ trainer:
17
+ name: grobid-trainer
18
+ repository: 'https://github.com/grobidOrg/grobid'
19
+ branch: training/name-header-hispanic
20
+ commit: '5bd999646820e00ab6e38e11a83d69010e4f22c1'
21
+
22
+ # GROBID's name-header corpus is TEI, one file per document; a sequence is one
23
+ # author block (<docAuthor>), so a file can give more than one sequence. Files
24
+ # are counted per input, sequences only for the whole corpus (nb_train below).
25
+ inputs:
26
+ # GROBID 0.9.0's own name-header training data; 7 of these files were
27
+ # corrected (tag-name typos, Spanish names) in grobidOrg/grobid#1641
28
+ - source: grobid
29
+ grobid_version: '0.9.0'
30
+ files: 1144
31
+
32
+ # Added in grobidOrg/grobid#1641: author blocks from COMET arXiv (train split)
33
+ # and TR-6K bioRxiv, pre-annotated by GROBID and corrected
34
+ - source: added
35
+ pull_request: 'https://github.com/grobidOrg/grobid/pull/1641'
36
+ corpora: [comet-arxiv-train, tr6k-biorxiv]
37
+ files: 1000
38
+
39
+ # Added on the branch above (2b5b14a8b): documents with Spanish or Portuguese
40
+ # author names that GROBID got wrong, pre-annotated by GROBID and corrected
41
+ # with every family name in the surname. Training splits only; anything
42
+ # matching an evaluation corpus, the COMET test split or the SciELO
43
+ # validation/test splits by DOI, title or author set was excluded.
44
+ - source: added
45
+ commit: '2b5b14a8b'
46
+ files: 287
47
+ by_corpus:
48
+ tr6k-biorxiv: 112
49
+ scielo_br-jats (train): 76
50
+ scielo-preprints-jats (train): 67
51
+ scielo_mx-jats (train): 17
52
+ comet-arxiv-train: 15
53
+
54
+ # The columns of a training line, in order and including the token; the label
55
+ # follows them and is not listed. The layout is GROBID's FeaturesVectorName and
56
+ # the one sciencebeam-parser's NameDataGenerator writes, by the same names.
57
+ #
58
+ # The template reads neither is_common_name, is_known_title nor is_known_suffix,
59
+ # nor line_status: their values do not change what the model predicts, so the
60
+ # 0 that sciencebeam-parser writes for the first three costs nothing.
61
+ features:
62
+ count: 20
63
+ names:
64
+ - token_text
65
+ - lower_token_text
66
+ - prefix_1
67
+ - prefix_2
68
+ - prefix_3
69
+ - prefix_4
70
+ - suffix_1
71
+ - suffix_2
72
+ - suffix_3
73
+ - suffix_4
74
+ - line_status
75
+ - capitalisation
76
+ - digit_status
77
+ - is_single_char
78
+ - is_common_name
79
+ - is_first_name
80
+ - is_last_name
81
+ - is_known_title
82
+ - is_known_suffix
83
+ - punctuation_type
84
+ unused_by_template:
85
+ - line_status
86
+ - is_common_name
87
+ - is_known_title
88
+ - is_known_suffix
89
+
90
+ wapiti:
91
+ template: 'https://raw.githubusercontent.com/grobidOrg/grobid/5bd999646820e00ab6e38e11a83d69010e4f22c1/grobid-trainer/resources/dataset/name/header/crfpp-templates/name.template'
92
+ algorithm: l-bfgs
93
+ maxiter: 2000
94
+ window: 20
95
+ epsilon: '0.00001'
96
+
97
+ # Reported rather than configured
98
+ nb_train: 2737
99
+ nb_labels: 14
100
+ nb_blocks: 466148
101
+ nb_features: 6526254
102
+ # Ran to maxiter (2000 iterations, 36 minutes) without meeting the stop criterion
103
+ converged: false
104
+
105
+ # What the model can predict: each type below both as `<type>` and as
106
+ # `I-<type>` marking the first token of a run. Unlike the other wapiti models
107
+ # here, this one also predicts `I-<other>`, as GROBID's shipped models do.
108
+ labels:
109
+ types:
110
+ - forename
111
+ - middlename
112
+ - surname
113
+ - title
114
+ - suffix
115
+ - marker
116
+ - other
117
+
118
+ # End-to-end author check against the previous model (master, 5f475e99e), with
119
+ # the header author blocks GROBID produces for each PDF:
120
+ # eLife/PLOS/PMC, 299 documents, exact surname list vs JATS: 164 -> 163
121
+ # SciELO validation (held out), 344 documents, every name token: 151 -> 163
122
+ # SciELO test (held out), 586 documents, every name token: 248 -> 269
123
+ # GROBID's end-to-end evaluation (grobidOrg/grobid#1643), authors, strict F1:
124
+ # PMC_sample_1943 77.48 -> 75.70, biorxiv-10k-test-2000 81.74 -> 80.78,
125
+ # PLOS_1000 71.94 -> 72.14, eLife_984 75.18 -> 75.28
126
+ # Known regression, under investigation: on PMC the model drops the last author
127
+ # of some author blocks and joins a second given name into the surname of
128
+ # non-Iberian names ("J. Russell Stothard" -> surname "Russell Stothard").
129
+ # 2026-11-10_wapiti_grobid_multilang has the same two problems.
130
+
131
+ file: model.wapiti.gz
132
+ sha256: '5130fedf0ee86346139ab2dcf4a0c02e116934ad5557ef7c133d5af54e22554a'