artindnr / sarv-hybrid

huggingface.co
Total runs: 19
24-hour runs: 0
7-day runs: 0
30-day runs: -63
Model's Last Updated: August 10 2026
text-generation

Introduction of sarv-hybrid

Model Details of sarv-hybrid

🌲 Sarv-Hybrid

https://img.magnific.com/free-vector/seamless-hilly-forest-landscape-vector-background-illustration-horizontally-repeatable_8130-3130.jpg?semt=ais_test_b&w=740&q=80

The hybrid-reasoning member of the Sarv family, built directly on Strawberry-1 rather than a ChatBerry checkpoint, so that the model's native chain-of-thought channel remains available and controllable rather than suppressed.

Model Description

Sarv-Hybrid is trained to choose whether to reason before writing a poem, rather than always reasoning (like a pure reasoning model) or never reasoning (like sarv-non-reasoning ). During training it saw a mix of examples with a populated analysis channel (reasoning about meter, imagery, qafiyeh/radif, emotional arc) followed by final (the poem), and examples with only a final channel — teaching the model to gauge, per-prompt, whether reasoning materially improves the output.

This makes Sarv-Hybrid a good default for general-purpose Persian poetry generation where you want reasoning on harder/structured requests (e.g. "write a robai following the aa*a rhyme scheme with an internal contradiction") but don't want the latency/verbosity cost of reasoning on simple ones (e.g. "write a short poem about rain").

  • Base model: artindnr/strawberry-1 ( gpt_oss 21B, MXFP4)
  • Fine-tuning method: LoRA, merged into base weights for release
  • Reasoning behavior: hybrid / model-decided — analysis channel may or may not be populated depending on prompt complexity
  • Specialization: Persian poem generation with optional visible reasoning
  • Language: Persian (fa)

Both reasoning and non-reasoning examples were interleaved in the same training run (as opposed to sarv-hybrid-pro , which separates them into two stages — see sarv-hybrid-pro in the collection.).

Training Procedure

Single-stage SFT on Strawberry-1, with the analysis channel present in roughly half of training examples and empty/absent in the other half, so the model's own confidence/complexity signal governs reasoning-channel usage at inference time rather than an explicit system-level toggle. Adapters were merged and exported in BF16 and MXFP4.

Usage
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "artindnr/sarv-hybrid"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")

messages = [
    {"role": "user", "content": "رباعی‌ای بنویس که در آن یک تضاد درونی باشد"}
]

inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)

outputs = model.generate(inputs, max_new_tokens=1024)
full = tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=False)

Since the analysis channel may or may not appear, downstream code should parse Harmony channel markers defensively and only surface final to end users unless reasoning transparency is desired.

Intended Use
  • General-purpose Persian poem generation where reasoning should be applied selectively
  • Applications that want a single model instead of routing between a reasoning and non-reasoning checkpoint
  • Research into learned reasoning-allocation behavior
Limitations
  • The decision to reason is learned, not guaranteed — it may reason on simple prompts or skip reasoning on complex ones
  • For deterministic reasoning-always or reasoning-never behavior, prefer sarv-reasoning or sarv-non-reasoning respectively
  • For the most complete/robust hybrid behavior, see sarv-hybrid-pro , which underwent an additional dedicated reasoning stage
License

Apache 2.0, consistent with the base gpt_oss license chain.

Citation

If you use this model, please cite the Sarv and Strawberry-1 model cards on Hugging Face ( artindnr ).

Runs of artindnr sarv-hybrid on huggingface.co

19
Total runs
0
24-hour runs
1
3-day runs
0
7-day runs
-63
30-day runs

More Information About sarv-hybrid huggingface.co Model

More sarv-hybrid license Visit here:

https://choosealicense.com/licenses/apache-2.0

sarv-hybrid huggingface.co

sarv-hybrid huggingface.co is an AI model on huggingface.co that provides sarv-hybrid's model effect (), which can be used instantly with this artindnr sarv-hybrid model. huggingface.co supports a free trial of the sarv-hybrid model, and also provides paid use of the sarv-hybrid. Support call sarv-hybrid model through api, including Node.js, Python, http.

sarv-hybrid huggingface.co Url

https://huggingface.co/artindnr/sarv-hybrid

artindnr sarv-hybrid online free

sarv-hybrid huggingface.co is an online trial and call api platform, which integrates sarv-hybrid's modeling effects, including api services, and provides a free online trial of sarv-hybrid, you can try sarv-hybrid online for free by clicking the link below.

artindnr sarv-hybrid online free url in huggingface.co:

https://huggingface.co/artindnr/sarv-hybrid

sarv-hybrid install

sarv-hybrid is an open source model from GitHub that offers a free installation service, and any user can find sarv-hybrid on GitHub to install. At the same time, huggingface.co provides the effect of sarv-hybrid install, users can directly use sarv-hybrid installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

sarv-hybrid install url in huggingface.co:

https://huggingface.co/artindnr/sarv-hybrid

Url of sarv-hybrid

sarv-hybrid huggingface.co Url

Provider of sarv-hybrid huggingface.co

artindnr
ORGANIZATIONS

Other API from artindnr

huggingface.co

Total runs: 1.5K
Run Growth: 1.5K
Growth Rate: 100.00%
Updated:August 06 2026
huggingface.co

Total runs: 850
Run Growth: 850
Growth Rate: 100.00%
Updated:August 14 2026
huggingface.co

Total runs: 675
Run Growth: 675
Growth Rate: 100.00%
Updated:August 08 2026
huggingface.co

Total runs: 358
Run Growth: 358
Growth Rate: 100.00%
Updated:August 08 2026
huggingface.co

Total runs: 333
Run Growth: 333
Growth Rate: 100.00%
Updated:August 07 2026
huggingface.co

Total runs: 309
Run Growth: 309
Growth Rate: 100.00%
Updated:August 08 2026
huggingface.co

Total runs: 299
Run Growth: 299
Growth Rate: 100.00%
Updated:August 08 2026
huggingface.co

Total runs: 230
Run Growth: 230
Growth Rate: 100.00%
Updated:September 06 2026
huggingface.co

Total runs: 228
Run Growth: 228
Growth Rate: 100.00%
Updated:September 06 2026
huggingface.co

Total runs: 228
Run Growth: 228
Growth Rate: 100.00%
Updated:September 06 2026
huggingface.co

Total runs: 195
Run Growth: 195
Growth Rate: 100.00%
Updated:August 07 2026
huggingface.co

Total runs: 100
Run Growth: 100
Growth Rate: 100.00%
Updated:August 08 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 10 2026