Downloads · 30 days
11
21% of all-time downloads
zsjTiger/Quasar-Preview
Quasar-Preview is a text generation model from zsjTiger. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
<p align="center" <img src="./quasarbanner.png" alt="Quasar-Preview Foundation Model" width="100%" </p
Downloads · 30 days
11
21% of all-time downloads
All-time downloads
52
Public
Parameters
16.6B
99.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors33.1 GB · 100%
From the Hugging Face model README
Quasar-Preview is the first public model in SILX AI’s Quasar Foundation Model series.
It is an early preview checkpoint built to demonstrate the direction of the Quasar architecture at real scale: sparse MoE routing, hybrid recurrent/attention layers, and an experimental long-context configuration designed for future memory-based systems.
This is not the finished Quasar model.
Quasar-Preview is the first public step in a larger series of Quasar models that will continue scaling through decentralized training, distillation, architecture improvements, and long-context research on Bittensor SN24.
Quasar-Preview should be understood as an architecture preview and foundation checkpoint, not the final endpoint of the Quasar roadmap.
Quasar-Preview is an early model from our broader Quasar model series.
It is released to make the architecture public, allow miners and researchers to work with the model, and begin the next phase of decentralized scaling.
This model is:
Performance is expected to improve through:
| Field | Value |
|---|---|
| Model Name | Quasar-Preview |
| Model Family | Quasar Foundation Models |
| Organization | SILX AI |
| Model Type | quasar_long |
| Architecture | Quasar Long Hybrid Transformer |
| Total Parameters | ~18B class |
| Active Parameters | ~2B class sparse MoE path |
| Training Stage | Early preview checkpoint |
| Context Config | Experimental 5M-token config |
| Long-Context Method | Safe NoPE / DrOPE-style staging |
| Tokenizer | Quasar tokenizer preserved from checkpoint lineage |
| Primary Use | Research, distillation, SN24 decentralized training |
| License | MIT |
Quasar-Preview includes several architecture paths. Some are active in this checkpoint, while others are included for future Quasar versions.
| Component | Status in Quasar-Preview |
|---|---|
| Sparse MoE | Active |
| Quasar hybrid layers | Active |
| GLA branch | Active |
| Raven branch | Active |
| GQA compatibility attention | Active in this checkpoint |
| Safe NoPE / DrOPE-style context config | Active |
| Loop Transformer scaffold | Present |
| Loop execution | Configured as single-loop |
| Looped anchor injection | Disabled |
| Engram memory | Included and loadable, not active by default |
| 5M context | Config exposed, early long-context training only |
The goal of this release is to expose the first working Quasar architecture checkpoint while keeping the model stable for research and SN24 training.
Quasar-Preview uses custom architecture code.
Use trust_remote_code=True when loading the model.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "SILX-AI/Quasar-Preview"
tokenizer = AutoTokenizer.from_pretrained(
model_id,
trust_remote_code=True
)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto"
)
prompt = "Explain the purpose of long-context models in simple terms."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
output = model.generate(
**inputs,
max_new_tokens=256,
do_sample=True,
temperature=0.7,
top_p=0.9
)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Quasar-Preview is an ~18B total parameter MoE checkpoint. Even though the active path is ~2B parameters, the full checkpoint still requires loading the model weights.
Actual memory usage depends on:
The 5M context configuration is experimental. Do not assume ordinary inference hardware can run full 5M-token contexts without specialized infrastructure.
These are early benchmark results from the current Quasar checkpoint lineage.
They should be treated as a moving snapshot, not final model quality.
| Category | Benchmark | Quasar-Preview |
|---|---|---|
| Knowledge | MMLU (5-shot) | 68.40% |
| Knowledge | MMLU-Pro | 33.20% |
| Knowledge | GPQA | 25.60% |
| Commonsense | ARC Challenge | 63.00% |
| Commonsense | ARC Easy | 80.10% |
| Commonsense | PIQA | 81.90% |
| Commonsense | HellaSwag | 74.00% |
| Science | OpenBookQA | 47.00% |
| Math | MATH-500 (4-shot) | 71.40% |
These results are provided as an early internal snapshot for the current Quasar-Preview checkpoint lineage.
They are not presented as final model quality. Public verification, different harness versions, prompt formats, decoding settings, and evaluation implementations may change the reported numbers.
When comparing Quasar-Preview to other models, please report:
Quasar follows a multi-stage training plan.
Quasar-Preview is an early checkpoint from this plan.
The base model is trained on a broad corpus to build general next-token prediction, reasoning, and language ability.
Goals of this stage:
Quasar-Preview has been trained on >1T and <1.5T tokens so far.
After base training, Quasar-Preview is improved through task distillation and targeted capability training.
The goal is to make the checkpoint more useful for:
This release is designed to be a foundation for continued decentralized improvement rather than the final result.
Quasar is designed to move toward ultra-long-context reasoning and memory.
The current checkpoint exposes an experimental 5M-token context configuration using safe NoPE / DrOPE-style staging.
Important: the 5M context path has received less than 1B tokens of long-context extension training so far.
This means the config is present, but mature 5M-token reasoning quality should not be expected yet.
The purpose of this stage is to:
Quasar is a hybrid transformer architecture designed for long-context research, sparse computation, and decentralized training.
It is built around:
Quasar-Preview is the first public checkpoint in this architecture family.
| Component | Value |
|---|---|
| Total parameters | ~18B |
| Active parameters | ~2B |
| Layers | 20 |
| Hidden size | 2048 |
| Intermediate size | 5120 |
| Attention heads | 16 |
| KV heads | 4 |
| Head dim | 128 |
| Vocabulary size | 157,184 |
| Experts | 256 |
| Experts per token | 8 |
| Shared experts | 1 |
| Active hybrid layers | 4-19 |
| Raven slots | 64 |
| Raven top-k | 32 |
| Engram slots config | 2,000,000 |
| Loop count config | 1 |
| Looped injection config | Disabled |
| Max context config | 5,000,000 |
| Safe NoPE cutoff | 512 |
Compatibility note: this checkpoint includes GQA for the current release path. Future Quasar versions may change this component as the architecture evolves.
Quasar includes a Loop Transformer execution path.
The idea is to reuse the decoder stack across multiple passes, increasing effective computation depth without copying every parameter into a deeper model.
The current checkpoint is configured conservatively:
num_loops: 1
use_looped_injection: false
This means Quasar-Preview runs as a single-loop model by default.
The loop machinery is still part of the architecture code and can be enabled in future Quasar configurations.
When looped injection is enabled, Quasar keeps an anchor snapshot of the input embedding stream, usually called P, and injects it back into the hidden state during looped execution.
This gives later loop passes a stable reference to the original token stream.
The intended future looped path is:
Token IDs
|
v
Embedding Layer
|
+--> Anchor P snapshot
|
v
Decoder stack
|
v
Loop pass 1
|
+--> inject gated Anchor P
|
v
Loop pass 2 / future passes
|
v
Final hidden state
The injection gate is initialized near zero so the model can adapt safely instead of suddenly changing behavior.
This gives Quasar a path toward deeper effective reasoning while keeping parameter count controlled.
Token IDs
|
v
Token Embedding
|
+--> Optional Anchor P snapshot
|
v
Early Transformer Blocks
layers 0-3
|
v
Hybrid Quasar Blocks
layers 4-19
|
+--> GQA attention path
|
+--> Quasar recurrent / linear path
|
+--> Raven slot-memory path
|
+--> GLA recurrent path
|
v
Hybrid Add / Branch Merge
|
v
Optional Loop Injection / Next Loop
|
v
RMSNorm
|
v
LM Head
|
v
Next-token logits
The active hybrid layers are:
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
The current layerwise branch cycle is:
quasar -> raven -> quasar -> quasar -> gla
Across the hybrid stack, this gives:
The design keeps Quasar as the dominant branch while giving the model targeted recurrent and slot-memory paths.
GLA is used through the bundled Flash Linear Attention stack.
The goal of the GLA branch is to give Quasar a fast recurrent sequence-mixing path that is cheaper than full dense attention at long lengths.
Current GLA-related config:
hybrid_gla_enabled: true
hybrid_gla_expand_k: 1.0
hybrid_gla_expand_v: 1.0
hybrid_use_short_conv: false
GLA is not used as a standalone model here.
It is a branch inside Quasar's hybrid layers.
Raven is included as a slot-routed recurrent attention branch.
Current Raven config:
hybrid_raven_enabled: true
hybrid_raven_slots: 64
hybrid_raven_topk: 32
hybrid_raven_decay_type: Mamba2
Raven routes hidden states through a fixed number of recurrent memory slots.
In this checkpoint:
Raven gives Quasar a memory-like path where sequence information can be compressed into routed recurrent state instead of relying only on dense attention.
Engram is Quasar's conditional n-gram memory module.
It is included in the repository as engram.py and supports:
[2, 3]Current Engram config:
engram_slots: 2,000,000
engram_dim: 512
engram_ngram_orders: [2, 3]
engram_num_heads: 8
engram_residual_scale: 0.01
engram_lr_multiplier: 5.0
engram_layers: []
engram_layers is currently empty.
This means Engram is included and loadable, but not active by default in Quasar-Preview.
Future Quasar versions can enable Engram on selected layers without changing the base model shape.
Engram is intended as a fast recall path for repeated local patterns, while the main model focuses on reasoning and generalization.
The current checkpoint uses safe NoPE as the default long-context configuration.
Current context config:
use_nope: true
long_context_mode: rope_short_nope_long
nope_after_position: 512
max_position_embeddings: 5,000,000
max_seq_length: 5,000,000
max_sequence_length: 5,000,000
rope_scaling: null
rope_theta: 10000
The behavior is:
Positions 0-511
-> normal RoPE
Positions 512+
-> NoPE identity rotation
cos = 1
sin = 0
This is a safe DrOPE-style staging design for positional extension.
The goals are:
Important: the 5M context path has only received less than 1B tokens of long-context extension training so far.
So high-quality 5M-token reasoning should not be expected yet.
This setting is included to expose and continue training the long-context path safely.
{
"model_type": "quasar_long",
"architectures": ["QuasarLongForCausalLM"],
"hidden_size": 2048,
"intermediate_size": 5120,
"num_hidden_layers": 20,
"num_attention_heads": 16,
"num_key_value_heads": 4,
"head_dim": 128,
"vocab_size": 157184,
"num_experts": 256,
"num_experts_per_tok": 8,
"num_shared_experts": 1,
"num_loops": 1,
"use_looped_injection": false,
"hybrid_attention_layers": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
"hybrid_branch_layout": "layerwise",
"hybrid_layerwise_cycle": ["quasar", "raven", "quasar", "quasar", "gla"],
"hybrid_replacement_mode": "add",
"hybrid_eval_mode": "hybrid_add",
"hybrid_quasar_enabled": true,
"hybrid_raven_enabled": true,
"hybrid_gla_enabled": true,
"hybrid_raven_slots": 64,
"hybrid_raven_topk": 32,
"use_nope": true,
"long_context_mode": "rope_short_nope_long",
"nope_after_position": 512,
"max_position_embeddings": 5000000,
"max_seq_length": 5000000,
"max_sequence_length": 5000000
}
Quasar-Preview is designed as an early foundation checkpoint for the Quasar ecosystem.
It is primarily intended for:
This model is best treated as a research and development checkpoint.
Quasar-Preview is not intended to be used as:
The model may produce incorrect, unsafe, biased, or low-quality outputs.
Use appropriate evaluation, filtering, and safety layers before any deployment.
Quasar-Preview is early.
Known limitations:
Quasar-Preview is designed for the SN24 Quasar subnet on Bittensor.
The goal is to create a shared architecture where miners can continuously improve the model through distributed knowledge distillation, evaluation, and iterative training.
SN24 is intended to support:
Quasar-Preview is the starting checkpoint for this direction.
Quasar-Preview is only the first public model in the Quasar series.
Next Quasar models will continue toward:
Future releases may change architecture components, routing, loop configuration, long-context training strategy, and active memory modules as the Quasar series evolves.
Quasar-Preview is not the final destination.
It is the first public checkpoint in the Quasar model series and the first public proof of the architecture direction at scale.
The model is early, but it is real, usable, and ready for research, distillation, and decentralized improvement.
This is the beginning of Quasar.