Downloads · 30 days
0
Ashu9675/space-llm-10m
space-llm-10m is a text generation model from Ashu9675. Use it when you need the model to write or continue text. It is set up for jax. The card lists the license as mit.
A custom decoder-only transformer trained from scratch on space/astronomy text.
Downloads · 30 days
0
Access
Public
Updated May 30, 2026
Repo size
250 MB
Likes
2
Public
Click a slice to open those files.
.pkl291 MB · 100%
From the Hugging Face model README
A custom decoder-only transformer trained from scratch on space/astronomy text.
~34 million tokens collected from:
best.pkl - Best model checkpoint (Flax params, pickle format)final.pkl - Final model checkpointmodel_config.json - Model architecture configspace_tokenizer.model - SentencePiece tokenizerstep_*.pkl - Intermediate checkpointsimport pickle, json
import jax, jax.numpy as jnp
from flax import linen as nn
import sentencepiece as spm
# Load config and weights
with open("model_config.json") as f:
cfg = json.load(f)
with open("best.pkl", "rb") as f:
params = pickle.load(f)["params"]
# Load tokenizer
sp = spm.SentencePieceProcessor(model_file="space_tokenizer.model")
# See https://github.com/korfalor-cloud/space-llm for full model code
Full training code: https://github.com/korfalor-cloud/space-llm
This is a small (10M param) model trained on limited data (34M tokens). It learns space vocabulary and topic associations but does not produce fully coherent prose. It's an educational demonstration of training an LLM from scratch.