Downloads · 30 days
8
24% of all-time downloads
adesh01/llm_forge-25m
llm_forge-25m is a machine learning model from adesh01. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for jax. The card lists the license as apache-2.0.
Llama-style transformer trained from scratch in JAX/Flax.
Downloads · 30 days
8
24% of all-time downloads
All-time downloads
34
Public
Repo size
111 MB
Likes
1
Public
Click a slice to open those files.
.safetensors111 MB · 100%
From the Hugging Face model README
Llama-style transformer trained from scratch in JAX/Flax.
params.safetensors — model weights (fp32)config.json — architecture (HF Llama format)tokenizer.json + tokenizer_config.json + special_tokens_map.json — 32k BPEgeneration_config.json — default sampling parametersfrom huggingface_hub import snapshot_download
from model.config import load_model_config
from model.lm import LM
from training.export import load_params_safetensors
path = snapshot_download("adesh01/llm_forge-25m")
cfg = load_model_config('model_25m') # or load_model_config('model_<size>')
model = LM(config=cfg)
flat = load_params_safetensors(f'{path}/params.safetensors')