COCONUT
(Chain of Continuous Thought) is a latent reasoning model based on GPT-2 that enables continuous thought generation in latent space. This model is part of the
Parallel Test-Time Scaling for Latent Reasoning Models
framework.
Model Details
Base Architecture
: GPT-2 Language Model
Model Class
:
COCONUTGPT2
(extends
GPT2LMHeadModel
)
Latent Tokens
: Uses special tokens
<|latent|>
,
<|start-latent|>
,
<|end-latent|>
for latent reasoning
Input Format
: Requires newline after input question before
<|start-latent|>
token
Related Models
This repository includes other latent reasoning models that you might find useful:
COCONUT uses a special answer format with
#
separator:
from src.paths import coconut_extract_answer_number
# Extract answer from generated text
answer = coconut_extract_answer_number(result)
print(f"Answer: {answer}")
@misc{you2025paralleltesttimescalinglatent,
title={Parallel Test-Time Scaling for Latent Reasoning Models},
author={Runyang You and Yongqi Li and Meng Liu and Wenjie Wang and Liqiang Nie and Wenjie Li},
year={2025},
eprint={2510.07745},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2510.07745},
}
@misc{hao2025traininglargelanguagemodels,
title={Training Large Language Models to Reason in a Continuous Latent Space},
author={Shibo Hao and Sainbayar Sukhbaatar and DiJia Su and Xian Li and Zhiting Hu and Jason Weston and Yuandong Tian},
year={2025},
eprint={2412.06769},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2412.06769},
}
Runs of ModalityDance latent-tts-coconut on huggingface.co
604
Total runs
74
24-hour runs
114
3-day runs
127
7-day runs
522
30-day runs
More Information About latent-tts-coconut huggingface.co Model
latent-tts-coconut huggingface.co is an AI model on huggingface.co that provides latent-tts-coconut's model effect (), which can be used instantly with this ModalityDance latent-tts-coconut model. huggingface.co supports a free trial of the latent-tts-coconut model, and also provides paid use of the latent-tts-coconut. Support call latent-tts-coconut model through api, including Node.js, Python, http.
latent-tts-coconut huggingface.co is an online trial and call api platform, which integrates latent-tts-coconut's modeling effects, including api services, and provides a free online trial of latent-tts-coconut, you can try latent-tts-coconut online for free by clicking the link below.
ModalityDance latent-tts-coconut online free url in huggingface.co:
latent-tts-coconut is an open source model from GitHub that offers a free installation service, and any user can find latent-tts-coconut on GitHub to install. At the same time, huggingface.co provides the effect of latent-tts-coconut install, users can directly use latent-tts-coconut installed effect in huggingface.co for debugging and trial. It also supports api for free installation.