Downloads · 30 days
16
2% of all-time downloads
razielAI/Duchifat-2.3-Instruct
Duchifat-2.3-Instruct is a text generation model from razielAI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Duchifat-2.3-Instruct is a state-of-the-art, instruction-tuned Large Language Model developed by TopAI. As the flagship of the Duchifat series, this model represents a fundamental breakthrough in how Hebrew is process…
Downloads · 30 days
16
2% of all-time downloads
All-time downloads
737
Public
Parameters
137M
274 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors274 MB · 99%
From the Hugging Face model README
Duchifat-2.3-Instruct is a state-of-the-art, instruction-tuned Large Language Model developed by TopAI. As the flagship of the Duchifat series, this model represents a fundamental breakthrough in how Hebrew is processed, reasoned, and generated in the LLM era.
The core innovation of Duchifat-2.3 lies in its Language-Native Reasoning engine. While most models suffer from a "Translation Gap"—reasoning in English and translating to Hebrew—Duchifat-2.3 was architected to bridge this divide.
By optimizing the model's internal weights and tokenizer for Hebrew-specific structures, we have achieved a system that:
Duchifat-2.3-Instruct has undergone a sophisticated Supervised Fine-Tuning (SFT) process designed to transform a raw base model into a highly capable, mission-aligned assistant.
One of the model's most impressive feats is its ability to generalize safety protocols. It doesn't just rely on a static list of blocked words; it understands the intent and context of human interaction.
The model is tuned to excel in diverse environments:
We believe that interaction is as important as information. Duchifat-2.3-Instruct carries a unique, refined persona:
The following evaluation was performed using lm-evaluation-harness (0-shot) to assess the model's core reasoning and common-sense capabilities.
| Task | Metric | Value | Significance |
|---|---|---|---|
| PIQA | Accuracy | 53.65% | Above Random Guessing |
| WinoGrande | Accuracy | 52.25% | Above Random Guessing |
| ARC-Easy | Accuracy (Norm) | 27.86% | Baseline Performance |
| HellaSwag | Accuracy | 25.94% | Baseline Performance |
Analysis: Duchifat-2.3-Instruct shows its strongest performance in binary-choice logic tasks (PIQA and WinoGrande), consistently outperforming random chance. While multi-choice benchmarks like ARC and HellaSwag remain at baseline levels, this is a common trade-off for models aggressively fine-tuned for conversational alignment and Hebrew-native reasoning.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
# הגדרות - טעינה מה-Hub
MODEL_ID = "razielAI/Duchifat-2.3-Instruct"
device = "cuda" if torch.cuda.is_available() else "cpu"
# טעינה
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
MODEL_ID,
trust_remote_code=True,
torch_dtype=torch.bfloat16 if torch.cuda.is_available() else torch.float32
).to(device)
def chat():
print("✨ Duchifat-2 Online (TopAI) | Type 'exit' to quit")
while True:
user_input = input("\n👤 User: ")
if user_input.lower() in ["exit", "quit", "יציאה"]: break
# בניית הפרומפט עם הטוקנים המיוחדים
prompt = f"<|instruction|>\n{user_input}\n<|assistant|>\n"
inputs = tokenizer(prompt, return_tensors="pt").to(device)
# יצירה
with torch.no_grad():
output_tokens = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.7,
do_sample=True,
pad_token_id=tokenizer.eos_token_id,
eos_token_id=tokenizer.encode("<|eos|>", add_special_tokens=False)[0]
)
# פיענוח והצגת התשובה בלבד
decoded = tokenizer.decode(output_tokens[0], skip_special_tokens=False)
response = decoded.split("<|assistant|>")[-1].replace("<|eos|>", "").strip()
print(f"🤖 Duchifat-2: {response}")
if __name__ == "__main__":
chat()
Duchifat-2.3-Instruct is more than a model; it is a statement on the future of specialized AI. By proving that a dedicated, language-native approach can outperform general-purpose "translation" models, TopAI is setting a new standard for the Israeli and global tech ecosystem.
Developed with technical excellence and linguistic precision by TopAI.