/ Модель

Характеристики

Лицензия
Apache 2.0
Библиотека
flax
Опубликована
22 ноя 2025

Zenyx_Base_220M

Генерация текстаТекст → текст3 профессии

Небольшая базовая языковая модель на 220 млн параметров для продолжения текста и экспериментов с многоязычной генерацией.

0скачиваний за 30 дней6лайковвеса обновлены25 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Zenyx-Base-220M — базовая авторская языковая модель Arko007 с 220 млн параметров, обученная с нуля на JAX/Flax. Она предназначена для генерации и продолжения текста, а также для экспериментов с небольшими языковыми моделями. Архитектура — трансформер в стиле Llama с RoPE, SwiGLU, RMSNorm и Grouped Query Attention; используется токенизатор Qwen 2.5 с размером словаря 151 650. Контекст составляет 2048 токенов.

Модель обучалась примерно на 153 млрд токенов из образовательных текстов, кода, многоязычных веб-данных и математических материалов. В карточке заявлена поддержка английского, французского, испанского, китайского, хинди, японского и русского языков. Веса представлены в safetensors как дерево параметров JAX/Flax; для загрузки и генерации опубликован код модели. По данным карточки, модель не дообучена для чата или выполнения инструкций и может выдавать фактически неверные сведения; из-за небольшого размера её возможности извлечения знаний ограничены. Лицензия — Apache-2.0.

Сценарии применения

  • продолжение заданного текста
  • генерация коротких фрагментов на поддерживаемых языках
  • изучение и запуск компактной трансформерной модели
  • эксперименты с базовыми языковыми моделями
  • оценка языковой модели на задачах выбора продолжения

Ограничения

Модель не настроена для чата и следования инструкциям, может галлюцинировать, а её извлечение знаний ограничено размером в 220 млн параметров.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Zenyx-Base-220M: High-Density Nano Foundation Model

Model Architecture Parameter Count Training Tokens Format

Zenyx-Base-220M is a 220 million parameter causal language model built from scratch using JAX/Flax on Kaggle TPU v5e-8.

Unlike typical small models trained on limited data, Zenyx-Base was trained on ~153 Billion tokens—far exceeding the Chinchilla optimal point for this parameter count. This "over-training" strategy was employed to maximize the information density and logic capabilities of the weights, creating a robust foundation for reasoning tasks.

🧠 Model Description

  • Architecture: Custom Llama-style Transformer (RoPE, SwiGLU, RMSNorm, Grouped Query Attention).
  • Tokenizer: Qwen 2.5 Tokenizer (151,650 Vocab Size) for high compression efficiency.
  • Context Window: 2048 Tokens.
  • Training Hardware: TPU v5e-8.
  • Final Validation Loss: ~2.38 (Exceptional convergence for 220M).

Technical Specifications

HyperparameterValue
Layers12
Hidden Dim768
MLP Dim3072
Attention Heads12
KV Heads4 (GQA)
Vocab Size151,646

📚 Training Curriculum (The "Omni-Mix")

The model was trained using a rigorous 4-stage curriculum designed to layer capabilities sequentially:

  1. Phase 1: Fundamentals (FineWeb-Edu)
    • Focus on high-quality educational English text to establish linguistic baselines.
  2. Phase 2: Logic & Structure (StarCoder - Python)
    • Introduction of code data to enforce logical indentation, syntax, and structured thinking.
  3. Phase 3: Multilingualism (FineWeb-2)
    • Exposure to 6 major languages (Hindi, Chinese, Russian, Japanese, French, Spanish) to expand the semantic embedding space.
  4. Phase 4: The Infinite Polish (Omni-Mix)
    • A weighted interleaving of all previous datasets plus OpenWebMath to converge the model's logic and language capabilities.

💻 Usage

The weights are model.safetensors (JAX/Flax parameter tree, flat names such as embedding and blocks_0.attn...); modeling_zenyx_220m.py in this repository holds the model code (the training-notebook definition, unchanged) and two helpers: load_model downloads the weights and loads them strictly (every parameter must exist with the right shape), generate decodes text. Runs on CPU, GPU (including a T4: it computes in float32) and TPU.

pip install jax flax safetensors transformers huggingface_hub
from huggingface_hub import hf_hub_download
hf_hub_download("Arko007/Zenyx_Base_220M", "modeling_zenyx_220m.py", local_dir=".")      # the model code

from modeling_zenyx_220m import load_model, generate
from transformers import AutoTokenizer

model, params = load_model()                                              # downloads model.safetensors (881 MB)
tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")         # the tokenizer of this model

print(generate(model, params, tok, "The capital of France is", max_new=30))                 # greedy
print(generate(model, params, tok, "def fibonacci(n):", max_new=40, temperature=0.8))      # sampling

It is a base model: give it text to continue, not instructions. Greedy decoding tends to repeat itself (the test run printed "The capital of France is located in the center of the country, and the capital of the country is located in the center of the country ..."); use temperature=0.7-0.9 for more varied text. generate re-runs the whole sequence at every step, which is fine for short outputs but slow for long ones.

Benchmarks (measured 2026-10-14)

Re-evaluated on a Kaggle T4 in fp32 from model.safetensors in this repository, loaded strictly (every parameter matched by name and shape) into the training notebook's own TransformerLM definition, with the Qwen2.5 tokenizer named in this card. The siblings are other Zenyx models scored with the identical code and text.

Task suite (the same 19 tasks and extras as Zenyx-V3-Base)

