From: xysera <huggingface.co/xysera>Newsgroups: alt.freeweights.textSubject:

zen-4b

Date: 2026-11-15Commit: daca949Signed: 2DC28CC7B26A283B ✓

Text generation model with 4B parameters. Safetensors weights, 8.06 GB in all. Published by xysera under Apache-2.0.

4B params8.06GBzen-4bsafetensorspermissive
FactsParams4BSize8.06 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get xysera/zen-4b
# manifest sha256 7ea865ccecc1… · 8.06 GB · 10 files
$ fw verify ./zen-4b xysera/zen-4b
From sourceHosted (signed)xysera/zen-4bLast check: 2026-11-15 03:41 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
8.06 GB
Weights
8.04 GB (safetensors)
Parameters
4B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
xysera
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:41 UTCpassed

Model card

From the publisher at commit daca949. Shown as plain text with links; images open at the publisher.

Zen 4B#

Zen 4B is Xysera's public research model for structured reasoning, instruction following, and deliberate problem solving.

This release contains a merged BF16 model produced through Xysera's first full parameter-efficient adaptation pass. It is intended for research, evaluation, and local prototyping.

Model summary#

PropertyValue
Model familyZen
ScaleApproximately 4B parameters
ArchitectureDecoder-only causal language model
Weight formatBF16 safetensors
Primary languageEnglish
Primary focusStructured reasoning and instruction following
Release statusPublic research release

Training approach#

Zen 4B was developed using a proprietary model optimization and adaptation pipeline, incorporating iterative training, checkpoint-based evaluation, and targeted refinement to improve reasoning, instruction following, and structured problem-solving capabilities.

Evaluation#

Internal evaluation used 500 examples each from ARC-Easy, HellaSwag, PIQA, and Winogrande. Scores use normalized accuracy where available.

TaskScore
ARC-Easy68.6%
HellaSwag61.8%
PIQA78.8%
Winogrande73.6%

These are directional internal results, not leaderboard submissions. They should not be compared directly with results using different prompts, shot counts, sample sizes, or evaluation harnesses.

Limitations#

  • The model has not undergone a full safety, bias, or harmful-content evaluation.
  • Performance is uneven across tasks and may reflect specialization in the adaptation data.
  • The current evaluation is limited in size.
  • The model may produce factual errors, incomplete reasoning, or incorrect calculations.
  • Outputs should be independently verified for consequential use.

Basic usage#

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "xysera/zen-4b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, torch_dtype=torch.bfloat16, device_map="auto"
)
messages = [{"role": "user", "content": "Explain how a binary search works."}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
    outputs = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Artifact preservation#

The original base checkpoint, QLoRA adapter, intermediate checkpoints, optimizer state, tokenizer, and training logs remain preserved in Xysera's private checkpoint storage. This repository is a clean release repository and does not replace those artifacts.

Status#

Zen 4B is an active public research release.

Files

10 files · 8.06 GBWeights 8.04 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md3.04 KBf8213b2c1f227a41199ab8f065220a4ab4100d090fc2c1e2c1ebe5cb442c4492
chat_template.jinja4.12 KB87a2728cb8dc9fe424d624542f6060ec05a1d285ebbec578bb078900e33396b5
config.json1.59 KB4a4f25aad72c8c7d777fc947a26820c6800f346f95c2e04821bdab5c88de68b4
generation_config.json139 Bb535f5758b2fc8aa45b6df3ef0176abe1e0d3be7a517c0ef6e5157e341ee7bc9
model-00001-of-00002.safetensors4.99 GB14cc3b8c3be56a4abf6ace31f3805cad2d97b5014ac9ba7bf5ccd404b6bbdbfb
model-00002-of-00002.safetensors3.05 GB3f39f921c5bf1d3bdb9dec7235977ae83812ca29d8d32d9f33f1188bb4e231bb
model.safetensors.index.json32.9 KB291af274b91a17c5b85cac516720831aa4858e46cf01f8a768f023a2fe97988e
tokenizer.json11.4 MBbe75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
tokenizer_config.json697 Bddb9f850ca6559a928bb25d511f72e3c6eff81395334a4e0eeec670448333d09
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
daca9496a6 pinned now2026-11-15 03:41 UTC10 files · 8.06 GB

Use it

$ fw get xysera/zen-4b
# manifest sha256 7ea865ccecc1… · 8.06 GB · 10 files
$ fw verify ./zen-4b xysera/zen-4b
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/xysera/zen-4b.json --dir ./zen-4b $ python3 fw.py verify ./zen-4b ./xysera__zen-4b.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download xysera/zen-4b --revision daca9496a69dd54332882b2b85033569d95ccb09 --local-dir ./zen-4b
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("xysera/zen-4b", revision="daca9496a69dd54332882b2b85033569d95ccb09") model = AutoModelForCausalLM.from_pretrained("xysera/zen-4b", revision="daca9496a69dd54332882b2b85033569d95ccb09", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve xysera/zen-4b --revision daca9496a69dd54332882b2b85033569d95ccb09

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
f8213b2c1f227a41199ab8f065220a4ab4100d090fc2c1e2c1ebe5cb442c4492
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: xysera <huggingface.co/xysera>Newsgroups: alt.freeweights.textSubject: zen-4bDate: 2026-11-15Commit: daca949Signed: 2DC28CC7B26A283B ✓
Upstream
xysera/zen-4b
Pinned commit
daca9496a69dd54332882b2b85033569d95ccb09
Manifest
zen-4b.json · .minisig
Manifest sha256
7ea865ccecc144a599689992e689fa968d72ed80e23342fb9a7dbb64bcc8deaa
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:41 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/xysera/zen-4b.json $ curl -O https://freeweights.allternit.com/manifests/xysera/zen-4b.json.minisig $ minisign -Vm zen-4b.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download xysera/zen-4b
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. zen-4b.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of zen-4b. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B