/ Модель

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

Контекст
1 024 токена
Параметры
445 млн
Лицензия
Apache 2.0
Архитектура
vexion_gpt · dense
Опубликована
18 июн 2026

Create_Vexion-gpt

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

Vexion-GPT — проект плотной языковой модели на PyTorch, разработанный DZER-Studios. Репозиторий содержит исходный код архитектуры и базовые графики обучения; готовые веса на момент описания ещё не опубликованы.

114скачиваний за 30 дней0лайковвеса обновлены18 сен 2026

Бенчмарки

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

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

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

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

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

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

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

Архитектура представляет собой классический GPT-трансформер с causal attention и активациями GELU или SiLU, без MoE и RoPE. Поддерживаются Flash Attention, градиентный чекпойнтинг, эффективный оптимизатор Adafactor и потоковая загрузка бинарных обучающих данных. Конфигурация отделена от исходного кода и задаётся через совместимый с Hugging Face файл config.json. Заявлены варианты от 117 млн до 3 млрд параметров с контекстом 1024 токена в приведённых измерениях; языки и дополнительные модальности не указаны.

Сильные стороны проекта — сниженное потребление видеопамяти при обучении, возможность запуска на потребительских GPU и гибкая настройка конфигурации. Ограничения включают отсутствие опубликованных весов, отсутствие сведений о датасетах, качестве, результатах тестирования и поддерживаемых языках. Для моделей крупнее 1 млрд параметров обучение требует значительных ресурсов и может существенно замедляться при ограниченной видеопамяти. Лицензия проекта — Apache-2.0.

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

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

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

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

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

Открыть на Hugging Face

🧠 Vexion-GPT: Custom Dense LLM Architecture

Vexion-GPT is a classic dense language model engine built from scratch on PyTorch. The project was created to deeply understand the architecture of Transformers, optimize memory, and pretraining processes without the use of heavy third-party frameworks.

Currently, the repository contains the architecture source code and base training graphs. Model weights will be published after completing extensive pretraining runs on large datasets.

⚙️ Key Features of the Engine (Under the Hood)

Unlike many "training" models, Vexion-GPT is designed for real-world big data and maximum GPU utilization:

  • Pure Dense Architecture: Classic, mathematically pure GPT architecture without additives (no MoE, no RoPE). Only the proven Causal Attention and GELU/SiLU activation functions. * Flash Attention Integrated: Full support for Fused Kernels for on-the-fly attention computation. VRAM consumption has been dramatically reduced (the model can be easily trained on consumer GPUs with batch sizes that previously caused OOMs).
  • Ultra-fast Custom DataLoader: The dataloader has been rewritten to stream binary data (.bin), bypassing Python's garbage collector and Windows system caching. The token feed rate is static and does not degrade over long distances.
  • HF-Compatible Config: The architecture is completely decoupled from hardcoded code. Model configuration is implemented via config.json according to Hugging Face standards (full support for hidden_size, num_hidden_layers, etc.).
  • Memory-Efficient Adafactor Optimizer: Replaced the standard AdamW with Google's Adafactor. By completely dropping the momentum matrix and factorizing the variance, the optimizer's memory footprint is drastically minimized. This saves gigabytes of VRAM, allowing for larger batch sizes on consumer hardware without hitting OOM.
  • Total Layer-wise Checkpointing: Implemented an aggressive gradient checkpointing strategy that wraps the entire TransformerBlock (both Attention and MLP components). This forces the GPU to discard intermediate activation "drafts" during the forward pass, successfully dropping active memory consumption on the Large model from 11.3GB down to a flat 6.0GB during training.

📉 System Requirements and VRAM Consumption (Pre-training)

Because Vexion-gpt is a classic, dense transformer without overloaded modern add-ons, it is incredibly resource-efficient. Integration Flash Attention and proper memory management allow model training from scratch even on budget home graphics cards.

The main secret to its low power consumption lies in its support for gradient accumulation. Training with batch_size = 4 and accumulate_steps = 24 results in a huge effective batch size (96), but the physical memory consumption remains at the level of a single pass. Gradient accumulation consumes computational time but does not inflate VRAM.

Memory Measurements (with a 1024-token context) Below are actual video memory consumption measurements for training from scratch (including weights, gradients, optimizer states, and PyTorch cache):

