Instructions to use aubmindlab/bert-base-arabertv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aubmindlab/bert-base-arabertv2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="aubmindlab/bert-base-arabertv2")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("aubmindlab/bert-base-arabertv2") model = AutoModelForMaskedLM.from_pretrained("aubmindlab/bert-base-arabertv2") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#3
by bedourfouad - opened
README.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
| 1 |
---
|
| 2 |
language: ar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
datasets:
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
widget:
|
| 9 |
-
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# AraBERT v1 & v2 : Pre-training BERT for Arabic Language Understanding
|
|
|
|
| 1 |
---
|
| 2 |
language: ar
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
tags:
|
| 5 |
+
- text-classification
|
| 6 |
+
- arabic
|
| 7 |
+
- sentiment-analysis
|
| 8 |
+
- arabert
|
| 9 |
+
pipeline_tag: text-classification # <--- السطر المهم
|
| 10 |
datasets:
|
| 11 |
+
- emotone-ar-cicling2017/emotone_ar
|
| 12 |
+
metrics:
|
| 13 |
+
- accuracy
|
| 14 |
+
- f1
|
| 15 |
widget:
|
| 16 |
+
- text: "أنا أحب هذا المنتج كثيرا!"
|
| 17 |
+
- text: "هذا أسوأ شيء جربته على الإطلاق."
|
| 18 |
---
|
| 19 |
|
| 20 |
# AraBERT v1 & v2 : Pre-training BERT for Arabic Language Understanding
|