/readme

ReadMe++: A Multi-domain Multilingual Dataset for Readability Assessment

ReadMe++: Multilingual Multi-domain Benchmark for Sentence Readability Assessment

Overview

ReadMe++ is a multilingual multi-domain dataset with human annotations of 9757 sentences in Arabic, English, French, Hindi, and Russian collected from 112 different data sources.

The dataset is annotated for readability according to the CEFR framework (1-6 scale) and is openly-accessible for personal, research, and non-commercial purposes.

We also release a python package of ReadMe++ to easily use our fine-tuned language models for readability prediction, see simple usage steps below!

Installation

pip install readmepp

Usage

First import the class ReadMe and create a BERT predictor instance of it.
The parameter lang is to specify language (we support "en", "ar", "fr", "ru", and "hi").

from readmepp import ReadMe

predictor = ReadMe(lang='en')

To assess the readability of a sentence, use the predict function of the model:

sentence = 'Eukaryotes differ from prokaryotes in multiple ways, with unique biochemical pathways such as sterane synthesis.'

prediction = predictor.predict(sentence)

print(f"Predicted Readability Level: {prediction}")

Output:

Predicted Readability Level: 5

Trained Models

English: https://huggingface.co/tareknaous/readabert-en
Arabic: https://huggingface.co/tareknaous/readabert-ar
Hindi: https://huggingface.co/tareknaous/readabert-hi
French: https://huggingface.co/tareknaous/readabert-fr
Russian: https://huggingface.co/tareknaous/readabert-ru

Citation

For more details, see the accompanying paper: "ReadMe++: Benchmarking Multilingual Language Models for Multi-Domain Readability Assessment", arxiv pre-print, and please use the citation below.

@article{naous2023readme,
  title={ReadMe++: Benchmarking Multilingual Language Models for Multi-Domain Readability Assessment},
  author={Naous, Tarek and Ryan, Michael J and Lavrouk, Anton and Chandra, Mohit and Xu, Wei},
  journal={arXiv preprint arXiv:2305.14463},
  year={2023}
}

Additional Access

Medical Clinical Reports: To access the sentences and labels of Clinical Reports (en), please obtain permission from its original authors then email tareknaous@gatech.edu

Hindi Product Review: To access the sentences and labels of Hindi Product Review (hi), please obtain permission from its original authors then email tareknaous@gatech.edu

Contact

Tarek Naous: Scholar | Github | Linkedin | Research Gate | Personal Wesbite | tareknaous@gatech.edu

Dependencies

The following are the versions of libraries used when the readme python package was developed. More recent versions would also work.

transformers 4.35.2
torch 2.1.0+cu121

Acknowledgements

This research is supported in part by the NSF awards IIS-2144493 and IIS-2112633, NIH award R01LM014600, ODNI and IARPA via the HIATUS program (contract 2022-22072200004). The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies, either expressed or implied, of NSF, NIH, ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for governmental purposes notwithstanding any copyright annotation therein.