Downloads · 30 days
35
19% of all-time downloads
agurung/coconut-qwen2.5-7b
coconut-qwen2.5-7b is a machine learning model from agurung. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model was trained using the Coconut method for continuous latent space reasoning.
Downloads · 30 days
35
19% of all-time downloads
All-time downloads
189
Public
Parameters
7.6B
30.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
This model was trained using the Coconut method for continuous latent space reasoning.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("agurung/coconut-qwen2.5-7b")
tokenizer = AutoTokenizer.from_pretrained("agurung/coconut-qwen2.5-7b")
# Use like any other Qwen model
inputs = tokenizer("Your question here", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Extracted from checkpoint: checkpoint_2