All models

Literature · officialmobai

Rostam-S1-4B

A 4-billion parameter reasoning model for theoretical physics, mathematics, scientific coding, and Persian STEM tasks.

What Rostam-S1-4B is

Rostam-S1-4B is a language model developed by Mob AI in collaboration with the Spark project (XHToken). Built upon the Spark-X2.6-4B base architecture, the model is designed to conduct multi-step technical reasoning across theoretical physics, advanced mathematics, software engineering, and scientific simulation.

The model specifically targets dual-language technical competency in English and Persian (Farsi). It is structured to produce explicit, verifiable symbolic derivations and proofs prior to outputting final answers, whilst supporting agentic tool interaction such as function calling.

How it works

Rostam-S1-4B is initialized from the Spark-X2.6-4B base model. To preserve foundational capabilities during post-training, it applies subspace-isolated parameter adaptation accompanied by persistent replay regularization, mitigating catastrophic forgetting.

For inference and problem-solving, the model uses a dual-channel reasoning system that outputs step-by-step analytical traces within dedicated thinking tags. It also natively integrates agentic capabilities designed for function calling and execution within verifiable computational sandboxes.

Key facts

Base model
XHToken/Spark-X2.6-4B
Parameter count
4 billion
Supported languages
English and Persian (Farsi)
Primary domain
Theoretical physics, mathematics, scientific coding, and agentic workflows
Input and output format
Text

What you can use it for

Theoretical physics derivations
Generating step-by-step symbolic proofs and analytical derivations for theoretical physical problems.
Mathematical problem-solving
Working through competitive and advanced mathematics problems by generating explicit, verifiable deduction steps.
Scientific simulation coding
Writing and debugging code for scientific simulations and broader software engineering tasks.
Bilingual STEM instruction and analysis
Performing technical question answering and formal scientific reasoning in both Persian and English.
Agentic tool execution
Interfacing with external environments via native function calling and sandbox execution routines.

Run it here

We list this model but cannot run it yet: it was saved with a newer transformers release than our general image runs, so it needs an image of its own.

Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.

Strengths and limits

Good at

  • Generates transparent, step-by-step analytical reasoning traces before providing final answers.
  • Features native bilingual capability in formal Persian and English technical vocabularies.
  • Utilizes subspace-isolated adaptation and replay regularization to prevent catastrophic forgetting.
  • Supports native function calling for integration into agentic execution pipelines.

Watch out for

  • Published benchmark figures represent post-training optimization targets rather than finalized, externally audited results.
  • Running the model requires executing custom remote code during loading.

Inputs and outputs

You provide

  • Prompt

    The model continues from here.

You get back

  • The model's completion.

Licence

Check the licence before commercial use · apache-2.0

The apache-2.0 licence carries terms worth reading before you depend on it.

Questions

Can I use Rostam-S1-4B commercially?

Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.

What is the base architecture of Rostam-S1-4B?

Rostam-S1-4B is fine-tuned from the XHToken/Spark-X2.6-4B base model.

How does the model present its reasoning steps?

The model outputs controllable thinking traces inside dedicated tags, laying out analytical proofs and derivations prior to delivering the conclusion.

Which languages does the model support for scientific tasks?

It provides bilingual technical comprehension and generation in both English and Persian (Farsi).

Are the listed benchmark scores audited?

No, the benchmark figures provided by the developers are design optimization targets for the post-training curriculum, with final audited scores dependent on completion of their evaluation pipeline.

Written from Rostam-S1-4B's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.