Upload folder using huggingface_hub
#1
by lfoppiano - opened
name-header/wapiti/2026-11-10_wapiti_grobid_multilang/model.wapiti.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c82a96ef86563fef752295b2a08bfdbaa36cb80523afa51e42e9daea60710f9
|
| 3 |
+
size 1905655
|
name-header/wapiti/2026-11-10_wapiti_grobid_multilang/training.yml
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model: name-header
|
| 2 |
+
artifact: 2026-11-10_wapiti_grobid_090_comet_tr6k_scielo
|
| 3 |
+
date: '2026-11-10'
|
| 4 |
+
data_mix: grobid-plus-added
|
| 5 |
+
|
| 6 |
+
# Trained with GROBID's own trainer rather than sciencebeam-trainer-delft:
|
| 7 |
+
# TrainerRunner on the grobid-trainer code merged in grobidOrg/grobid#1641
|
| 8 |
+
# (5f475e99e), with GROBID's feature generation, CRF template and JNI wapiti.
|
| 9 |
+
# The corpus and the model are on the branch below; the model is committed there
|
| 10 |
+
# as grobid-home/models/name/header/model.wapiti.
|
| 11 |
+
trainer:
|
| 12 |
+
name: grobid-trainer
|
| 13 |
+
repository: 'https://github.com/grobidOrg/grobid'
|
| 14 |
+
branch: training/name-header-hispanic
|
| 15 |
+
commit: '3f3f463b62ac76222eeac7cc79a0e9092957be7f'
|
| 16 |
+
|
| 17 |
+
# GROBID's name-header corpus is TEI, one file per document; a sequence is one
|
| 18 |
+
# author block (<docAuthor>), so a file can give more than one sequence. Files
|
| 19 |
+
# are counted per input, sequences only for the whole corpus (nb_train below).
|
| 20 |
+
inputs:
|
| 21 |
+
# GROBID 0.9.0's own name-header training data; 7 of these files were
|
| 22 |
+
# corrected (tag-name typos, Spanish names) in grobidOrg/grobid#1641
|
| 23 |
+
- source: grobid
|
| 24 |
+
grobid_version: '0.9.0'
|
| 25 |
+
files: 1144
|
| 26 |
+
|
| 27 |
+
# Added in grobidOrg/grobid#1641: author blocks from COMET arXiv (train split)
|
| 28 |
+
# and TR-6K bioRxiv, pre-annotated by GROBID and corrected
|
| 29 |
+
- source: added
|
| 30 |
+
pull_request: 'https://github.com/grobidOrg/grobid/pull/1641'
|
| 31 |
+
corpora: [comet-arxiv-train, tr6k-biorxiv]
|
| 32 |
+
files: 1000
|
| 33 |
+
|
| 34 |
+
# Added on the branch above (2b5b14a8b): documents with Spanish or Portuguese
|
| 35 |
+
# author names that GROBID got wrong, pre-annotated by GROBID and corrected
|
| 36 |
+
# with every family name in the surname. Training splits only; anything
|
| 37 |
+
# matching an evaluation corpus, the COMET test split or the SciELO
|
| 38 |
+
# validation/test splits by DOI, title or author set was excluded.
|
| 39 |
+
- source: added
|
| 40 |
+
commit: '2b5b14a8b'
|
| 41 |
+
files: 287
|
| 42 |
+
by_corpus:
|
| 43 |
+
tr6k-biorxiv: 112
|
| 44 |
+
scielo_br-jats (train): 76
|
| 45 |
+
scielo-preprints-jats (train): 67
|
| 46 |
+
scielo_mx-jats (train): 17
|
| 47 |
+
comet-arxiv-train: 15
|
| 48 |
+
|
| 49 |
+
# The columns of a training line, in order and including the token; the label
|
| 50 |
+
# follows them and is not listed. The layout is GROBID's FeaturesVectorName and
|
| 51 |
+
# the one sciencebeam-parser's NameDataGenerator writes, by the same names.
|
| 52 |
+
#
|
| 53 |
+
# GROBID fills is_common_name, is_known_title and is_known_suffix from its
|
| 54 |
+
# lexicons, and the template uses all three; sciencebeam-parser writes 0 for
|
| 55 |
+
# them. Served by sciencebeam-parser, the model loses that signal (titles such
|
| 56 |
+
# as Dr/Prof, suffixes such as Jr/Filho/Neto). line_status is not used by the
|
| 57 |
+
# template.
|
| 58 |
+
features:
|
| 59 |
+
count: 20
|
| 60 |
+
names:
|
| 61 |
+
- token_text
|
| 62 |
+
- lower_token_text
|
| 63 |
+
- prefix_1
|
| 64 |
+
- prefix_2
|
| 65 |
+
- prefix_3
|
| 66 |
+
- prefix_4
|
| 67 |
+
- suffix_1
|
| 68 |
+
- suffix_2
|
| 69 |
+
- suffix_3
|
| 70 |
+
- suffix_4
|
| 71 |
+
- line_status
|
| 72 |
+
- capitalisation
|
| 73 |
+
- digit_status
|
| 74 |
+
- is_single_char
|
| 75 |
+
- is_common_name
|
| 76 |
+
- is_first_name
|
| 77 |
+
- is_last_name
|
| 78 |
+
- is_known_title
|
| 79 |
+
- is_known_suffix
|
| 80 |
+
- punctuation_type
|
| 81 |
+
|
| 82 |
+
wapiti:
|
| 83 |
+
template: 'https://raw.githubusercontent.com/grobidOrg/grobid/3f3f463b62ac76222eeac7cc79a0e9092957be7f/grobid-trainer/resources/dataset/name/header/crfpp-templates/name.template'
|
| 84 |
+
algorithm: l-bfgs
|
| 85 |
+
maxiter: 2000
|
| 86 |
+
window: 20
|
| 87 |
+
epsilon: '0.00001'
|
| 88 |
+
|
| 89 |
+
# Reported rather than configured
|
| 90 |
+
nb_train: 2737
|
| 91 |
+
nb_labels: 14
|
| 92 |
+
nb_blocks: 466188
|
| 93 |
+
nb_features: 6526814
|
| 94 |
+
# Stopped by the stop criterion at iteration 1971, in 47 minutes
|
| 95 |
+
converged: true
|
| 96 |
+
|
| 97 |
+
# What the model can predict: each type below both as `<type>` and as
|
| 98 |
+
# `I-<type>` marking the first token of a run. Unlike the other wapiti models
|
| 99 |
+
# here, this one also predicts `I-<other>`, as GROBID's shipped models do.
|
| 100 |
+
labels:
|
| 101 |
+
types:
|
| 102 |
+
- forename
|
| 103 |
+
- middlename
|
| 104 |
+
- surname
|
| 105 |
+
- title
|
| 106 |
+
- suffix
|
| 107 |
+
- marker
|
| 108 |
+
- other
|
| 109 |
+
|
| 110 |
+
# End-to-end author check against the previous model (master, 5f475e99e), with
|
| 111 |
+
# the header author blocks GROBID produces for each PDF:
|
| 112 |
+
# eLife/PLOS/PMC, 299 documents, exact surname list vs JATS: 164 -> 165
|
| 113 |
+
# SciELO validation (held out), 344 documents, every name token: 151 -> 163
|
| 114 |
+
# SciELO test (held out), 586 documents, every name token: 248 -> 267
|
| 115 |
+
|
| 116 |
+
file: model.wapiti.gz
|
| 117 |
+
sha256: '5c82a96ef86563fef752295b2a08bfdbaa36cb80523afa51e42e9daea60710f9'
|