AraBERTv2+D3Tok+Reg
is a readability assessment model that was built by fine-tuning the
AraBERTv2
model with Mean Squared Error loss (
Reg
).
For the fine-tuning, we used the
D3Tok
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 AraBERTv2+D3Tok+Reg model as part of the transformers pipeline.
You need to preprocess your text into the D3Tok input variant using the preprocessing step
here
.
How to use
To use the model:
from transformers import pipeline
readability = pipeline("text-classification", model="CAMeL-Lab/readability-arabertv2-d3tok-reg")
withopen("/PATH/TO/preprocessed_d3tok", "r") as f:
sentences = f.read().split("\n")
results = readability(sentences, function_to_apply="none")
readability_levels = [max(round(result['score']+0.5),1) for result in results]
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"
}
Runs of CAMeL-Lab readability-arabertv2-d3tok-reg on huggingface.co
1
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-8
30-day runs
More Information About readability-arabertv2-d3tok-reg huggingface.co Model
More readability-arabertv2-d3tok-reg license Visit here:
readability-arabertv2-d3tok-reg huggingface.co is an AI model on huggingface.co that provides readability-arabertv2-d3tok-reg's model effect (), which can be used instantly with this CAMeL-Lab readability-arabertv2-d3tok-reg model. huggingface.co supports a free trial of the readability-arabertv2-d3tok-reg model, and also provides paid use of the readability-arabertv2-d3tok-reg. Support call readability-arabertv2-d3tok-reg model through api, including Node.js, Python, http.
readability-arabertv2-d3tok-reg huggingface.co is an online trial and call api platform, which integrates readability-arabertv2-d3tok-reg's modeling effects, including api services, and provides a free online trial of readability-arabertv2-d3tok-reg, you can try readability-arabertv2-d3tok-reg online for free by clicking the link below.
CAMeL-Lab readability-arabertv2-d3tok-reg online free url in huggingface.co:
readability-arabertv2-d3tok-reg is an open source model from GitHub that offers a free installation service, and any user can find readability-arabertv2-d3tok-reg on GitHub to install. At the same time, huggingface.co provides the effect of readability-arabertv2-d3tok-reg install, users can directly use readability-arabertv2-d3tok-reg installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
readability-arabertv2-d3tok-reg install url in huggingface.co: