AUB MIND LAB
commited on
Commit
·
899e931
1
Parent(s):
56a895d
Update README.md
Browse files
README.md
CHANGED
|
@@ -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-arabert"
|
| 88 |
-
arabert_prep = ArabertPreprocessor(model_name=model_name
|
| 89 |
|
| 90 |
text = "ولن نبالغ إذا قلنا إن هاتف أو كمبيوتر المكتب في زمننا هذا ضروري"
|
| 91 |
arabert_prep.preprocess(text)
|
|
|
|
| 85 |
from arabert.preprocess import ArabertPreprocessor
|
| 86 |
|
| 87 |
model_name="bert-base-arabert"
|
| 88 |
+
arabert_prep = ArabertPreprocessor(model_name=model_name)
|
| 89 |
|
| 90 |
text = "ولن نبالغ إذا قلنا إن هاتف أو كمبيوتر المكتب في زمننا هذا ضروري"
|
| 91 |
arabert_prep.preprocess(text)
|