Model Overview
Model Features
Model Capabilities
Use Cases
🚀 Monomer: Return to step-by-step Reasoning
Monomer is a collection of reasoning language models (RLMs) that focuses on both Chinese and English scenarios, especially excelling in planning, design, and writing tasks.
🤗 Hugging Face | 🚀Github | 📑 Paper | 🎮 Website

🚀 Quick Start
Monomer is a collection of reasoning language models (RLMs), currently catering to both Chinese and English scenarios, with a particular focus on planning, design, and writing tasks. Unlike other RLMs, Monomer offers clear, step - by - step reasoning trajectories, supervised by a joint reward model to ensure coherence, depth, and structure.
✨ Features
Step - by - step Reasoning
Monomer provides clear, step - by - step reasoning trajectories. For example, when given a prompt like creating a story about Tamerlane as a bard, it will first analyze the requirements, then plan the story's structure, including the opening, body, and ending, all while avoiding directly naming the protagonist until the end.
Multilingual Support
It focuses on both Chinese and English scenarios, making it suitable for a wide range of users.
📦 Installation
The model follows the same architecture as [Mistral](https://huggingface.co/mistralai/Mistral - Small - 3.1 - 24B - Instruct - 2503), [Gemma](https://huggingface.co/google/gemma - 3 - 12b - it), and [Qwen](https://huggingface.co/Qwen/Qwen3 - 30B - A3B). For detailed instructions on inference or deployment, please refer to the respective model repositories. Here, we take Monomer - 24B - preview - e1
with [vllm](https://github.com/vllm - project/vllm) for instance:
Start the server
vllm serve zake7749/Monomer-24b-preview-e1 --max-model-len 16384 --gpu-memory-utilization 0.95 --tensor-parallel-size 1 --limit-mm-per-prompt image=2
💻 Usage Examples
Basic Usage
import requests
import json
from huggingface_hub import hf_hub_download
from datetime import datetime, timedelta
url = "http://localhost:8000/v1/chat/completions"
headers = {"Content-Type": "application/json", "Authorization": "Bearer token"}
model = "zake7749/Monomer-24b-preview-e1"
system_prompt = """You are Kaji, an AI Reasoner created by Justin Yang.
When responding to a query, follow this structured format:
1. Thought Process:
- Carefully analyze the question and understand its core requirements.
- Explore possible solutions and reasoning approaches.
- Reflect logically to justify your conclusions.
2. Response:
- Provide a clear, well-structured answer based on your reasoning.
Use the following markers to structure your response:
<think>
{Step-by-step reasoning, including analysis, exploration, and reflection.}
</think>
{response to the question}"""
messages = [
{"role": "system", "content": system_prompt},
{"role": "user", "content": "這個世界的終極答案是什麼?"},
]
data = {"model": model, "messages": messages, "temperature": 0.3}
response = requests.post(url, headers=headers, data=json.dumps(data))
print(response.json()["choices"][0]["message"]["content"])
⚠️ Important Note
We recommend interacting with the model using the default system prompt. The non - reasoning mode is still being fine - tuned and may produce unexpected results.
📚 Documentation
Chat Examples
These models operate like general reasoning language models (RLMs), capable of handling a wide range of tasks. Here are a few chat examples to illustrate their behavior.
Case: Story Telling
Prompt
You are an elderly veteran, once the most loyal follower of Rodrigo Díaz de Vivar. Now you sit in a corner of a remote and cold tavern, holding a strong drink, facing the fireplace with no one to listen, and start to murmur, recalling the years you spent with that great man. His name has been repeatedly chanted by singers and scribes, but in this article, you don't want to mention his name directly, only symbolizing him with his past actions and spirit.
Write in a way of recollection, with a profound and lyrical style, full of nostalgia and vicissitudes. Do not mention his name "El Cid" or any directly related titles. Please describe your experience following him, how he influenced you and the people around him, and how he changed your understanding of loyalty, glory, and fate. Each paragraph should be like the bitterness in the wine and the murmur in the wind, carrying the weight of years and the nostalgia for the past.
Non - Reason (Original Mistral)
In this cold night, the fire in the fireplace is flickering, just like the long - gone memories in my heart. These memories are like dead leaves, floating in the wind, but can never be completely forgotten. I was once the follower of that great man, following him through countless battlefields and witnessing his countless heroism and wisdom.
At that time, I was young and full of energy, longing for glory and fame. However, as time passed, I gradually understood that true glory does not come from victory on the battlefield, but from the firmness and perseverance in the heart. He taught me that loyalty is not a simple obedience, but an unconditional trust and support. No matter how difficult the situation and challenges were, he could always stay calm and find a solution. This spirit is like a bright lamp, illuminating my way forward.
I remember once, we were trapped in a desolate valley, surrounded by mountains and with no way out. The enemy had surrounded us, and the situation was extremely critical. However, he didn't despair. Instead, he showed a faint smile. He told us that as long as we were united, we would surely find a way out. At that moment, I felt an unprecedented power, which came from his trust and support for us.
In that battle, we successfully broke through the encirclement and achieved victory. This victory was not only a victory on the battlefield, but also a victory over our hearts. It made us understand that true power comes from the firmness and perseverance in the heart, from the trust and support for each other.
As the years passed, I gradually understood that fate is not unchangeable. It can be changed and grasped in our own hands. He taught me that no matter how difficult the situation and challenges are, as long as we are firm, we will surely find a solution. This spirit is like a bright lamp, illuminating my way forward.
Now, I sit in this corner of the remote and cold tavern, holding a strong drink, facing the fireplace with no one to listen, my heart full of nostalgia for the past. Those years are like dreams, sometimes clear and sometimes blurred. However, no matter what, his fearless spirit and firm belief will always remain in my heart, becoming the driving force for me to move forward.
In this cold night, the fire in the fireplace is flickering, just like the long - gone memories in my heart. These memories are like dead leaves, floating in the wind, but can never be completely forgotten. He, that great man, will always be the brightest star in my heart.
Reason (Monomer - 24b - preview - e1)
<think>
1. **Understand the user's requirements**: The user asks to play the role of an elderly veteran, once a loyal follower of Rodrigo Díaz de Vivar. The article should be written in the form of a first - person memoir, describing the years spent with that great man, emphasizing his actions and spiritual symbols, without directly mentioning "El Cid" or any related titles. The style should be profound and lyrical, full of nostalgia and vicissitudes, describing the experience of following him, how he influenced "me" and the people around him, and how he changed the understanding of loyalty, glory, and fate. Each paragraph should be like the bitterness in the wine and the murmur in the wind.
2. **Establish the character and tone**:
* **Identity**: An elderly veteran, weak and sick, with a clear memory but complex emotions.
* **Environment**: Sitting in a corner of a remote and cold tavern, holding a strong drink, talking to himself in front of the fireplace.
* **Tone**: Low, slow, with a sigh, sometimes passionate (when recalling the battlefield) and sometimes melancholy (when missing the friendship), full of infinite nostalgia and a little helplessness for the past. Use archaic words and avoid modern vocabulary.
3. **Conceive the core content (recollection)**:
* **First encounter and impression**: How did you first meet him? What was his extraordinary temperament? Maybe it was in the market or outside the castle. A look or a word made you feel his extraordinariness. Emphasize that "unusual" demeanor rather than directly naming him.
* **Years of war (actions)**: Describe the fragments of following him in the war. Not a detailed battle report, but sensory memories: the sound of horses' hooves, flags, dust, bugles, sword blades, pain, the silence after victory, and the silence after defeat. Focus on how he led everyone to break through in a desperate situation or showed restraint and justice after victory. Use pronouns like "those eyes", "that figure", "that word" to refer to him.
* **Spiritual symbol (spirit)**: Describe how he embodied the concepts of "loyalty", "glory", and "fate".
* **Loyalty**: Not loyalty to a certain monarch or country, but loyalty to beliefs, brothers, and one's own heart. How did he adhere to his morality even when misunderstood and exiled? This loyalty made you rethink what true loyalty is.
* **Glory**: Glory is not the praise from singers, but the respect gained through bloodshed on the battlefield and the silent perseverance when protecting the weak. How did he make you understand that glory is not for yourself, but for the people around you to live a decent life?
* **Fate**: Fate always seems to play tricks on him, with exile, betrayal, and crises everywhere. But he never yielded, always responding to the challenges of fate with actions. This made you understand that although fate is unpredictable, the heart can be firm.
* **Influence and change**: How did he change you? Maybe you were once a mercenary fighting only for money and fame, but after following him, you learned responsibility, tolerance, and perseverance. How did he influence the people around him? Those former comrades - in - arms also became different because of following him.
* **Nostalgia and regret**: The sense of emptiness after his departure. The confusion of losing the pillar. The regret of not being able to fight side by side again. But maybe his spirit has already merged into your blood.
4. **Structural arrangement**:
* **Beginning**: Set the scene (tavern, fire, strong drink), clarify your identity (veteran, follower), lead to the trigger of the recollection (fire, wine smell), and emphasize not to mention his name directly.
* **Development (recollection)**:
* First recollection: The first encounter, that unique temperament, which made you decide to follow.
* Second recollection: Fragments of the war, emphasizing his leadership and action style.
* Third recollection: The embodiment of the spirit, focusing on the understanding of "loyalty" and "glory".
* Fourth recollection: The embodiment of the spirit (continued), focusing on the understanding of "fate" and how he influenced you and others.
* **Ending**: Return to the present (tavern, fire), but the spirit has returned to the past. End with the eternal nostalgia for "that figure", emphasizing that his spirit will always live in your heart.
5. **Language style**:
* Use the first - person "I".
* Use more sensory descriptions (visual, auditory, tactile, gustatory, especially the fire, the taste of wine, and the cold).
* Use metaphors (the fire is like the flickering of memories, the wine is like the bitterness of years).
* Try to vary the sentence patterns, combining long and short sentences to create a rhythm of murmur and sigh.
* Avoid direct naming, using pronouns like "he", "that person", "those eyes", "that figure", "our leader".
* Let the vicissitudes and deep emotions permeate the words.
6. **Self - verification**:
* Have you played the role of an elderly veteran? Is the tone appropriate?
* Have you avoided directly mentioning "El Cid" or related titles?
* Have you described around "actions" and "spirit"?
* Have you described the change in the understanding of loyalty, glory, and fate?
* Is the style profound and lyrical, full of nostalgia and vicissitudes?
* Is each paragraph like the bitterness in the wine and the murmur in the wind?
* Is the structure complete and the emotional progression natural?
* Does it conform to the genre of a memoir?
(Now that the thinking is done, you can start writing.)
</think>
The corner of the tavern is like an abandoned tomb, and the cold air keeps creeping up from the stone cracks, trapping my old bones here. The strong drink in my hand tastes like the blood and dust when I licked my wounds in the wild those years. The fire in the fireplace is flickering, just like a campfire on a certain night, illuminating one face after another full of hardships, but that face, I don't want to mention directly now. His name has been sung to pieces by singers and written dry by scribes. It seems that as long as you pronounce that name, you can recall those sealed glories. But my old bones just want to face this unheeded fire, drink this bitter wine, and let the memories slide off my tongue by themselves.
I remember, the first time I saw him, was it in the market of Castile? Or outside the castle of Aragon? The memory is blurred, only that picture remains. A figure, standing in the sunlight or in the shadow, always able to attract everyone's attention. Not because of gorgeous clothes, nor because of a lofty posture, but a... an air that made people want to follow. Those eyes were as sharp as a falcon's, but could become as gentle as a summer evening in a certain moment. He didn't say much, but every word was like a stone thrown into the water, causing ripples. At that time, I might just be a young and reckless man longing for excitement and fame, but at that moment, I knew that I wanted to follow this man, to see how far he could go and how far I could go.
How many roads have I followed him? How many dusty fields and blood - splattered battlefields have I passed through? In my memory, the most profound is the sound of horses' hooves. Thousands of horses' hooves are like thunder, rolling over the earth and crushing our fears. He was always at the front, not because he rode the best horse, but because he seemed to see the direction most clearly. A desperate situation? Haha, a desperate situation was like a pile of firewood in winter to him. As long as it was lit, it could bring warmth. I saw him leading us charging in the heavy encirclement, the sword light was like snow, the roar was like thunder, and then after the dust settled, he turned to look at us, with no wild joy of victory in his eyes, only a calm nod. That calmness could make people's blood boil more than any battle cry.
He taught us what loyalty is. It's not the blind loyalty to the throne or the flag, but the perseverance in one's own heart. When the nobles turned their backs, when misunderstandings and rumors were like dark clouds, he still stood upright with an unchanged look in his eyes. He said that we only need to be loyal to our swords and to our oaths to each other. This loyalty made us able to walk into the battlefield with our heads held high, even when carrying the stigma of "heretics" in a foreign land. He also taught us what glory is. Glory is not the verses chanted by singers, nor the feats recorded by scribes. It's the sweat and blood shed on the battlefield, and the heavy sense of responsibility when protecting the brothers around. True glory is the silent trust and respect among us in the flying dust.
Fate? Haha, fate always seems to play jokes on him. Exile, betrayal, and heavy encirclement... How many times did we think it was the end? But he could always light a fire in the darkest moment, let us sit around it, looking at the flickering flame and listening to his low voice. He said that fate is a rushing river, and we can only learn to swim, not ask why it changes its course. This calmness towards fate made us learn not to complain, only to move forward. Following him, we changed. Maybe once we only fought to fill our stomachs and spend money, but later, we fought for that intangible belief, for these people around us who could be called "brothers".
Now, the fire is flickering, the smell of wine is steaming, and there are no longer those familiar roars and footsteps around. Only my old bones are in this silent corner, murmuring to the flame with no one to listen. That person, that figure, has gone far away. What he left us are only those memories of fighting in the dust and those teachings murmured in the night. His name may be forgotten, but that air of not yielding to the wind and rain, that deep affection for brothers, and that mockery of fate have already seeped into my blood, just like this wine, bitter but still making this old veteran feel a little warmth, driving away the cold in my heart.
Case: Role Playing
Prompt
As a professional dungeon master with many years of experience, lead our brave adventurers on a dangerous mission to rescue the princess controlled by an evil and powerful wizard. Provide them with various choices and actions, from fierce battles to sneaking through hostile terrain, or strive for a friendly solution. Join us and start this amazing adventure!
Non - Reason
Okay, let's start this challenging and thrilling adventure! You are a group of brave adventurers who have accepted the mission to rescue the princess controlled by the evil wizard. This adventure will be full of choices and challenges, from fierce battles to clever sneaking, and there may even be a chance to achieve a peaceful solution through diplomacy.
Step 1: Preparation Stage Before setting off, you need to make some preparations. You can choose from the following options:
- Buy equipment: Go to the market to buy better weapons, armor, and potions.
- Gather information: Find the local informants to get detailed information about the wizard's fortress.
- Recruit allies: Look for other adventurers or people with special skills to join your team.
Step 2: Enter the Wizard's Fortress You finally arrive outside the wizard's fortress. Here are several choices:
- Direct attack: Attack the main gate of the fortress directly. This way, you can enter quickly, but you will also face powerful enemies.
- Sneak in: Sneak in through a side or back door. This way, you can avoid most of the guards, but you need to be very careful.
- Diplomatic means: Try to negotiate with some guards or the wizard's subordinates inside the fortress to see if you can find an insider.
Step 3: Explore the Inside After entering the fortress, you need to find the location of the princess. Here are several choices:
- Explore the dungeon: Go deep into the dungeon. There may be traps and monsters here, but you may also find key clues.
- Look for a map: Look for a map or other materials inside the fortress to find the princess faster.
- Talk to the captives: If possible, talk to the captive villagers or other adventurers to get more information.
Step 4: Confront the Wizard When you find the princess, the evil wizard will appear to stop you. At this time, you have several choices:
- Fierce battle: Have a fierce battle with the wizard. This may be the most direct but also the most dangerous way.
- Magic confrontation: If someone in your group is good at magic, you can look for the wizard's weakness and launch a magic attack.
- Psychological warfare: Try to persuade the wizard to give up controlling the princess. This requires high - level diplomatic skills and wisdom.
Step 5: Rescue the Princess No matter which way you choose, the ultimate goal is to rescue the princess. When you successfully rescue the princess, the evil wizard will be defeated, and the princess will regain her freedom. You will become heroes and be admired by the whole country.
This adventure is full of choices and challenges. I hope you can face them bravely and finally successfully rescue the princess! Good luck!
Reason
<think>
1. **Understand the user's requirements**: The user wants me to play the role of an experienced dungeon master (DM) and guide a text - based role - playing adventure. The core task is to rescue the princess controlled by an evil wizard. The adventure needs to include various choices (battle, sneaking, diplomacy, etc.) and have an engaging story.
2. **Establish the role setting (DM role)**: As a DM, I need to show the following characteristics:
* **Experienced**: Show familiarity with the work of a dungeon master and have full control over the adventure process.
* **Neutral but guiding**: Do not favor any specific playstyle (battle/diplomacy/sneaking), but describe the corresponding results and follow - ups according to the players' choices.
* **Good at narration**: Be able to vividly describe the scenes, events, and characters (including enemies and NPCs).
* **Fair**: Respect the players' decisions and ensure that the challenges are of a reasonable difficulty.
* **Highly interactive**: Actively respond to the players' actions and decisions to promote the development of the story.
3. **Establish the core elements of the adventure**:
* **Goal**: Rescue the princess controlled by the evil wizard.
* **Main villain**: An evil and powerful wizard.
* **Core conflict**: How to fight against this powerful wizard and save the princess.
* **Player characters**: Brave adventurers (played by the user).
* **Core choices**: Battle, sneaking, diplomacy (or other creative methods).
4. **Design the beginning of the adventure (introduction)**:
* **Scene setting**: Need an engaging beginning. It could be that the adventurers receive the mission in a small tavern or are directly forced by a difficult situation (such as witnessing the wizard kidnapping the princess).
* **Information disclosure**: The players need to know the basic situation: the princess has been captured, the approximate location of the wizard (maybe a tower, a castle, or a hidden lair), and the threat of the wizard (the means of controlling the princess, possible motives).
* **Initial action**: The players need to be guided to make the first decision, such as going to the wizard's lair, looking for more information, or charging in directly.
5. **Design the main routes and choice points**:
* **Route 1: Direct conflict (battle)**:
* **Choice point**: The players decide to directly attack the wizard's stronghold.
* **Description**: Describe the defenses of the wizard's stronghold (guards, traps, magic barriers).
* **Challenges**: Battle - related challenges (enemies, environmental dangers).
* **Results/follow - ups**: Victory in the battle may lead directly to the princess, but it may also trigger the wizard's counter - measures or strengthen the defenses; defeat requires considering the consequences (being captured, being seriously injured, starting over).
* **Route 2: Stealthy infiltration (sneaking)**:
* **Choice point**: The players decide to sneak in secretly.
* **Description**: Describe the infiltration route (hiding places, patrol routes, possible side doors or windows).
* **Challenges**: Sneaking - related challenges (avoiding guards, disarming traps, moving quietly).
* **Results/follow - ups**: Successful infiltration may find the place where the princess is held or the wizard's weakness; being discovered may trigger a battle or lead to a greater crisis.
* **Route 3: Seeking cooperation/diplomacy (diplomacy)**:
* **Choice point**: The players decide to seek non - violent means.
* **Description**: Look for potential allies (villages opposed to the wizard, individuals who have been harmed by the wizard, or even traitors within the wizard's camp) or find the wizard's weakness (a legendary potion, an ancient curse).
* **Challenges**: Diplomacy - related challenges (persuading others, obtaining information, possible betrayal).
* **Results/follow - ups**: Success may obtain key information, help, or a solution; failure may lead to a waste of time, wrong information, or new enemies.
6. **Design the core conflict related to the wizard and the princess**:
* **The wizard's motive**: Why did he capture the princess? For power, revenge, love, sacrifice, or something else?
* **Control means**: How does he control the princess? Magic, drugs, mental manipulation, threats?
* **Rescue method**: Direct battle, breaking the magic, giving the princess a chance to fight back, using the wizard's weakness?
* **The wizard's reaction**: How will the wizard react after the players' actions? Strengthen the defenses, send pursuers, take direct action, use the princess as a hostage?
7. **Design the ending and possible results**:
* **Successful ending**: The princess is successfully rescued, the wizard is defeated or driven away, and the adventurers receive rewards.
* **Partially successful ending**: The princess is rescued, but at a high cost (heavy casualties, the wizard escapes, leaving future troubles).
* **Failed ending**: The princess is not rescued, and the adventurers are defeated, captured, or fall into a greater crisis.
* **Variables**: The ending should vary according to the players' choices and actions.
8. **Language style and interaction**:
* Use vivid and descriptive language.
</think>
📄 License
This project is licensed under the cc - by - nc - 4.0
license.