Nano / 117M parameters (Hidden size: 768, Layers: 12, Heads: 12)

Consumption: 2.2 GB of VRAM

Suitable for: RTX 3050 / RTX 4050 Laptop / Any NVIDIA RTX graphics card with 4 GB or more.

Medium / 345M parameters (Hidden size: 1024, Layers: 24, Heads: 16)

Consumption: 3.5 GB of VRAM

Suitable for: RTX 3050 / RTX 4050 / Any NVIDIA RTX graphics card with 4-6 GB or more.

Large / 646M parameters (Hidden size: 1280, Layers: 30, Heads: 20)

Consumption: 4.7 GB of VRAM

Suitable for: RTX 3060 / Any NVIDIA RTX graphics card with 6 GB or more.

XL / 1B parameters (Hidden size: 1536, Layers: 36, Heads: 12)

Consumption: 6.4 GB VRAM

Suitable for: RTX 3060 Ti / RTX 3050 / RTX 4060 / Any NVIDIA RTX graphics card with 8 GB or more.

XXL / 2.5B parameters (Hidden size: 2048, Layers: 48, Heads: 16)

Consumption: 12.9 GB VRAM

Suitable for: RTX 4060 Ti / RTX 5060 Ti / Any NVIDIA RTX graphics card with 14-16 GB or more.

XXXL / 3B parameters (Hidden size: 2176, Layers: 52, Heads: 17)

Consumption: 17 GB VRAM

Suitable for: RTX 3090 / RTX 4090 / Any NVIDIA RTX graphics card with 20+ GB or more.

Technically, 3 billion parameters can be trained on a 16GB GPU. BUT be prepared for the following:

  1. In terms of memory, only a very small portion of the gradients will fit in VRAM — the rest will go into RAM.
  2. There will be no speed. If you take into account that only batch_size 4 will fit at most, be prepared for the fact that as the accumulate_steps values increase, the speed will drop to MINUTES.

Technically, in the model.py file, you can set the chunk size to 1024 instead of 2048 in the slicing process — but the speed will also drop, even though the consumption will also drop closer to 15.5 GB APPROXIMATELY. For example, the model’s speed on my computer is 48.64 s/it. So, do this ONLY WITH FULL AWARENESS that you will need a very long time to train the model.

**💡 Note: Power consumption is given for mixed precision (bfloat16 / float16).

  • As proof regarding memory usage, I will show you my photos.

Снимок экрана (454)

Снимок экрана (455)

Снимок экрана (456)

Снимок экрана (466)

Now let’s run tests with the models, but only by increasing the context. We’ll start with version 1024 and move forward. How much video memory will we need to, say, train it on a broader context than the original one?

Model: Vexion-gpt-NANO

ContextVRAM consumptionbetter on VRAM
10242.2GB3GB
20483.5GB4GB
30724.6GB6GB
40965.8GB6GB
51206.9GB8GB
61448GB10GB
71688.9GB10GB
819210GB11GB
921611.4GB12GB
1024012.5GB14GB
1126413.7GB14GB
1228814.8GB16GB

Model: Vexion-gpt-Medium

ContextVRAM consumptionbetter on VRAM
10243.5GB4GB
20484.6GB6GB
30725.6GB6GB
40966.9GB8GB
51208.2GB10GB
61449.8GB11GB
716811.5GB12GB
819212.6GB14GB
921613.9GB16GB

Model: Vexion-gpt-Large

ContextVRAM consumptionbetter on VRAM
10244.7GB6GB
20486.1GB8GB
30727.5GB8GB
40968.7GB10GB
512010.5GB11GB
614412.3GB14GB
716814GB16GB
819215.6GB16GB

Model: Vexion-gpt-XL

ContextVRAM consumptionbetter on VRAM
10246.4GB8GB
20488.1GB10GB
30729.5GB11GB
409611.4GB12GB
512013.1GB14GB
614415.2GB16GB

Model: Vexion-gpt-XXL

ContextVRAM consumptionbetter on VRAM
102412.9GB14GB

Model: Vexion-gpt-3b

ContextVRAM consumptionbetter on VRAM
102417GB20+GB

