Views
No views yet
google/mt5-large
encoder. This is the first coreference model for Persian literary text,
trained on the Mehr news corpus and the PersianCorefUD corpus
(The Little Prince / شازده کوچولو).| Property | Value |
|---|---|
| Base model | ufal/corpipe25-corefud1.3-large-251101 |
| Encoder | google/mt5-large |
| Training data | Mehr corpus (320 docs) + Little Prince fold 1 (1,005 sentences) |
| Optimizer | AdaFactor, lr=2e-5, cosine decay |
| Epochs | 60 |
| Batch size | 8 |
| Sampling exponent | 0.7 |
| System | CoNLL F1 | Zero F1 |
|---|---|---|
| System 2 — this model | 52.62% | 0.61% |
| System 6 — this model + rule-based zero linker | 58.70% | 83.30%* |
1git clone https://github.com/ufal/corpipe
2cd corpipe
3pip install -r requirements.txt1from huggingface_hub import snapshot_download
2snapshot_download(
3 "Mnsjn/PersianCorefUD-CorPipe",
4 local_dir="persian_coref_model/"
5)persian-perdt, paste your text, download the CoNLL-U output.1python corpipe25.py \
2 --load persian_coref_model/ \
3 --test your_file.conllu \
4 --out your_file_coref.conlluEntity=(cXX) annotations in
the MISC column following the CorefUD 1.0 format.4.1) must already be present
in the input if you want zero pronoun coreference to be predicted.
If you are working with raw text without pre-annotated zero pronouns,
the model will still predict coreference for overt mentions.