Downloads · 30 days
18
4% of all-time downloads
AfnanTS/ARBERTv2EL
ARBERTv2EL is a fill-mask model from AfnanTS. Use it when you need the model to fill a missing word. It is set up for transformers.
<img src="./Transparent.png" alt="Model Logo" width="30%" height="30%" align="right"/
Downloads · 30 days
18
4% of all-time downloads
All-time downloads
494
Public
Repo size
8.4 GB
Likes
0
Public
Click a slice to open those files.
.bin649 MB · 100%
From the Hugging Face model README
The ArBERTV2_EL model is a transformer-based Arabic language model fine-tuned using the Entity Linking (EL) task. This model leverages Knowledge Graphs (KGs) for intrinsic evaluation of Masked Language Modeling (MLM) models without directly evaluating the EL model. The EL task ensures that the model benefits from the incorporation of structured knowledge during pre-training.
Filling masked tokens in Arabic text, particularly in contexts enriched with knowledge from KGs.
Can be further fine-tuned for Arabic NLP tasks that require semantic understanding, such as text classification or question answering.
from transformers import pipeline
fill_mask = pipeline("fill-mask", model="AfnanTS/ArBERTV2_EL")
fill_mask("اللغة [MASK] مهمة جدا."
Trained on the ArLAMA dataset, which is designed to represent Knowledge Graphs in natural language.
Continued pre-training of the ArBERTv2 model using Entity Linking (EL) task.