Update README.md
Browse files
README.md
CHANGED
@@ -8,8 +8,8 @@ base_model:
|
|
8 |
pipeline_tag: fill-mask
|
9 |
---
|
10 |
|
11 |
-
<img src="https://huggingface.co/AfnanTS/ARBERTv2EL/blob/main/Arab_BERT2.jpeg" alt="drawing" width="30%" height="30%" align="right"/>
|
12 |
|
|
|
13 |
|
14 |
The **ArBERTV2_EL** model is a transformer-based Arabic language model fine-tuned using the Entity Linking (EL) task. This model leverages Knowledge Graphs (KGs) for intrinsic evaluation of Masked Language Modeling (MLM) models without directly evaluating the EL model. The EL task ensures that the model benefits from the incorporation of structured knowledge during pre-training.
|
15 |
|
@@ -32,11 +32,11 @@ Can be further fine-tuned for Arabic NLP tasks that require semantic understandi
|
|
32 |
|
33 |
## How to Get Started with the Model
|
34 |
|
|
|
35 |
from transformers import pipeline
|
36 |
-
fill_mask = pipeline("fill-mask", model="AfnanTS/
|
37 |
-
fill_mask("اللغة [MASK] مهمة جدا."
|
38 |
-
|
39 |
-
|
40 |
|
41 |
## Training Details
|
42 |
|
|
|
8 |
pipeline_tag: fill-mask
|
9 |
---
|
10 |
|
|
|
11 |
|
12 |
+
<img src="./Arab_BERT2.jpeg" alt="Model Logo" width="30%" height="30%" align="right"/>
|
13 |
|
14 |
The **ArBERTV2_EL** model is a transformer-based Arabic language model fine-tuned using the Entity Linking (EL) task. This model leverages Knowledge Graphs (KGs) for intrinsic evaluation of Masked Language Modeling (MLM) models without directly evaluating the EL model. The EL task ensures that the model benefits from the incorporation of structured knowledge during pre-training.
|
15 |
|
|
|
32 |
|
33 |
## How to Get Started with the Model
|
34 |
|
35 |
+
```python
|
36 |
from transformers import pipeline
|
37 |
+
fill_mask = pipeline("fill-mask", model="AfnanTS/ArBERTV2_EL")
|
38 |
+
fill_mask("اللغة [MASK] مهمة جدا."
|
39 |
+
```
|
|
|
40 |
|
41 |
## Training Details
|
42 |
|