Skip to page content
SAVRN
Search Plan a project

Open-weight model · Image and text to text

Valen-0.8B-ONNX

by Valen Valen-Team/Valen-0.8B-ONNX

Valen-0.8B-ONNX is an open-weight model for image and text to text from Valen, released under Apache License 2.0. It has 262,144-token context. Its published files total 3.5 GB.

This is the ONNX version of Valen-Team/Valen-0.8B. Qwen3.5 with a two-layer MLP-Mixer decision head. Supports text, images and videos, and returns Choice, Noul and Score decisions. Multiple questions can share one state encoding with execution="sharedstate".

Parameters—
Context262,144
Weights20.0 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Valen, published under apache-2.0, revision 027ea96be21b.

This is the ONNX version of Valen-Team/Valen-0.8B. Qwen3.5 with a two-layer MLP-Mixer decision head. Supports text, images and videos, and returns Choice, Noul and Score decisions. Multiple questions can share one state encoding with execution="sharedstate". Trained on millions of samples. Install Python 3.10+, PyTorch, Transformers 5.4.0, torchvision, Pillow and av. Flash Attention 2 is optional with a compatible CUDA build. The model contains its tokenizer, processor and custom inference code; a separate base-model download is unnecessary. Use attnimplementation="flashattention2" for Flash Attention, or execution="question" for independent questions. Video defaults to 16 frames.…

Read Valen's full model card

Valen-0.8B

This is the ONNX version of Valen-Team/Valen-0.8B.

Qwen3.5 with a two-layer MLP-Mixer decision head. Supports text, images and videos, and returns Choice, Noul and Score decisions. Multiple questions can share one state encoding with execution="shared_state". Trained on millions of samples.

Inference

Install Python 3.10+, PyTorch, Transformers 5.4.0, torchvision, Pillow and av. Flash Attention 2 is optional with a compatible CUDA build. The model contains its tokenizer, processor and custom inference code; a separate base-model download is unnecessary.

import torch
from transformers import AutoModel

model = AutoModel.from_pretrained(
    "Valen-Team/Valen-0.8B", trust_remote_code=True,
    dtype="auto", attn_implementation="sdpa",
).to("cuda").eval()
torch.set_float32_matmul_precision("highest")
torch.backends.cudnn.allow_tf32 = False
print(model.predict({
    "state": "A cat is on the sofa.",
    "questions": {
        "animal": {"type": "choice", "instructions": "Which animal is present?",
                   "criteria": {"cat": "A cat", "dog": "A dog"}},
        "on_sofa": {"type": "noul", "instructions": "The cat is on the sofa."},
    },
}, execution="shared_state"))

Use attn_implementation="flash_attention_2" for Flash Attention, or execution="question" for independent questions. Video defaults to 16 frames. Image/video request examples and training instructions are in the Valen repository.

dtype="auto" preserves the trained FP32 parameters. The backbone runs under BF16 autocast and the Mixer stays FP32, matching native checkpoint evaluation. Loading all weights as BF16 rounds the trained parameters and can change outputs.

Evaluation

Final native checkpoint, shared-state inference, the same fixed evaluation sets used for the earlier release:

Benchmark Accuracy (%)
VisualDecisionBench Image 75.94
VisualDecisionBench Video 79.03
JevBench 77.92

Configuration

Architecture
ValenQwenForDecisionMaking
Context length (tokens)
262,144
Layers
24
Hidden size
1,024
Feed-forward size
3,584
Attention heads
8
Key/value heads
2
Head dimension
256
Vocabulary size
248,320
Model type
valen_qwen

Identity and Version

Repository
Valen-Team/Valen-0.8B-ONNX
Publisher
Valen
Task
Image and text to text
Modality
Image and text
Library
transformers
Parameters
Not stated by the source
Languages
en, zh
Revision
027ea96be21bc75e98352f191b12a91c8f68eab7
First published
2026-10-13
Last updated
2026-10-13

Files and Weights

41 files, 3.5 GB in total. The weights are 3 files totalling 20.0 MB in onnx.

Weights3 files · 20.0 MB
Configuration25 files · 318.7 KB
Tokenizer2 files · 20.0 MB
Documentation4 files · 18.8 KB
Other6 files · 3.4 GB
Repository1 file · 1.7 KB
Every file
FileTypeSizeSHA-256
onnx/head.onnxWeights18.3 KB 878d5c1f3d72
onnx/text.onnxWeights19.8 MB 59c3b8ef9599
onnx/vision.onnxWeights165.0 KB d839247b71b8
batching.pyConfiguration3.0 KB —
compiler.pyConfiguration13.6 KB —
config.jsonConfiguration3.3 KB —
configuration_valen.pyConfiguration1.0 KB —
conversion_manifest.jsonConfiguration117.6 KB —
data_types.pyConfiguration258 B —
heads.pyConfiguration6.6 KB —
modeling_valen.pyConfiguration4.6 KB —
onnx/tensor_manifest.jsonConfiguration101.4 KB —
processor_config.jsonConfiguration1.2 KB —
responses.pyConfiguration1.5 KB —
runtime_model.pyConfiguration5.6 KB —
schema.pyConfiguration3.4 KB —
valen_formats.pyConfiguration11.1 KB —
valen_native/__init__.pyConfiguration —
valen_native/batching.pyConfiguration3.0 KB —
valen_native/compiler.pyConfiguration13.6 KB —
valen_native/configuration_valen.pyConfiguration1.0 KB —
valen_native/data_types.pyConfiguration258 B —
valen_native/heads.pyConfiguration6.6 KB —
valen_native/modeling_valen.pyConfiguration4.6 KB —
valen_native/responses.pyConfiguration1.5 KB —
valen_native/runtime_model.pyConfiguration5.6 KB —
valen_native/schema.pyConfiguration3.4 KB —
validation.jsonConfiguration5.0 KB —
FORMAT_USAGE.mdDocumentation1.3 KB —
LICENSEDocumentation11.5 KB —
MODEL_USAGE.mdDocumentation3.6 KB —
README.mdDocumentation2.3 KB —
chat_template.jinjaOther7.8 KB —
onnx/head-weights-000.dataOther5.3 MB fc6c74ca582b
onnx/text-weights-000.dataOther1.8 GB a2e7e2a71517
onnx/text-weights-001.dataOther1.2 GB cde1ef902a40
onnx/vision-weights-000.dataOther402.4 MB 5cee596a03c0
requirements-format.txtOther95 B —
.gitattributesRepository1.7 KB —
tokenizer.jsonTokenizer20.0 MB 87a7830d63fc
tokenizer_config.jsonTokenizer1.1 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
20.0 MB
Download from Valen