0-shot, full evaluation sets (MMLU 5-shot), log-likelihood scoring of candidate continuations; acc_norm is length-normalised in characters. Context is 2,048 tokens, so longer prompts keep their last 2,048 tokens. Bold = the conventional metric. Random for BoolQ is its 62.2% majority class.

BenchmarkZenyx_Base_220MZenyx-v2-base @96,000Randomn
HellaSwag (acc_norm)31.13% ± 0.4627.81%25.0%10,042
ARC-Easy (acc_norm)46.42% ± 1.0234.13%25.0%2,376
ARC-Challenge (acc_norm)25.34% ± 1.2723.98%25.0%1,172
PIQA (acc_norm)62.08% ± 1.1354.79%50.0%1,838
WinoGrande (acc)51.54% ± 1.4049.96%50.0%1,267
OpenBookQA (acc_norm)27.80% ± 2.0023.60%25.0%500
BoolQ (acc)58.47% ± 0.8647.43%62.2%3,270
SciQ (acc)74.60% ± 1.3851.90%25.0%1,000
LAMBADA (OpenAI) (acc)26.22% ± 0.613.43%0.0%5,153
RACE (acc_norm)31.25% ± 0.6626.04%25.0%4,934
CommonsenseQA (acc_norm)30.88% ± 1.3226.04%20.0%1,221
COPA (acc)59.00% ± 4.9256.00%50.0%100
LogiQA (acc_norm)24.27% ± 1.6824.73%25.0%651
WSC273 (acc)53.48% ± 3.0250.92%50.0%273
TruthfulQA MC1 (acc)19.95% ± 1.4026.44%22.8%817
Arithmetic (acc)0.36% ± 0.050.36%0.0%14,000

WikiText-2 (raw), rolling 1024-token window: 1.0784 bits/byte (token perplexity 25.38; per-token figures depend on the tokenizer).

Zenyx-Fact1000 (internal)

A frozen 1000-question, four-way factual / common-sense completion benchmark (chance 25%): the model must rank the correct completion above three same-type distractors by log-likelihood (sha256 843416524fb39c5f…; not yet published). The "prior-only" control scores the same candidates after the neutral context "The answer is".

Modelaccuracy95% intervalwithout arithmeticprior-only control
Zenyx_Base_220M65.3%62.3–68.2%73.2%29.8%
Zenyx-42M49.5%46.4–52.6%54.4%29.1%
Zenyx-v2-base @96,000 (85M unique)45.8%42.7–48.9%48.1%30.7%
Zenyx-MCEN-Delta-Mamba @4,100 (565M, still training)45.5%42.4–48.6%45.9%29.6%
Zenyx-V3-Base @107,200 (1.58B MoE)81.1%78.6–83.4%80.8%28.7%

SciQ (n = 1000, 0-shot, chance 25%, standard error about 1.5 points)

Modelaccacc_norm
Zenyx_Base_220M74.60%67.90%
Zenyx-v2-base @96,00052.10%47.20%
Zenyx-MCEN-Delta-Mamba @4,10055.30%49.80%
Zenyx-V3-Base @107,200 (T4 fp16)79.90%72.70%

The Pile, by domain (bits per byte, LOWER is better)

Text: NeelNanda/pile-10k (pinned revision 127bfedcd5), documents grouped by pile_set_name, capped at 1.5M characters per domain, scored with a rolling 1024-token window at stride 512 (every token scored once with ≥ 512 tokens of left context); bits/byte is normalised by the UTF-8 bytes of the source text, so it is comparable across tokenizers.

DomainZenyx_Base_220MV2 @96,000MCEN @4,100V3 @107,200text (MB)
Github0.72991.08321.04900.57651.53
PubMed Central0.80311.35181.11630.74261.51
USPTO Backgrounds0.82721.25301.09450.78071.50
NIH ExPorter0.90711.32491.17710.86200.22
PubMed Abstracts0.92451.41091.26030.87491.50
ArXiv0.95241.59441.32210.85651.50
FreeLaw0.99821.64741.42130.96321.51
StackExchange1.03981.35581.33360.92051.50
Wikipedia (en)1.06301.60011.39440.99021.50
Pile-CC1.09471.53801.42151.10011.51
BookCorpus21.12261.53071.40991.14260.61
OpenWebText21.13221.67781.57651.12951.53
PhilPapers1.20191.85431.90451.33580.16
Enron Emails1.24541.86931.76621.22060.06
Gutenberg (PG-19)1.28611.83971.69831.27150.53
HackerNews1.29531.67481.66111.28060.24
OpenSubtitles1.32751.72111.63271.33920.86
Books31.35442.19661.93341.33001.51
DM Mathematics1.47642.18981.85351.32010.81
Ubuntu IRC1.56782.57542.51031.71470.04
YoutubeSubtitles1.77682.31162.69231.82180.19
EuroParl2.08892.66633.01081.99860.07
All 22, byte-weighted1.05471.57951.42611.001520.40

⚠️ Limitations

  • Size: At 220M parameters, the model's knowledge retrieval capacity is limited compared to 7B+ models.
  • Base Model: This is a pre-trained base. It has not been fine-tuned for chat or instruction following (see Zenyx-DeepSeek-220M for the instruct version).
  • Hallucinations: While logically consistent, it may generate factually incorrect statements.

📜 Citation

@misc{ZenyxBase220M,
  title = {Zenyx-Base-220M: High-Density Foundation Model},
  author = {Arko007},
  year = {2025},
  publisher = {HuggingFace},
  url = {https://huggingface.co/Arko007/Zenyx_Base_220M}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · flax

Нельзя запустить

JAX/Flax-модели рантайм не загружает.

Ревизия весов
78a94b6

0 моделей