AUB MIND LAB
commited on
Commit
•
d432b42
1
Parent(s):
fe5ec13
Update README.md
Browse files
README.md
CHANGED
@@ -8,7 +8,7 @@ widget:
|
|
8 |
- text: " عاصمة لبنان هي [MASK] ."
|
9 |
---
|
10 |
|
11 |
-
# !!! A newer version of this model is available !!! [
|
12 |
|
13 |
|
14 |
# AraBERT v1 & v2 : Pre-training BERT for Arabic Language Understanding
|
@@ -85,7 +85,7 @@ It is recommended to apply our preprocessing function before training/testing on
|
|
85 |
from arabert.preprocess import ArabertPreprocessor
|
86 |
|
87 |
model_name="bert-base-arabertv01"
|
88 |
-
arabert_prep = ArabertPreprocessor(model_name=model_name
|
89 |
|
90 |
text = "ولن نبالغ إذا قلنا إن هاتف أو كمبيوتر المكتب في زمننا هذا ضروري"
|
91 |
arabert_prep.preprocess(text)
|
|
|
8 |
- text: " عاصمة لبنان هي [MASK] ."
|
9 |
---
|
10 |
|
11 |
+
# !!! A newer version of this model is available !!! [AraBERTv02](https://huggingface.co/aubmindlab/bert-base-arabertv02)
|
12 |
|
13 |
|
14 |
# AraBERT v1 & v2 : Pre-training BERT for Arabic Language Understanding
|
|
|
85 |
from arabert.preprocess import ArabertPreprocessor
|
86 |
|
87 |
model_name="bert-base-arabertv01"
|
88 |
+
arabert_prep = ArabertPreprocessor(model_name=model_name)
|
89 |
|
90 |
text = "ولن نبالغ إذا قلنا إن هاتف أو كمبيوتر المكتب في زمننا هذا ضروري"
|
91 |
arabert_prep.preprocess(text)
|