|
--- |
|
language: ar |
|
widget: |
|
- text: " عاصمة لبنان هي [MASK] ." |
|
--- |
|
# arabert_c19: An Arabert model pretrained on 1.5 million COVID-19 Arabic multi-dialect tweets |
|
**ARABERT COVID-19** is a pretrained (fine-tuned) version of the AraBERT v2 model (https://huggingface.co/aubmindlab/bert-base-arabertv02). The pretraining was done using 1.5 million multi-dialect Arabic tweets regarding the COVID-19 pandemic from the “Large Arabic Twitter Dataset on COVID-19” (https://arxiv.org/abs/2004.04315). |
|
The model can achieve better results for the tasks that deal with multi-dialect Arabic tweets in relation to the COVID-19 pandemic. |
|
|
|
|
|
# Preprocessing |
|
|
|
```python |
|
from arabert.preprocess import ArabertPreprocessor |
|
model_name="moha/arabert_c19" |
|
arabert_prep = ArabertPreprocessor(model_name=model_name) |
|
text = "للوقايه من عدم انتشار كورونا عليك اولا غسل اليدين بالماء والصابون وتكون عملية الغسل دقيقه تشمل راحة اليد الأصابع التركيز على الإبهام" |
|
arabert_prep.preprocess(text) |
|
``` |
|
|
|
|
|
# Contacts |
|
**Hadj Ameur**: [Github](https://github.com/MohamedHadjAmeur) | <[email protected]> | <[email protected]> |
|
|
|
|