Downloads · 30 days
4
22% of all-time downloads
irishbumfuzzle/anlp-a2-p2-lion
anlp-a2-p2-lion is a machine learning model from irishbumfuzzle. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
4
22% of all-time downloads
All-time downloads
18
Public
Repo size
143 MB
Likes
0
Public
Click a slice to open those files.
.pt143 MB · 98%
From the Hugging Face model README
Lion (Wen et al. 2025, Algorithm 3)
final checkpoint (end of token budget).model.pt -- {"model": <state_dict>, "config": <TransformerConfig dict>}config.json -- the TransformerConfigtokenizer.json -- byte-level BPE (v32768) trained on the training splitREADME.md -- this filefrom src.part1.model import TransformerLM
from src.part1.data import load_tokenizer
model = TransformerLM.load("part2_b32/lion/final", device="cuda")
tokenizer = load_tokenizer("tokenizer") # or: from this repo's tokenizer.json