Downloads · 30 days
11
48% of all-time downloads
injazsmart/thoth_text
thoth_text is a text generation model from injazsmart. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Thoth Text هو نموذج لغوي عربي تم تدريبه وتحسينه باستخدام تقنية Fine-Tuning بهدف تحسين الأداء في المحادثات النصية باللغة العربية والفهم السياقي العميق.
Downloads · 30 days
11
48% of all-time downloads
All-time downloads
23
Public
Repo size
134 MB
Likes
0
Public
Click a slice to open those files.
.safetensors162 MB · 69%
From the Hugging Face model README
Thoth Text هو نموذج لغوي عربي تم تدريبه وتحسينه باستخدام تقنية Fine-Tuning
بهدف تحسين الأداء في المحادثات النصية باللغة العربية والفهم السياقي العميق.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("injazsmart/thoth_text")
model = AutoModelForCausalLM.from_pretrained("injazsmart/thoth_text")
prompt = "اشرح بإيجاز مفهوم الذكاء الاصطناعي."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))