Downloads · 30 days
0
Arko007/zenyx-deepseek-220m
zenyx-deepseek-220m is a text generation model from Arko007. Use it when you need the model to write or continue text. It is set up for flax. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Dec 12, 2025
Parameters
220M
881 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors881 MB · 100%
From the Hugging Face model README
Zenyx-DeepSeek-220M is a nano-scale language model (220M parameters) engineered to replicate "System 2" reasoning capabilities usually found in models 100x its size. Built from scratch using JAX/Flax on TPU v5e, it has been fine-tuned on a massive distillation of DeepSeek-R1 logic traces.
This model demonstrates that even small parameter counts can learn complex Chain of Thought (CoT) structures when trained on high-density reasoning data.
Zenyx is designed to think before it speaks. Unlike standard chat models that predict the immediate next word, Zenyx is trained to enter a reasoning state using special control tokens.
To get the best results, you should use the ChatML format and encourage the model to generate the <think> block.
Format:
<|im_start|>user
{Question}<|im_end|>
<|im_start|>assistant
<think>
Output Behavior:
import jax
import jax.numpy as jnp
from transformers import AutoTokenizer, FlaxAutoModelForCausalLM
# 1. Load Model & Tokenizer
model_id = "Arko007/zenyx-deepseek-220m"
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct", trust_remote_code=True)
model = FlaxAutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
# 2. Add Special Reasoning Tokens
new_tokens = ["<think>", "</think>", "<answer>", "</answer>"]
tokenizer.add_special_tokens({"additional_special_tokens": new_tokens})
# 3. Format Input
prompt = "If I have 3 apples and eat one, how many oranges do I have?"
formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n<think>\n"
# 4. Generate
inputs = tokenizer(formatted_prompt, return_tensors="np")
output_ids = model.generate(
**inputs,
max_new_tokens=2048,
do_sample=True,
temperature=0.7,
repetition_penalty=1.2
)
print(tokenizer.decode(output_ids.sequences[0], skip_special_tokens=False))
The base model was trained on ~153 Billion Tokens using a sophisticated curriculum to maximize information density:
FineWeb-Edu: English language fundamentals.
StarCoder: Logic, pythonic structure, and indentation.
FineWeb-2: Multilingual capabilities.
Omni-Mix: A weighted convergence of all datasets.
Data Mix:
@misc{Zenyx220M,
title = {Zenyx-DeepSeek-220M: Nano-Scale Reasoning Model},
author = {Arko007},
year = {2025},
publisher = {HuggingFace},
url = {[https://huggingface.co/Arko007/zenyx-deepseek-220m](https://huggingface.co/Arko007/zenyx-deepseek-220m)}
}