Skip to content

hari-8

transformer-pretraining-from-scratch

hari-8/transformer-pretraining-from-scratch

transformer-pretraining-from-scratch is a text generation model from hari-8. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.

A ~57M-non-embedding-parameter decoder-only transformer, pretrained from scratch in PyTorch. Every nn.Module (RMSNorm, rotary position embeddings, causal self-attention, SwiGLU MLP, weight-tied embedding/output head)…

Downloads · 30 days

150

17% of all-time downloads

All-time downloads

864

Public

Parameters

69.3M

277 MB on disk

Likes

1

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors277 MB · 100%

At a glance

Task
Text Generation
Library
transformers
License
mit
Model type
decoder_transformer_scratch
Access
Public
Created
Sep 3, 2026
Updated
Sep 3, 2026
SHA
bb5cb4f2

Try a prompt

Task
Text Generation
Library
transformers
Type
decoder_transformer_scratch
License
mit
Languages
en
Created
Sep 3, 2026
Updated
Sep 3, 2026