Downloads · 30 days
70
6% of all-time downloads
zyberg2091/fineweb_pretrained_model_37M
fineweb_pretrained_model_37M is a text generation model from zyberg2091. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A 37.8M-parameter decoder-only language model implemented and pretrained from scratch in PyTorch.
Downloads · 30 days
70
6% of all-time downloads
All-time downloads
1.2K
Public
Parameters
37.8M
151 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors151 MB · 99%
From the Hugging Face model README
A 37.8M-parameter decoder-only language model implemented and pretrained from scratch in PyTorch.
This model is a research and educational artifact for studying small-language-model pretraining, architecture implementation, and parameter allocation. It is not intended as a production assistant.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "zyberg2091/fineweb_pretrained_model_37M"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
)