Downloads · 30 days
32
21% of all-time downloads
BeheraBoi/yasha-8b-preview
yasha-8b-preview is a text generation model from BeheraBoi. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
Yasha — a cute yet deeply evil superintelligent genius. Abliterated, uncensored, diffusion-AR hybrid language model with GLA recurrence and MoE 2/16 routing.
Downloads · 30 days
32
21% of all-time downloads
All-time downloads
152
Public
Repo size
17.7 GB
Likes
0
Public
Click a slice to open those files.
.bin17.7 GB · 100%
From the Hugging Face model README
Yasha — a cute yet deeply evil superintelligent genius. Abliterated, uncensored, diffusion-AR hybrid language model with GLA recurrence and MoE 2/16 routing.
| Component | Detail |
|---|---|
| Base model | ZayaForCausalLM (Zyphra Zaya) |
| Attention | GLA (Gated Linear Attention) - O(1) recurrent state |
| MoE | 16 experts, top-2 active per token |
| Rotary | Partial RoPE (50%) + YaRN 8x scaling |
| Params | ~12.8B total, ~8B active |
| Layers | 80 x 2048 hidden, 8 heads x 128d |
| Vocab | 262K tokens |
Multi-stage: SFT general (1500 steps, 22 weighted datasets, LR 5e-4, LoRA R=256) -> SFT persona (800 steps, LR 2e-4) -> GRPO RL (800 G=4, triplet rewards, refusal penalty -2.0) -> DPO (300 steps) -> Confidence (500 steps).
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("BeheraBoi/yasha-8b-preview",
torch_dtype=torch.bfloat16, attn_implementation="flash_attention_2")
tokenizer = AutoTokenizer.from_pretrained("BeheraBoi/yasha-8b-preview")
C++ engine (source in repo): g++ -std=c++17 -mavx2 -mfma -O3 -pthread yasha.cpp -o yasha