The repository or configuration that created this release differ from a previous release. View details.
PaPie 1.0
A PyTorch-Lightning library for lemmatization and tagging (POS, morphology) of historical languages, the next major version of PaPie (0.x), itself a fork of Pie, rewritten on PyTorch-Lightning (pip install papie, import papie, command papie). Models trained with PaPie 0.x are converted with python -m papie.scripts.convert_papie. Nothing in it is tied to a language.
Documentation: https://defi-colaf.github.io/papie/ — architecture, every option, the API reference, benchmarks and how to publish models.
- Several lemma decoders: attentional, copy/pointer, Levenshtein, masked non-autoregressive, small T5.
- Source encoders: character BiRNN, frozen ByT5, or a tiny byte-level T5 that you can distil.
- Opt-in extras: candidate (lemma/POS) features from a dictionary or analyzer, silver-data pretraining, fine-tuning and vocabulary transfer, input noise, rare-lemma upsampling, INT8 CPU inference.
pip install -e ".[dev]"
python -m papie.cli fit -c configs/oc_lemma_pos.yaml
python -m papie.cli test -c configs/oc_lemma_pos.yaml --ckpt_path path/to/best.ckpt
python -m pytest -q
The documentation site is built with Hugo from docs/site/ (hugo --source docs/site) and published to GitHub Pages by the docs workflow.
Citation
If you use papie, please cite (GitHub's "Cite this repository" button reads CITATION.cff):
Oriane Nédey, Rachel Bawden, Benoît Sagot and Thibault Clérice. 2026. papie: lemmatization and tagging for historical languages (software).
@software{nedey_papie,
author = {N{\'e}dey, Oriane and Bawden, Rachel and Sagot, Beno{\^i}t and Cl{\'e}rice, Thibault},
title = {papie: lemmatization and tagging for historical languages},
year = {2026},
note = {Software}
}
Original work
PaPie 1.x continues Pie and PaPie 0.x. If you use the architecture, please also cite the original article:
Enrique Manjavacas, Ákos Kádár and Mike Kestemont. 2019. Improving Lemmatization of Non-Standard Languages with Joint Learning. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), pages 1493–1503, Minneapolis, Minnesota. Association for Computational Linguistics.
@inproceedings{manjavacas-etal-2019-improving,
title = {Improving Lemmatization of Non-Standard Languages with Joint Learning},
author = {Manjavacas, Enrique and K{\'a}d{\'a}r, {\'A}kos and Kestemont, Mike},
booktitle = {Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
year = {2019},
pages = {1493--1503},
publisher = {Association for Computational Linguistics},
url = {https://arxiv.org/abs/1903.06939},
}
Metadata
Release files for papie 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| papie-1.0.0.tar.gz | 140.6 kB | With provenance | Details for papie-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| papie-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for papie-1.0.0-py3-none-any.whl |
Total release size: 273.2 kB
Release files / papie-1.0.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | papie-1.0.0.tar.gz |
|---|---|
| Size | 140.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c46053ebdec3c3ac0a8c85d205dcb11ae88d0ad8990d29d144a4ccd93370410
|
|
BLAKE2b-256 checksum How to use checksums |
801d6954414d96f95c3351dc5db7aaeca930a4d93aa41fbb1d4de78e2b7251e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / papie-1.0.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | papie-1.0.0-py3-none-any.whl |
|---|---|
| Size | 132.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bc23a1efa033945e93046d94dff4a0c260d16390d51b1245a45f486ce942773
|
|
BLAKE2b-256 checksum How to use checksums |
9099f2eb4d27d1439df0e2d7884a9e6b65ee01a1cbe1aa45b9e4eba208d07403
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for papie 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.6.1 github.com/lascivaroma/PaPie
- Added 1.0.0 github.com/DEFI-COLaF/papie
Attestation for papie-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.