Downloads · 30 days
20
16% of all-time downloads
yingfanbot/gsm-lotus-llama3b-codi
gsm-lotus-llama3b-codi is a text generation model from yingfanbot. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
LOTUS + CODI (adds CODI trajectory distillation) checkpoint fine-tuned from meta-llama/Llama-3.2-3B-Instruct on GSM8k-Aug, from the paper Bridging the Gap Between Latent and Explicit Reasoning with Looped Transformers…
Downloads · 30 days
20
16% of all-time downloads
All-time downloads
126
Public
Parameters
3.2B
14.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
LOTUS + CODI (adds CODI trajectory distillation) checkpoint fine-tuned from meta-llama/Llama-3.2-3B-Instruct on GSM8k-Aug, from the paper
Bridging the Gap Between Latent and Explicit Reasoning with Looped Transformers.
This variant was trained with an extra CODI's trajectory-level distillation loss.
from_pretrained loads the weights only — the looped padded architecture needs the LOTUS code
(code repo).
Run in the pinned env (torch 2.7 / transformers 4.46.2). This loads the safetensors straight from this repo and runs the latent loop — no separate checkpoint file needed:
python scripts/eval.py \
--model_id yingfanbot/gsm-lotus-llama3b-codi \
--datasets gsm8k --n_looped_iters 6 --c_thought 25 --bf16
Yields 70.58% on GSM8k-Aug (verified by loading this repo's safetensors directly).
@article{fan2026bridging,
title={Bridging the Gap Between Latent and Explicit Reasoning with Looped Transformers},
author={Fan, Ying and Svete, Anej and Lee, Kangwook},
journal={arXiv preprint arXiv:2606.31779},
year={2026}
}