Downloads · 30 days
6
27% of all-time downloads
CK0607/fineweb10B-gpt-heads32_L12_E768_max8000_bs128
fineweb10B-gpt-heads32_L12_E768_max8000_bs128 is a machine learning model from CK0607. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Custom GPT (nanoGPT-style) trained on uint16 token bins.
Downloads · 30 days
6
27% of all-time downloads
All-time downloads
22
Public
Repo size
496 MB
Likes
0
Public
Click a slice to open those files.
.bin496 MB · 100%
From the Hugging Face model README
Custom GPT (nanoGPT-style) trained on uint16 token bins.
25001310720000--amp)This repository contains minimal
config.jsonand weight files. The training architecture is defined in the accompanying script and is not a drop-intransformersmodel class. To load in PyTorch, instantiate the sameGPTclass and callload_state_dict.
import torch, json
from my_training_script import GPT, GPTConfig # your script path
cfg = GPTConfig(
block_size=512,
vocab_size=50304,
n_layer=12,
n_head=32,
n_embed=768,
dropout=0.2,
)
model = GPT(cfg)
# If you uploaded safetensors:
# from safetensors.torch import load_file
# sd = load_file("model.safetensors")
# If you uploaded PyTorch bin:
# sd = torch.load("pytorch_model.bin", map_location="cpu")
# model.load_state_dict(sd, strict=True)
model.eval()