Released by Valen through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published20.0 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Valen-0.8B-ONNX

Can I use Valen-0.8B-ONNX commercially?

Yes. Valen-0.8B-ONNX is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Valen-0.8B-ONNX's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Non-uniform GGUF quantizations of a 512-expert MoE, produced with GSQ and RCO, with a vision projector for multimodal use. This repository provides GGUF quantizations of Qwen3.8-Flash-Next at four sizes, together with the model's vision projector (mmproj) for multimodal use. In contrast to uniform quantization, which applies a single quantization type to all weight tensors, each model here assigns a separate quantization type to every tensor. The assignment is obtained by a gradient-based search that allocates precision according to per-tensor sensitivity, subject to a total size budget. The resulting files are standard GGUF and run unmodified in llama.cpp, Ollama, and LM Studio. A…

Open weights apache-2.0 gguf

Model · Image and text to text

Qwen3.8-27B-iMatrix-NVFP4-MTP-GGUF

Michał Piszczek

I built this quant because the ready-made FP4 file answered the wrong question. It was fast, but on my short WikiText-2 control it scored 6.4949 PPL. Plain Q40 scored 6.3798. The first higher-quality hybrid went too far the other way: good perplexity, 34.19 tok/s, and no comfortable room for 256K plus vision. This is the build that survived both gates. It is a 17.1 GB, 5.01 BPW mixed-precision GGUF of Qwen/Qwen3.8-27B. It keeps large, tolerant matrices in native NVFP4 and spends more bits on selected attention, Gated DeltaNet, and late FFN tensors. The trained MTP layer remains embedded in the same GGUF. This is not a fine-tune. I built the private calibration workload from 5,472 messages…

Open weights apache-2.0

Model · Image and text to text

Huihui-Qwen3.8-27B-abliterated-GGUF

Huihui.ai

This is an uncensored version of Qwen/Qwen3.8-27B created with abliteration (see remove-refusals-with-transformers to know more about it). This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens. The newly added Huihui-Qwen3.8-27B-abliterated-Underdog-Saluki series come from ConwayResearch/Underdog-Saluki-27B-1.0 and ukisai/Swift-1.5-Qwen3.8-27B-GSQ-RCO-GGUF. Only layers 22 to 52 (0-based indexing) have been ablated, while the other layers remain unablated. It may come with a small disclaimer warning. Due to ConwayResearch/Underdog-Saluki-27B-1.0 not providing an imatrix file, we will attempt to perform ablation by mixing the GGUF…

Open weights apache-2.0 transformers

Qwen3.8-27B uncensored by HauhauCS 0/465 Refusals. This is the Aggressive variant: direct answers, no refusal behavior, and minimal preamble on hard prompts. Every text GGUF preserves Qwen3.8's native NextN head, and this release adds HauhauCS FastMTP: a specific acceleration sidecar qualified across the complete quant lineup at maximum native context. Vision is included through the separate BF16 projector. No changes to datasets or intended capabilities. This release preserves Qwen3.8-27B's text, reasoning, agentic, image, and video capabilities while applying the HauhauCS Aggressive uncensoring profile. Pick Aggressive when you specifically want the model to get to the answer without…

Open weights apache-2.0

Model · Image and text to text

Qwen3.8-27B-GGUF

GGML Org

Run with https://llama.app - https://huggingface.co/Qwen/Qwen3.8-27B - https://huggingface.co/incoai/Qwen3.8-27B-DFlash2 - add info

Open weights apache-2.0

Model · Image and text to text

Tiel-Coder-35B-A3B-GGUF-MTP

Saga

Tiel is the fast coder of the arsenal. At 4-bit quantization and 23 GB it fixes real codebase issues at the rate (and speed, with the right GPU) of Opus 4.6 medium, while holding the best multi-turn conversation of any local model we have measured. It is also cheerfully bad at trivia. Pick it for work. Pick something else for exams. Where it sits against the other local builds Multi-turn conversation Reasoning and knowledge Where it stands. On 25 SWE-bench-Live problems Tiel fixes 12 — the same as Opus 4.6 (medium), four more than Ornith-1.5 itself, three more than Nail, and four more than Sonnet 5 (medium). Among models of its own class it is first; the ones ahead are dense 27Bs and Opus…

Open weights mit gguf