ReadMe++: Benchmarking Multilingual Language Models for Multi-Domain Readability Assessment
Paper • 2305.14463 • Published
How to use tareknaous/readabert-fr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="tareknaous/readabert-fr") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tareknaous/readabert-fr")
model = AutoModelForSequenceClassification.from_pretrained("tareknaous/readabert-fr")CamemBERT-base (almanach/camembert-base) model fine-tuned on the French portion of the ReadMe++ corpus for sentence-level readability prediction on a scale of 6-level CEFR scale
Github (Dataset and Python Package): https://github.com/tareknaous/readme