Views
No views yet
jhu-clsp/ettin-encoder-400m as its underlying encoder.adversative-antithesis, adversative-concession, adversative-contrast, attribution-negative, attribution-positive, causal-cause, causal-result, context-background, context-circumstance, contingency-condition, elaboration-additional, elaboration-attribute, evaluation-comment, explanation-evidence, explanation-justify, explanation-motivation, joint-disjunction, joint-list, joint-other, joint-sequence, mode-manner, mode-means, organization-heading, organization-phatic, organization-preparation, purpose-attribute, purpose-goal, restatement-partial, restatement-repetition, same-unit, topic-question, topic-solutionhood| Split | span_f1 | nuc_f1 | rel_f1 | full_f1 | seg_p | seg_r | seg_f1 | e2e_span_p | e2e_span_r | e2e_span_f1 | e2e_nuc_p | e2e_nuc_r | e2e_nuc_f1 | e2e_rel_p | e2e_rel_r | e2e_rel_f1 | e2e_full_p | e2e_full_r | e2e_full_f1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dev | 0.7264 | 0.5942 | 0.4736 | 0.4705 | 0.9410 | 0.9464 | 0.9437 | 0.6750 | 0.6788 | 0.6769 | 0.5332 | 0.5362 | 0.5347 | 0.4192 | 0.4216 | 0.4204 | 0.4169 | 0.4193 | 0.4181 |
| test | 0.7638 | 0.6365 | 0.5105 | 0.5076 | 0.9466 | 0.9423 | 0.9444 | 0.7177 | 0.7144 | 0.7161 | 0.5807 | 0.5781 | 0.5794 | 0.4571 | 0.4550 | 0.4561 | 0.4542 | 0.4521 | 0.4531 |
iudex dmrst predict \
--hub-id larc-iu/dmrst-ettin-400m-gum-12.1.0 \
--text "Although the experiment was carefully designed, the results were inconclusive. We plan to repeat it tonight.".txt file or a directory of them instead, use --text-file <path> --output-dir out/.1from iudex.rst.parsers.dmrst.modeling_dmrst import DMRSTParser
2
3parser = DMRSTParser.from_pretrained("larc-iu/dmrst-ettin-400m-gum-12.1.0")
4tree = parser.predict_from_text(
5 "Although the experiment was carefully designed, "
6 "the results were inconclusive. "
7 "We plan to repeat it tonight."
8)
9print(tree.to_rs4_string())1@inproceedings{dmrst_paper,
2 title = {DMRST: A Joint Framework for Document-Level Multilingual RST Discourse Segmentation and Parsing},
3 author = {Zhengyuan Liu, Ke Shi, Nancy F. Chen},
4 booktitle = {CODI 2021},
5 url = {https://aclanthology.org/2021.codi-main.15/},
6}1@misc{gessler-iudex-2026,
2 author = {Gessler, Luke},
3 title = {{IUDEX: The Indiana University Discourse Exhibition}},
4 year = {2026},
5 howpublished = {\url{https://github.com/larc-iu/iudex}},
6}1{
2 "train_dir": "data/gum_12.1.0_notok/train",
3 "dev_dir": "data/gum_12.1.0_notok/dev",
4 "test_dir": "data/gum_12.1.0_notok/test",
5 "relation_types": [
6 [
7 "adversative-antithesis",
8 "rst"
9 ],
10 [
11 "adversative-concession",
12 "rst"
13 ],
14 [
15 "adversative-contrast",
16 "multinuc"
17 ],
18 [
19 "attribution-negative",
20 "rst"
21 ],
22 [
23 "attribution-positive",
24 "rst"
25 ],
26 [
27 "causal-cause",
28 "rst"
29 ],
30 [
31 "causal-result",
32 "rst"
33 ],
34 [
35 "context-background",
36 "rst"
37 ],
38 [
39 "context-circumstance",
40 "rst"
41 ],
42 [
43 "contingency-condition",
44 "rst"
45 ],
46 [
47 "elaboration-additional",
48 "rst"
49 ],
50 [
51 "elaboration-attribute",
52 "rst"
53 ],
54 [
55 "evaluation-comment",
56 "rst"
57 ],
58 [
59 "explanation-evidence",
60 "rst"
61 ],
62 [
63 "explanation-justify",
64 "rst"
65 ],
66 [
67 "explanation-motivation",
68 "rst"
69 ],
70 [
71 "joint-disjunction",
72 "multinuc"
73 ],
74 [
75 "joint-list",
76 "multinuc"
77 ],
78 [
79 "joint-other",
80 "multinuc"
81 ],
82 [
83 "joint-sequence",
84 "multinuc"
85 ],
86 [
87 "mode-manner",
88 "rst"
89 ],
90 [
91 "mode-means",
92 "rst"
93 ],
94 [
95 "organization-heading",
96 "rst"
97 ],
98 [
99 "organization-phatic",
100 "rst"
101 ],
102 [
103 "organization-preparation",
104 "rst"
105 ],
106 [
107 "purpose-attribute",
108 "rst"
109 ],
110 [
111 "purpose-goal",
112 "rst"
113 ],
114 [
115 "restatement-partial",
116 "rst"
117 ],
118 [
119 "restatement-repetition",
120 "multinuc"
121 ],
122 [
123 "same-unit",
124 "multinuc"
125 ],
126 [
127 "topic-question",
128 "rst"
129 ],
130 [
131 "topic-solutionhood",
132 "rst"
133 ]
134 ],
135 "relation_map": null,
136 "model_name": "jhu-clsp/ettin-encoder-400m",
137 "stride": 100,
138 "attention_type": "dot_product",
139 "classifier_use_bias": true,
140 "num_rnn_layers": 1,
141 "encoder_dropout": 0.5,
142 "decoder_dropout": 0.5,
143 "labeler_dropout": 0.5,
144 "doc_gru_dropout": 0.2,
145 "label_input_pooling": "mean",
146 "freeze_embeddings": true,
147 "freeze_encoder_layers": 3,
148 "segmentation": {
149 "pos_weight": 10,
150 "start_loss": false,
151 "scheme": "BIE",
152 "loss": "crf",
153 "dropout": 0.5
154 },
155 "detokenizer": null,
156 "dlw": {
157 "temperature": 2,
158 "window": 30
159 },
160 "lr": 0.0003,
161 "encoder_lr": 2e-05,
162 "max_epochs": 100,
163 "grad_accum": 3,
164 "amp": true,
165 "patience": 10,
166 "max_grad_norm": 10,
167 "weight_decay": 0.01,
168 "num_warmup_steps": 100,
169 "log_every": 1,
170 "validate_every": null,
171 "checkpoint_every": null,
172 "checkpoint_dir": "checkpoints",
173 "run_name": null,
174 "seed": 42,
175 "val_metric_name": "e2e_full_f1"
176}