Downloads · 30 days
257
32% of all-time downloads
Raziel1234/Duchifat-1-Base
Duchifat-1-Base is a text generation model from Raziel1234. 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.
Downloads · 30 days
257
32% of all-time downloads
All-time downloads
812
Public
Parameters
193M
773 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors773 MB · 100%
From the Hugging Face model README

Duchifat-1-Base is a state-of-the-art, small-scale Hebrew Language Model (LLM) built on a custom Llama-based architecture. With 132 Million parameters, it is designed for efficiency, speed, and deep understanding of Hebrew syntax and urban semantics.
The model was trained from scratch to demonstrate that high-quality Hebrew text generation is possible even with limited parameter counts, provided the architecture is optimized for the language's unique morphological structure.
The model was pre-trained on the Hebrew Space Restoration Corpus by Dicta-IL, focusing on:
from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer
import torch
# Load model and tokenizer
model_id = "Raziel1234/Duchifat-1-Base"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
# Inference
prompt = "מצד שני ניכרים היום סימנים של"
inputs = tokenizer(prompt, return_tensors="pt", return_token_type_ids=False).to("cuda")
output = model.generate(**inputs, max_new_tokens=50, temperature=0.6, do_sample=True)
print(tokenizer.decode(output[0], skip_special_tokens=True))