mEdIT: Multilingual Text Editing via Instruction Tuning

Vipul Raheja, Dimitris Alikaniotis, Vivek Kulkarni, Bashar Alhafni, Dhruv Kumar
2/26/2024
cs.CLcs.AI

Official code: vipulraheja/medit (10 stars, Apache-2.0, last commit 2024-09-23).

Abstract

We introduce mEdIT, a multi-lingual extension to CoEdIT -- the recent state-of-the-art text editing models for writing assistance. mEdIT models are trained by fine-tuning multi-lingual large, pre-trained language models (LLMs) via instruction tuning. They are designed to take instructions from the user specifying the attributes of the desired text in the form of natural language instructions, such as Grammatik korrigieren (German) or Parafrasee la oración (Spanish). We build mEdIT by curating data from multiple publicly available human-annotated text editing datasets for three text editing tasks (Grammatical Error Correction (GEC), Text Simplification, and Paraphrasing) across diverse languages belonging to six different language families. We detail the design and training of mEdIT models and demonstrate their strong performance on many multi-lingual text editing benchmarks against other multilingual LLMs. We also find that mEdIT generalizes effectively to new languages over multilingual baselines. We publicly release our data, code, and trained models at https://github.com/vipulraheja/medit.

View on arXivView PDF

Code Implementations(1)

vipulraheja/meditOfficial100%
Apache-2.0

Official repository of the paper "mEdIT: Multilingual Text Editing via Instruction Tuning" (NAACL 2024)

100Shell, PythonJan 25, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{raheja2024medit,
  title  = {mEdIT: Multilingual Text Editing via Instruction Tuning},
  author = {Vipul Raheja and Dimitris Alikaniotis and Vivek Kulkarni and Bashar Alhafni and Dhruv Kumar},
  year   = {2024},
  eprint = {2402.16472},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.16472v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.16472.svg)](https://codeofpaper.com/paper/2402.16472)

Discussion