alnnahwi commited on
Commit
43631ad
·
verified ·
1 Parent(s): 9d05224

add x handler

Browse files
Files changed (1) hide show
  1. README.md +5 -4
README.md CHANGED
@@ -89,9 +89,10 @@ def correct_arabic_text(text):
89
  outputs = pipe(
90
  prompt,
91
  max_new_tokens=512,
92
- do_sample=True,
93
- temperature=0.7,
94
- top_p=0.9,
 
95
  )
96
 
97
  full_text = outputs[0]["generated_text"]
@@ -206,7 +207,7 @@ This model is released under the same license as the base Gemma model. Please re
206
 
207
  ## Contact
208
 
209
- **Author**: Bahjat Al Mostafa
210
  **Email**: <[email protected]>
211
  **Organization**: Alnnahwi
212
  **Website**: [https://alnnahwi.com/](https://alnnahwi.com/)
 
89
  outputs = pipe(
90
  prompt,
91
  max_new_tokens=512,
92
+ do_sample=False, # Use greedy decoding for evaluation consistency
93
+ temperature=None,
94
+ top_p=None,
95
+ top_k=None,
96
  )
97
 
98
  full_text = outputs[0]["generated_text"]
 
207
 
208
  ## Contact
209
 
210
+ **Author**: Bahjat Al Mostafa [@Bahjat](https://x.com/bahjat/)
211
  **Email**: <[email protected]>
212
  **Organization**: Alnnahwi
213
  **Website**: [https://alnnahwi.com/](https://alnnahwi.com/)