Downloads · 30 days
43
57% of all-time downloads
ai-forever/ZaryaOrthrus-0.6B
ZaryaOrthrus-0.6B is a machine learning model from ai-forever. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a checkpoint of the Orthrus hybrid-architecture model based on Qwen3-0.6B. It was trained using the code available in the Zarya-Orthrus repository and the data available in the ZaryaOrthrusDataset-1.7B dataset.
Downloads · 30 days
43
57% of all-time downloads
All-time downloads
75
Public
Parameters
772M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.5 GB · 99%
From the Hugging Face model README
This is a checkpoint of the Orthrus hybrid-architecture model based on Qwen3-0.6B. It was trained using the code available in the Zarya-Orthrus repository and the data available in the ZaryaOrthrusDataset-1.7B dataset.
The table below reports the speculative efficiency of the model, measured as the number of tokens generated per autoregressive forward pass.
| Model | Params | code | code-ru | creative-en | gec-en | gec-ru | math | math-ru | poetry-en | poetry-ru | qa | qa-ru | wmt ru-en |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ai-forever/ZaryaOrthrus-0.6B | 0.8B | 3.39<sub>±0.16</sub> | 4.29<sub>±0.14</sub> | 1.95<sub>±0.12</sub> | 4.22<sub>±0.16</sub> | 3.87<sub>±0.20</sub> | 4.62<sub>±0.15</sub> | 3.95<sub>±0.14</sub> | 1.77<sub>±0.07</sub> | 2.56<sub>±0.21</sub> | 1.96<sub>±0.07</sub> | 1.70<sub>±0.24</sub> | 2.00<sub>±0.10</sub> |
| ai-forever/ZaryaOrthrus-1.7B | 2.1B | 3.47<sub>±0.14</sub> | 3.97<sub>±0.13</sub> | 2.02<sub>±0.10</sub> | 4.26<sub>±0.16</sub> | 3.25<sub>±0.17</sub> | 4.96<sub>±0.16</sub> | 4.29<sub>±0.14</sub> | 1.84<sub>±0.04</sub> | 2.29<sub>±0.14</sub> | 2.27<sub>±0.06</sub> | 2.09<sub>±0.20</sub> | 2.45<sub>±0.12</sub> |
| chiennv/Orthrus-Qwen3-1.7B | 2.1B | 3.26<sub>±0.25</sub> | 3.57<sub>±0.23</sub> | 1.95<sub>±0.15</sub> | 4.96<sub>±0.29</sub> | 2.43<sub>±0.15</sub> | 8.13<sub>±0.68</sub> | 4.12<sub>±0.28</sub> | 1.60<sub>±0.04</sub> | 1.96<sub>±0.21</sub> | 2.00<sub>±0.07</sub> | 1.58<sub>±0.14</sub> | 2.08<sub>±0.09</sub> |
The following code demonstrates how to generate a response using the model:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
model_id = "ai-forever/ZaryaOrthrus-0.6B"
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16, device_map="cuda",
attn_implementation="flash_attention_2",
trust_remote_code=True,
).eval()
tokenizer = AutoTokenizer.from_pretrained(model_id)
prompt = "Explain me what is Special Theory of Relativity, who invented it and what is its essence."
messages = [{"role": "system", "content": ""}, {"role": "user", "content": prompt}]
input_ids = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True, enable_thinking=False).input_ids
output_ids = model.generate(
input_ids=input_ids.to(model.device),
max_new_tokens=512,
use_diffusion_mode=True,
streamer=TextStreamer(tokenizer, skip_prompt=True) # enable streaming generation
)