Downloads · 30 days
0
firdavsus/LLM_D5
LLM_D5 is a machine learning model from firdavsus. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
LLMD5 is an experimental foundational autoregressive large language model representing the fifth generation iteration (D5) of custom architectural model training setups. Built entirely from scratch via the orchestrati…
Downloads · 30 days
0
Access
Public
Updated Jul 3, 2026
Repo size
8.5 GB
Likes
0
Public
Click a slice to open those files.
.pt5.6 GB · 66%
From the Hugging Face model README
LLM_D5 is an experimental foundational autoregressive large language model representing the fifth generation iteration (D5) of custom architectural model training setups. Built entirely from scratch via the orchestration engines provided in the companion firdavsus/LLM_D5 GitHub repository, this framework is tailored for ultra-low latency inference, efficient localized deployment, and highly specialized bilingual or trilingual applications.
The D5 iteration introduces deeper structural optimizations over previous series runs, adapting advanced attention pooling mechanisms, robust layer dynamics, and refined vocab boundaries specifically tuned for clean multi-lingual handling across English (en), Uzbek (uz), and Russian (ru).
text-generation)You can initialize and extract representations directly from the D5 architecture using PyTorch components provided in the project source repository.
import torch
from model import Transformer, ModelArgs # Imported from your firdavsus/LLM_D5 codebase
from tokenizer import Tokenizer
# 1. Initialize architectural shape configurations
args = ModelArgs(
dim=2048,
n_layers=32,
n_heads=32,
vocab_size=50257,
max_seq_len=4096
)
# 2. Allocate space and load internal network weights
device = "cuda" if torch.cuda.is_available() else "cpu"
model = Transformer(args).to(device)
checkpoint = torch.load("path_to_d5_checkpoint.pt", map_location=device)
model.load_state_dict(checkpoint["model"])
model.eval()
print("LLM_D5 pipeline initialized and ready for sequence generation loops.")