Repository navigation
Record Schema 2.0 update of `atrium_document`
·
10 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
Major release on top of v1.7.8-beta: the record moves to schema 2.0 (atrium-project#84), so the major version moves. In the AMČR pipeline the translator translates the record's metadata (metadata-en).
Breaking
- Metadata mode needs the field list with each request: the service's
xpathsform field (422missing_xpathswithout it), or the command line's--xpaths FILE.AMCR_FIELDS_PATHand the config'sfields =are gone.amcr-fields.example.txtis an example only. The list of fields is AMČR's (ARUP-CAS/aiscr-webamcr#3570) and comes with each job.
- The command line refuses a metadata run without fields (exit 1) before anything is translated.
Changed
- Nothing is written into the record. Paradata 3.0 name
metadatain andmetadata-enout by SHA-512, with the field list, backend and model as parameters and no field text. configholds settings only (#84 decisions 1c and 2b):- the vocabulary, a local XSD and the field list are
inputsentries by file name and SHA-512,stored: false; - each
_log.csvthe command line writes is an output entry, without its rows; /infokeeps the vocabulary's SHA-256.
- the vocabulary, a local XSD and the field list are
- Fail-fast: a segment left in the source language, or a UDPipe error answer, refused connection or timeout, fails the document (command line exit 3, service 500). A usage error found after a run started leaves paradata that say
failed. ct2with EuroLLM: a one-line source stops at the end of its line, and a reply that only echoes the prompt is continued once. EuroLLM-1.7B used to run on past short fields.- CI runs on pull requests and releases only (atrium-project#40); the smoke test and the LINDAT check run by dispatch. The hub's workflows are pinned to
ff0a8ea.
Compatibility
- Records are schema 2.0; a 1.x record is migrated as it is read.
- The two AMČR replace folders are made again with this version:
in-place_translated_files/xmlon LINDAT, andct2_translated_files/xmlwith EuroLLM-1.7B. The ALTO and append folders stay as made, without paradata. - ctranslate2 ≥ 4.9.0 and sentencepiece ≥ 0.2.3 for the optional
ct2backend.
Images this release certifies (images.json, atrium-project#81):
ghcr.io/ufal/atrium-translator:2.0.0-beta=sha256:3ca6f595965e37002b1a34b20b8593ef15c454c5b855855ffbec169fc5efc04eghcr.io/ufal/atrium-translator-api:2.0.0-beta=sha256:1358e26f9729332ab1c90e62d7dce362df77e96cf723166a8141a5317599bd7f
What's Changed
- Bump the pip-deps group with 2 updates by @dependabot[bot] in #59
- Bump softprops/action-gh-release from 3.0.3 to 3.0.4 in the actions group by @dependabot[bot] in #58
- Doc schema v2 by @K4TEL in #60
- AMCR fields template fix by @K4TEL in #62
- Doc schema v2 refined by @K4TEL in #63
- Update ctranslate2 requirement from >=4.8.5 to >=4.9.0 in the pip-deps group by @dependabot[bot] in #64
- Documentation and GHA refinements by @K4TEL in #65
- edits for new tag release by @K4TEL in #66
- ufal/atrium-project#84 decisions 1, 2: settings in config, files as entries by SHA-512 by @K4TEL in #67
New Contributors
Full Changelog: v1.7.8-beta...v2.0.0-beta