/ Модель

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

Контекст
256 токенов
Лицензия
Apache 2.0
Архитектура
self_organizing_transformer_plastic · dense
Библиотека
transformers
Опубликована
16 окт 2026

sot-phase2-wikitext103-heuristic-seed42-tc768d013-v9-zeroeffect

Генерация текстаТекст → текст3 профессии
66скачиваний за 30 дней0лайковвеса обновлены26 окт 2026

Описание модели

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

Экспериментальная англоязычная модель Self-Organising Transformer генерирует продолжения текста и предназначена для воспроизведения и анализа исследования структурной пластичности.

Экспериментальная исследовательская языковая модель Self-Organising Transformer, разработанная в рамках проекта Self-Organising Transformer. Это девятая попытка второго этапа обучения на WikiText-103: модель обучалась 10 000 шагов, начиная с 33% активных блоков, а контроллер периодически добавлял и отключал блоки. Сохранённый чекпойнт содержит масштабирование блоков, поэтому нулевые блоки не влияют на выход; для сборки физически уменьшенной модели нужен код проекта.

Модель предназначена для воспроизведения и изучения результатов исследования, а также генерации продолжений англоязычного текста. Она использует плотную архитектуру PlasticTransformer с пластичностью структуры, контекстом 256 токенов и форматом safetensors. В карточке приведена итоговая структура с 8 из 12 слоёв, 36 из 144 голов внимания и 357 из 1536 групп FFN; это около 0,425 вычислений на токен относительно плотной модели.

На WikiText-103 указана обучающая оценка perplexity 30,61, но отдельного запуска evaluate.py не проводилось; сопоставимые плотные контрольные модели показали лучшие результаты при близких вычислительных затратах. Модель не настроена на выполнение инструкций или безопасность и не предназначена для производственного либо downstream-применения. Для загрузки необходим код проекта и transformers версии ниже 5.0; лицензия Apache-2.0.

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

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

Ограничения

Обучена только на WikiText-103 в течение 10 000 шагов, не настроена на инструкции и безопасность и не предназначена для производственного использования. Оценка perplexity приведена по обучающим валидационным батчам; отдельной оценки evaluate.py нет, а плотные контрольные модели при близких вычислительных затратах показали лучшие результаты.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

sot-phase2-wikitext103-heuristic-seed42-tc768d013-v9-zeroeffect

Part of the Self-Organising Transformer research project: phase2, dataset wikitext103, condition heuristic, seed 42.

Phase 2: training starts with 33% of units alive; a controller gives birth to dormant units and kills weak ones every 250 steps.

Read this first

  • Phase 2 attempt 9.
  • Every number on this card is a present-structure number. This run uses the zero-effect code (2026-10-15): dormant and dead units have scale 0, so they add nothing to the output and get no gradient. The checkpoint saves the scales, so it loads as the present structure. Use compact_model.build_from_plastic to build the physically smaller model.
  • Present structure at step 10000: 8 layers (0-5, 8, 10), 36 of 144 heads, 357 of 1536 FFN groups. This is 0.425 of dense FLOPs/token and 0.432 of dense params.
  • The gates of present units are 0.2-0.45, so architecture.json lists no unit at the 0.5 threshold. A present unit is a unit with a non-zero gate.
  • The present structure writes fluent text (samples).

Full context: RESEARCH_LOG.md, the 2026-10-16 attempt-9 entries.

Intended use and limitations

  • Intended use: reproduce and inspect the results of the Self-Organising Transformer study.
  • Not for: production or downstream use. This is a small research model trained for 10,000 steps on WikiText-103 only. It is not instruction-tuned or safety-tuned.
  • It needs the project code and transformers<5.0 (see How to use).

How to use

The model class is defined in the project repository and is not registered with AutoModel, so the Hub widget and AutoModelForCausalLM do not work. Use the repository code (it needs transformers<5.0; 5.x corrupts the reload of this model):

git clone https://github.com/sbartlett97/self-organising-transformer
cd self-organising-transformer && pip install -r requirements.txt
python generate.py sbartlett97/sot-phase2-wikitext103-heuristic-seed42-tc768d013-v9-zeroeffect --prompt "The history of the city begins in"
from ablation_importance import resolve_checkpoint
from evaluate import load_model
from transformers import AutoTokenizer

path = resolve_checkpoint("sbartlett97/sot-phase2-wikitext103-heuristic-seed42-tc768d013-v9-zeroeffect")
model = load_model(str(path), None).eval()
tok = AutoTokenizer.from_pretrained(path)
logits = model(tok("The history of the city begins in", return_tensors="pt").input_ids)["logits"]

Performance

No evaluate.py run. Final training-time val ppl of the present structure: 30.61 at 0.425 of dense FLOPs/token. Phase 1 dense 768 on the same method: 24.30 (1.0 of FLOPs). Dense controls at matched compute (0.42 of the FLOPs) do better: dense d 768 with 4 layers gets 30.18, dense d 512 with 9 layers gets 28.98. So Phase 2 has not yet shown that learned structure beats a fixed shape at the same compute (README).

Final present structure

8 of 12 layers present: 0.425 of dense FLOPs/token, 0.432 of dense parameters (compute.py). The checkpoint itself still holds every unit.

LayerHeads (of 12)FFN groups (of 128)
0853
1456
2555
3540
4246
5430
6dead or dormant—
7dead or dormant—
8646
9dead or dormant—
10231
11dead or dormant—

Structural plasticity events

  • Total births: 92
  • Total deaths: 60
  • Total structural events: 152

Training trajectory

  • Final train loss: 3.3856 at step 10000
  • Final cost proxy (gate-weighted, not compute): 0.0345
  • Final training-time val loss (random val batches): 3.4212 (ppl 30.61) at step 10000

Hyperparameters

HyperparameterValue
model_typesot
datasetwikitext
dataset_configwikitext-103-raw-v1
seed42
max_steps10000
seq_len256
batch_size16
grad_accum8
max_layers12
d_model768
max_heads12
max_ffn_dim3072
ffn_groups128
target_cost0.13
birth_modeheuristic
seed_fraction0.33
growth_interval250
birth_limit4
birth_limit_end1
death_limit2
minimum_age500
death_criterionimportance
death_relative_margin0.6
death_patience2
birth_score_floor0.0
birth_ramp_steps250
death_ramp_steps250
death_freeze_lr_fraction0.05
birth_freeze_lr_fraction0.05

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

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

GPU в ailist

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

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

Архитектура self_organizing_transformer_plastic неизвестна transformers в образе рантайма.

Класс архитектуры
PlasticTransformer
Ревизия весов
86b002f

0 моделей