Repository navigation
Releases
v0.2.1
Housekeeping release that finishes the rename from IUDEX to Dipo.
Removed
- The deprecated
iudexcommand alias is gone. The command isdipo. - Model cards no longer carry the old
iudextag, and their reproducibility config block leaves out the training machine's local checkpoint directory.
Added
- The Dipo logo (
docs/logo.svg,docs/logo-square.svg, generated byscripts/make_logo.py) at the top of the README and of every generated model card. - The README says how to request access to the gated Google base models that the generative parsers need.
v0.2.0: Dipo
IUDEX is now Dipo (the Discourse Parsing Omnibus, said like "depot"). Install it with pip install dipo.
Renamed
- The package, import and command are
dipo:import iudexis nowimport dipo. - The old
iudexcommand still works for now, as a deprecated alias that prints a notice. larc-iudexon PyPI is a stub whose only job is to installdipo. The repository moved tolarc-iu/dipo, and the old address redirects.- Models already on the Hub load unchanged.
New: ten pretrained models trained on raw text
All ten parse plain, untokenized text end to end (segmentation and structure), and the corpora's tokenized EDU text was replaced with the original text for training (scripts/build_raw_text_data.py). Test end-to-end Full F1:
| Model | Corpus | Full |
|---|---|---|
| dmrst-ettin-400m-rstdt-coarse | RST-DT | 53.2 |
| gen-sr-t5gemma-2-1b-1b-rstdt-coarse | RST-DT | 49.6 |
| gen-sr-gemma-4-31b-it-rstdt-coarse | RST-DT | 54.7 |
| dmrst-ettin-400m-gum-12.1.0 | GUM 12.1.0 | 45.6 |
| gen-sr-t5gemma-2-1b-1b-gum-12.1.0 | GUM 12.1.0 | 39.4 |
| gen-sr-gemma-4-31b-it-gum-12.1.0 | GUM 12.1.0 | 45.8 |
| dmrst-xlm-roberta-base-ert | Basque | 27.6 |
| dmrst-xlm-roberta-base-pcc-2.2 | German | 18.6 |
| dmrst-xlm-roberta-base-prstc | Persian | 32.2 |
| dmrst-xlm-roberta-base-gcdt | Chinese | 29.4 |
The two RST-DT and GUM Ettin models replace the earlier models at those names. The generative models need access to a gated base model from Google first: see the README.
Fixes for real-world text
- Text with line breaks, headings and Windows line endings parses cleanly.
DMRSTParser.predict_from_textnow starts a new segment at paragraph breaks and after heading-like lines (break_at_paragraphs=Falseturns this off). - Fixed a duplicated character at a segment boundary with XLM-R models.
- Unspaced Chinese now works: new DMRST option
split_cjk_tokenstokenizes one character per token. - The generative parsers raise a clear error on empty input instead of returning one empty segment.
- Model cards show a readable metrics table and a usage example in the model's own language.
Known limitation: the generative models emit an empty segment about once in 3,000, seen inside a code sample.
v0.1.1
v0.1.0
First non-alpha release of iudex (pip install larc-iudex).
Parsers: dmrst, sr_biaffine, topdown_biaffine, gen, icl.
Highlights since 0.1.0a7:
gen: the four generative parsers (seq2seq_sr, seq2seq_sexp, decoder_only_sr, decoder_only_sexp) are unified into one parser. Choosebackbone{seq2seq, decoder_only} ×serialization{sr, sexp}. Supports token- and words-mode labels, batched greedy decoding, fixed beam search and gold-EDU forced decoding, and scales to 27–31B backbones with LoRA. Breaking: oldseq2seq_*/decoder_only_*configs no longer load; seeconfigs/gen/.icl: new in-context-learning RST parser (iudex icl {predict,eval}). Works with Anthropic or OpenAI-compatible providers, supports SR or s-expression output, e2e / two_call / gold_edu pipelines, and optional grammar-constrained decoding.- Discriminative parsers: LoRA encoder path and broader encoder-backbone support.
--eval-onlyreuses the training label set. - Data: the rs3 reader now takes multinuclear members from the relation inventory. Adds a multilingual DISRPT corpus builder and the official DISRPT 2025 segmentation scorer.
- Training: unified model-selection protocol, WSD scheduler, checkpointing fixes, and a batch of bug-audit fixes.