roskosmos19 / Rhea-4B-fast-0409

huggingface.co
Total runs: 312
24-hour runs: 0
7-day runs: 11
30-day runs: 11
Model's Last Updated: September 06 2026
text-generation

Introduction of Rhea-4B-fast-0409

Model Details of Rhea-4B-fast-0409

Rhea-4B-Agentic

Rhea

Faster • Cheaper • Stronger for agentic & coding tasks

Optimized successor of the original Rhea-4B-Coding / Athenea line.

What changed for better price/performance
Aspect Original multi-pass Rhea Rhea-4B-Agentic (this)
Reasoning style Forced 3-pass (implement→review→final) Single-pass + optional <think>
Context 262k 32 768 (covers real agent workloads)
Forced long outputs min_new_tokens=1024 Removed – answers as long as needed
Special tokens Broken prefixes + many vision Clean + lean (tools + thinking only)
Generation defaults High temp / long forced Tuned 0.4 / 0.9 for quality + speed
Agentic readiness Good Improved tool-calling template
Inference cost (VRAM/time) Higher (long forced reasoning) Significantly lower

→ Same 4B base intelligence, noticeably faster and cheaper to run, better real-world agentic behavior because it is no longer forced into three full generations.

Why this is better for agentic tasks
  • Standard <think>...</think> for chain-of-thought (optional, model decides when useful)
  • Clean, reliable tool-calling format
  • No artificial multi-pass overhead that multiplies latency and cost
  • Strong coding + reasoning focus retained
  • System prompt encourages precise, secure, efficient solutions
Technical specs
  • Architecture: Qwen3ForCausalLM (4B)
  • Context: 32 768 tokens
  • Special tokens: <|im_start|> , <|im_end|> , <think> , </think> , tool tags
  • Recommended quant: Q4_K_M / AWQ for best speed/quality
Recommended settings
{
  "temperature": 0.4,
  "top_p": 0.9,
  "top_k": 30,
  "repetition_penalty": 1.05,
  "max_new_tokens": 8192
}
Quickstart
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "./Rhea-4B-Agentic"

tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

messages = [
    {"role": "user", "content": "Write a secure Python function that validates JWT tokens and handles expiration gracefully."}
]

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)

outputs = model.generate(**inputs, max_new_tokens=2048)
print(tokenizer.decode(outputs[0][len(inputs.input_ids[0]):], skip_special_tokens=False))
Deployment tips (max cheapness)
  • vLLM / SGLang: --max-model-len 32768
  • llama.cpp: Q4_K_M or Q5_K_M
  • Keep context ≤ 16k–24k in production for optimal speed/VRAM
Credits
  • Base: Qwen3-4B + Athenea / Rhea coding lineage
  • Optimized for agentic use, single-pass thinking, lower cost

Apache 2.0

Runs of roskosmos19 Rhea-4B-fast-0409 on huggingface.co

312
Total runs
0
24-hour runs
1
3-day runs
11
7-day runs
11
30-day runs

More Information About Rhea-4B-fast-0409 huggingface.co Model

More Rhea-4B-fast-0409 license Visit here:

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

Rhea-4B-fast-0409 huggingface.co

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

Rhea-4B-fast-0409 huggingface.co Url

https://huggingface.co/roskosmos19/Rhea-4B-fast-0409

roskosmos19 Rhea-4B-fast-0409 online free

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

roskosmos19 Rhea-4B-fast-0409 online free url in huggingface.co:

https://huggingface.co/roskosmos19/Rhea-4B-fast-0409

Rhea-4B-fast-0409 install

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

Rhea-4B-fast-0409 install url in huggingface.co:

https://huggingface.co/roskosmos19/Rhea-4B-fast-0409

Url of Rhea-4B-fast-0409

Rhea-4B-fast-0409 huggingface.co Url

Provider of Rhea-4B-fast-0409 huggingface.co

roskosmos19
ORGANIZATIONS

Other API from roskosmos19

huggingface.co

Total runs: 38
Run Growth: 38
Growth Rate: 100.00%
Updated:September 24 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 18 2026