moha commited on
Commit
51a5ee8
·
1 Parent(s): 2456a98

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: ar
3
+ widget:
4
+ - text: " عاصمة لبنان هي [MASK] ."
5
+ ---
6
+ # arabert_c19: An Arabert model pretrained on 1.5 million COVID-19 Arabic multi-dialect tweets
7
+ **arabert covid19** is a pretrained (fine-tuned) version of the AraBERT v2 model (https://huggingface.co/aubmindlab/bert-base-arabertv02) using 1.5 million multi-dialect Arabic tweets regarding the COVID-19 pandemic obtained from the “Large Arabic Twitter Dataset on COVID-19” (https://arxiv.org/abs/2004.04315).
8
+ The model can achieve better results when dealing with multi-dialect Arabic tweets that are related to the COVID-19 pandemic.
9
+
10
+
11
+ # Preprocessing
12
+
13
+ ```python
14
+ from arabert.preprocess import ArabertPreprocessor
15
+ model_name="moha/arabert_c19"
16
+ arabert_prep = ArabertPreprocessor(model_name=model_name)
17
+ text = "للوقايه من عدم انتشار كورونا عليك اولا غسل اليدين بالماء والصابون وتكون عملية الغسل دقيقه تشمل راحة اليد الأصابع التركيز على الإبهام"
18
+ arabert_prep.preprocess(text)
19
+ ```
20
+
21
+
22
+ # Contacts
23
+ **Hadj Ameur**: [Github](https://github.com/MohamedHadjAmeur) | <[email protected]> | <[email protected]>
24
+