Mostafa-Saeed commited on
Commit
bb2b987
·
verified ·
1 Parent(s): f4ea4e7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -15
README.md CHANGED
@@ -5,20 +5,20 @@ language:
5
  pipeline_tag: text-generation
6
  tags:
7
  - Arabic_Dialectal_Lemmatization
8
- ---
9
- # EGY-S2S-lemmatizer
10
- # Model Description
11
-
12
  The model is developed for Arabic dialect lemmatization, focusing on Egyptian (EGY) Arabic. It follows a sequence-to-sequence formulation of lemmatization, where the model generates the lemma of a given word knowing 2 words before and 2 words after the current word rather than treating lemmas as fixed classification labels.
13
-
14
-
15
- The model is evaluated using lemma accuracy as the main metric, with an additional normalized lemma accuracy metric that accounts for orthographic and diacritic variation. The full methodology, training setup, hyperparameters, and evaluation results are described in our paper [“Lemmatizing Dialectal Arabic with Sequence-to-Sequence Models”](https://aclanthology.org/2025.arabicnlp-main.10/)
16
-
17
  # Standalone Usage
18
 
19
-
20
- The model can also be used independently without the full lemmatization workflow on the GitHub repository (https://github.com/CAMeL-Lab/seq2seq-arabic-dialect-lemmatization). In this case, the input should contain the target word surrounded by the special token `<target>`, with up to two words before and two words after the target word.
21
-
22
  ```python
23
  import re
24
  import math
@@ -86,10 +86,10 @@ df["word"] = df["input_text"].apply(extract_target_word)
86
  tokenizer, model = load_model("egy")
87
  df["predicted_lex"] = predict(tokenizer, model, df["input_text"].tolist())
88
  ```
89
-
90
-
91
  ## 📖 Citation
92
-
93
 
94
 
95
  If you use this model in your research, please cite the following paper:
@@ -104,4 +104,4 @@ If you use this model in your research, please cite the following paper:
104
  url = {https://aclanthology.org/2025.arabicnlp-main.10/}
105
  }
106
  ```
107
-
 
5
  pipeline_tag: text-generation
6
  tags:
7
  - Arabic_Dialectal_Lemmatization
8
+ ---
9
+ # Egyptian-S2S-lemmatizer
10
+ # Model Description
11
+
12
  The model is developed for Arabic dialect lemmatization, focusing on Egyptian (EGY) Arabic. It follows a sequence-to-sequence formulation of lemmatization, where the model generates the lemma of a given word knowing 2 words before and 2 words after the current word rather than treating lemmas as fixed classification labels.
13
+
14
+
15
+ The model is evaluated using lemma accuracy as the main metric, with an additional normalized lemma accuracy metric that accounts for orthographic and diacritic variation. The full methodology, training setup, hyperparameters, and evaluation results are described in our paper [“Lemmatizing Dialectal Arabic with Sequence-to-Sequence Models”](https://aclanthology.org/2025.arabicnlp-main.10/)
16
+
17
  # Standalone Usage
18
 
19
+
20
+ The model can also be used independently without the full lemmatization workflow on the GitHub repository (https://github.com/CAMeL-Lab/seq2seq-arabic-dialect-lemmatization). In this case, the input should contain the target word surrounded by the special token `<target>`, with up to two words before and two words after the target word.
21
+
22
  ```python
23
  import re
24
  import math
 
86
  tokenizer, model = load_model("egy")
87
  df["predicted_lex"] = predict(tokenizer, model, df["input_text"].tolist())
88
  ```
89
+
90
+
91
  ## 📖 Citation
92
+
93
 
94
 
95
  If you use this model in your research, please cite the following paper:
 
104
  url = {https://aclanthology.org/2025.arabicnlp-main.10/}
105
  }
106
  ```
107
+