Run this model with HF Jobs
Run CAMeL-Lab/readability-arabertv02-word-CE on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/CAMeL-Lab/readability-arabertv02-word-CE. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/CAMeL-Lab/readability-arabertv02-word-CE on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use CAMeL-Lab/readability-arabertv02-word-CE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CAMeL-Lab/readability-arabertv02-word-CE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CAMeL-Lab/readability-arabertv02-word-CE")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CAMeL-Lab/readability-arabertv02-word-CE") model = AutoModelForSequenceClassification.from_pretrained("CAMeL-Lab/readability-arabertv02-word-CE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
AraBERTv02+Word+CE Readability Model
Model description
AraBERTv02+Word+CE is a readability assessment model that was built by fine-tuning the AraBERTv02 model with cross-entropy loss (CE). For the fine-tuning, we used the Word input variant from BAREC-Corpus-v1.0. Our fine-tuning procedure and the hyperparameters we used can be found in our paper "A Large and Balanced Corpus for Fine-grained Arabic Readability Assessment."
Intended uses
You can use the AraBERTv02+Word+CE model as part of the transformers pipeline.
How to use
To use the model with a transformers pipeline:
>>> from transformers import pipeline
>>> readability = pipeline("text-classification", model="CAMeL-Lab/readability-arabertv02-word-CE")
>>> text = 'ู ูุงู ูู ุงูู ูุญุจ ุงูู ุงูุทุนุงู
ุจูุซุฑู'
>>> readability_level = int(readability(text)[0]['label'][6:])+1
>>> print("readability level: {}".format(readability_level))
readability level: 10
Citation
@inproceedings{elmadani-etal-2025-readability,
title = "A Large and Balanced Corpus for Fine-grained Arabic Readability Assessment",
author = "Elmadani, Khalid N. and
Habash, Nizar and
Taha-Thomure, Hanada",
booktitle = "Findings of the Association for Computational Linguistics: ACL 2025",
year = "2025",
address = "Vienna, Austria",
publisher = "Association for Computational Linguistics"
}
- Downloads last month
- 41