| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| More transformer models _ depparse improvements source code.tar.gz | 2026-05-14 | 1.6 MB | |
| More transformer models _ depparse improvements source code.zip | 2026-05-14 | 1.9 MB | |
| README.md | 2026-05-14 | 4.8 kB | |
| Totals: 3 Items | 3.5 MB | 0 | |
New transformer packages used
New transformer packages, POS and depparse, for multiple languages. More can be added if a language you want to use does not already have a default_accurate package! Please file an issue on our github for that.
| Lang Code | Language | Transformer Model |
|---|---|---|
| bg | Bulgarian | rmihaylov/bert-base-bg |
| el | Greek | nlpaueb/bert-base-greek-uncased-v1 |
| hr | Croatian | classla/bcms-bertic |
| ka | Georgian | xlm-roberta-large |
| mt | Maltese | MaCoCu/MaltBERTa |
| nl | Dutch | DTAI-KULeuven/robbert-2023-dutch-large |
| ru | Russian | DeepPavlov/rubert-base-cased |
| sl | Slovenian | EMBEDDIA/crosloengual-bert |
| sr | Serbian | classla/bcms-bertic |
| sv | Swedish | KBLab/bert-base-swedish-cased |
Dependency parser improvements
- Depparse bug fix: incorporate the bias in the biaffine model. Also, properly transpose the inputs. This actually did not change scores on average, weirdly enough. https://github.com/stanfordnlp/stanza/issues/308
-
Please note that this update invalidates all locally trained depparse models. If you need help rebuilding a model, or want your model added to our distribution, please let us know.
-
Depparse can train with silver dataset: https://github.com/stanfordnlp/stanza/commit/1f2828df148287b5da9f230217ed7011c8fec479 This can also be used to train with two different datasets in equal weights or weighted via the
--silver_weightflag -
Depparse training option: can finetune only the last N layers of a transformer https://github.com/stanfordnlp/stanza/commit/e7245e3e5639e5fc81d950b5fdad069d013ee89e
-
Improved depparse optimizer scheduling - https://github.com/stanfordnlp/stanza/commit/0cf8654fbd09f4d52964a8c043e6c0a8ebb9fe99 The code was previously released in v1.11.1, but now all of the models are retrained with the new training scheme. A small sample of the results tested on a few transformer based depparse models, either with less strict stopping threshold or the two stage optimization, shows clear improvement (similar improvement in test scores):
| 5 model dev avg LAS | 1 stage | 1 stage 2k | 1 stage 4k | 2 stage |
|---|---|---|---|---|
| de_gsd | 89.03 | 89.50 | 89.71 | 89.83 |
| en_ewt | 93.47 | 93.69 | 93.74 | 93.89 |
| fi_tdt | 92.16 | 92.56 | 92.69 | 93.15 |
| it_vit | 90.12 | 90.37 | 90.44 | 90.60 |
| ta_ttb | 71.26 | 71.39 | 71.45 | 72.19 |
| zh-hans_gsdsimp | 85.47 | 85.69 | 85.76 | 85.89 |
MWT and Lemmatizer improvements
-
"Smooth" MWT training by including a small fraction of non-MWT words in the training. https://github.com/stanfordnlp/stanza/pull/1568 Solves the problem of Finnish MWT having "t" at the end, but not at the start or middle, so natural words with "t" at the start would lead to the seq2seq model going haywire. https://github.com/stanfordnlp/stanza/issues/1562
-
Include in the default Finnish models a small snippet of sentences with non-MWT tokenization for certain non-MWT words. Addresses that some words such as
tolleiwere treated as MWT https://github.com/stanfordnlp/stanza/commit/380aecd837229a7c8e9bca8bac111357a4756f25 -
The lemmatizer trains with silver tags (lower scores on gold, but better performance against real world text) https://github.com/stanfordnlp/stanza/issues/1567 https://github.com/stanfordnlp/stanza/commit/829f22ed901546bfd803f4feb7a0603639af82ae https://github.com/stanfordnlp/stanza/commit/14a97397a0bcdd97849b8ad81efd6a38ebc91e0b This update will be used for retraining against UD 2.18 when it is available.
Bugfixes
-
Bugfix for training new MWT models from scratch - UD to internal format converter was not working https://github.com/stanfordnlp/stanza/commit/31df8e3f2e0183014bb9c6f2a833afa30ea0a7ab
-
Make it so download etc. don't automatically reset the logging level. That only happens if the user specifically sets the logging level in the function call https://github.com/stanfordnlp/stanza/pull/1551 https://github.com/stanfordnlp/stanza/issues/1418 https://github.com/stanfordnlp/stanza/pull/1569 Thank you @haoyu-haoyu
Interface improvements
-
Update usage of morphseg: the latest version has a cleaner interface to the underlying model https://github.com/stanfordnlp/stanza/pull/1550 Thank you @TheWelcomer
-
Multi-doc wrapper to
bulk_processThank you @Rakshitha-Ireddi https://github.com/stanfordnlp/stanza/pull/1570 -
Utils for processing the coref output format Thank you @Rakshitha-Ireddi https://github.com/stanfordnlp/stanza/pull/1571
-
Add a human-readable coref output: https://github.com/stanfordnlp/stanza/issues/1560 https://github.com/stanfordnlp/stanza/commit/19c2b07043307cb752ca7c5ea3dbaf89de14dac5