🧠 Hothaifa/HEQ2.3-Thinking-HM.1
Base Model: Hothaifa/HEQ2.3-Thinking-Final
Developed by: Hothaifa Eqbal / HEQ-AI
Project Ecosystem: HEQ WERDK & HEQ Run
English
HEQ2.3-Thinking-HM.1 — Code & Logic Optimized Model
This Gemma-4 based model is specifically fine-tuned for Code Generation and Logical Reasoning. Unlike our dialogue-optimized versions, this model prioritizes structural thinking and programming accuracy over casual conversation.
✨ Key Strengths
- Code Generation: Strong programming capabilities across multiple languages (Rated ~7.5/10).
- Task Execution: Highly effective at executing technical tasks and blending code with explanations when provided with clear, well-structured prompts.
⚠️ Limitations & Known Bugs (Transparency Report)
- Prompt Sensitivity: The model's conversational quality relies heavily on proper prompt engineering. With clear instructions, it codes and discusses effectively. With vague prompts, its conversational abilities degrade, though its coding remains intact.
- Identity Overfitting Bug (~8%): Due to training artifacts inherited from the previous base version, the model suffers from a slight "Trainer Identity Hallucination." In approximately 8% of generated responses, it may inappropriately output or reference the trainer's name.
sy العربية
HEQ2.3-Thinking-HM.1 — نموذج التفكير والبرمجة
هذا النموذج المبني على بنية Gemma-4 مخصص ومضبوط بدقة للتركيز على كتابة الأكواد البرمجية والتفكير المنطقي (Reasoning). على عكس نسخنا المتخصصة في الحوار، يعطي هذا النموذج الأولوية للمهام التقنية والهندسية.
✨ نقاط القوة
- القدرات البرمجية: أداء قوي في كتابة الأكواد وحل المشكلات البرمجية (تقييم 7.5/10 تقريباً).
- تنفيذ المهام المعقدة: قادر على الجمع بين البرمجة والنقاش التقني بكفاءة عالية بشرط توجيهه بأوامر (Prompts) واضحة ومباشرة.
⚠️ القيود والمشاكل المعروفة
- حساسية التوجيه (Prompt Sensitivity): جودة الحوار تعتمد بشكل كبير على دقة المستخدم. إذا كان التوجيه دقيقاً، سيناقش ويبرمج بامتياز. إذا كان التوجيه ضعيفاً، ستتراجع قدرته الحوارية بشكل ملحوظ، لكنه سيحافظ على قدرته البرمجية.
- خطأ تكرار الهوية (Overfitting Bug): بسبب تراكمات بيانات التدريب في النسخة السابقة، يعاني النموذج من خطأ بسيط في التوليد. في حوالي 8% من الإجابات، قد يقوم النموذج بذكر اسم المدرب في سياقات غير مناسبة (هلوسة الهوية).
💻 الاستخدام السريع / Fast Inference
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Hothaifa/HEQ2.3-Thinking-HM.1"
# Load Tokenizer & Model using Unsloth's 4-bit optimization
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, load_in_4bit=True, device_map="auto")
# Generate Code
prompt = "اكتب دالة بلغة بايثون للاتصال بقاعدة بيانات MongoDB وإرجاع المستخدمين:"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=300)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))