📊 Current training status (Phase 1: Wikipedia)

The attached graphs show the first stage of pre-training the base model.

  • Current build parameters: 117M parameters (Hidden size: 768, Layers: 12, Heads: 12, ctx: 256).
  • Dataset: Clean corpus of the Russian-language Wikipedia (~331 MILLION tokens).
  • Goal of this stage: To develop basic syntax, ideal grammar, and punctuation for the Russian language before moving to "dirty" datasets (CulturaX).

Снимок экрана (427)

The graph shows a steady drop in loss without spikes, confirming the absolute mathematical stability of the custom transformer and gradient mechanism. At control checkpoints, the model successfully generates grammatically correct encyclopedic text.

🚀 Code Usage

The architecture is ready for experimentation. You can easily scale the model from Nano to 1B+ parameters by simply changing config.json.

Example of initializing a pure model graph:

import json

with open("config.json", "r", encoding="utf-8") as f:
    config = json.load(f)

vocab_size = config["vocab_size"]
hidden_size = config["hidden_size"]
num_layers = config["num_hidden_layers"]
num_heads = config["num_attention_heads"]
intermediate_size = config["intermediate_size"]
context = config["max_position_embeddings"]

token_embeddings = vocab_size * hidden_size
position_embeddings = context * hidden_size

attention = (
    (hidden_size * 3 * hidden_size) + (3 * hidden_size)
    
    + (hidden_size * hidden_size) + hidden_size
)

mlp = (
    (hidden_size * intermediate_size) + intermediate_size
    + (intermediate_size * hidden_size) + hidden_size
)

layer_norms = 4 * hidden_size

block = attention + mlp + layer_norms

transformer = block * num_layers

final_layer_norm = 2 * hidden_size

lm_head = vocab_size * hidden_size

total_parameters = (
    token_embeddings
    + position_embeddings
    + transformer
    + final_layer_norm
    + lm_head
)

print("Vexion-GPT Parameter Calculator")
print("=" * 35)

print(f"Vocabulary:        {vocab_size:,}")
print(f"Hidden size:       {hidden_size:,}")
print(f"Layers:            {num_layers}")
print(f"Attention heads:   {num_heads}")
print(f"Intermediate size: {intermediate_size:,}")
print(f"Context:           {context:,}")
print()

print(f"Parameters: {total_parameters:,}")
print(f"Parameters: {total_parameters / 1_000_000:.2f} M")
print(f"Parameters: {total_parameters / 1_000_000_000:.3f} B")
print(f"Parameters: {total_parameters / 1_000_000_000_000:.3f} T")

Running model training/retraining:

  • Before training the model, launch the command prompt (CMD) as administrator and enter the following command: cd C:\Users\Username\Desktop\model folder
Training: python train.py --data_path train.bin --val_path val.bin --total_steps 30000 --save_every 1000 --batch_size 1 --accumulate_steps 256 --lr 1e-4 --dropout 0.0 --warmup_steps 500

Retraining: python train.py --data_path train.bin --val_path val.bin --total_steps 30000 --save_every 1000 --batch_size 1 --accumulate_steps 256 --lr 1e-4 --dropout 0.0 --warmup_steps 500 --resume checkpoints/gpt_step_1000.safetensors
  • Instructions: In the generate_base.py file, start changing parameters starting at line 73. In the CHECKPOINT_PATH = line, specify the path to the checkpoint. From lines 78-82, change the model settings. Don't touch anything ABOVE.

To disable the scheduler for custom LR speed tuning, add the command --scheduler_type constant to the other settings in the CMD. To re-enable the scheduler, remove the command.

  • Use the chunk_size = setting in model.py to adjust the speed. The base number is 4096, but you should set it depending on your memory. If you have a couple of gigabytes of VRAM free, set the number higher. This will increase the speed, albeit not by much. And it may save hours of work.

  • Use the layer data storage setting in model.py: should_ckpt = (i % 2 == 0) to increase the speed in seconds. It’s better to use the setting for 16GB VRAM. If you want the minimum consumption, do: should_ckpt = (i % 1 == 0). If you want maximum speed, set: should_ckpt = (i % 2 == 0) and higher.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
VexionGPTForCausalLM
Ревизия весов
78eaa06

0 моделей