/ Модель

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

Контекст
8 192 токена
Параметры
134 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
SmolLM2-135M-Instruct
Библиотека
transformers
Опубликована
29 сен 2026

SmolLM2-135M-layertrop-v7

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

Экспериментальное дообучение SmolLM2-135M-Instruct для изучения устойчивости языковой модели к удалению блоков декодера и 4-битному квантованию.

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

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

styal/SmolLM2-135M-layertrop-v7 — экспериментальное дообучение HuggingFaceTB/SmolLM2-135M-Instruct, созданное для повышения устойчивости языковой модели к удалению отдельных блоков декодера и снижению потерь при 4-битном квантовании. Модель построена на плотной архитектуре LlamaForCausalLM и содержит 134,5 млн параметров; базовый контекст составляет 8192 токена. Доступные веса сохранены в формате safetensors.

Модель предназначена для экспериментов с LayerDrop, устойчивостью внутренних представлений и квантизацией, а не для общего применения. В оценке на одном фрагменте корпуса smol-smoltalk она показала меньший ущерб от удаления блока и снижение ущерба от квантования Q4_K на 31% относительно базовой модели. Результаты получены на ограниченном наборе данных, без контрольного запуска, который позволил бы приписать улучшение именно LayerDrop. Лицензия — Apache-2.0.

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

  • сравнение устойчивости модели к удалению блоков декодера
  • эксперименты с LayerDrop для языковых моделей
  • оценка потерь качества при 4-битном квантовании Q4_K
  • изучение устойчивости внутренних представлений к квантованию

Ограничения

Преимущества квантования измерены только на одном корпусе и ограниченном фрагменте оценки; контрольного эксперимента без LayerDrop нет. Модель небольшая, а важность блоков стала более сконцентрированной, чем у базовой модели.

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

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

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

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

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

Открыть на Hugging Face

SmolLM2-135M-Instruct — LayerDrop "clean" fine-tune (v7)

Continued fine-tune of HuggingFaceTB/SmolLM2-135M-Instruct that makes the model less fragile to any single decoder block being removed, at the cost of some parameter redundancy. Trained with per-example LayerDrop: each training example randomly skips k=3 of the 30 blocks, so the model must stay usable without each one.

What it is for

This is an experiment artefact, not a general-purpose model. The goal is a weight distribution and an internal representation that survive quantization, and a fine-tune that lowers the damage a 4-bit quantizer does.

Results (smol-smoltalk:test, 512 conversations, 363,373 scored tokens, seed 42)

Same eval slice as the baseline report, so these are directly comparable.

metricbasethis model
eval loss1.26941.1914better
max_delta_loss (worst-case removal damage)8.3424.762-43%
sum_delta_loss21.6769.688-55%
max_over_min100.6x62.9xbetter
coefficient of variation2.1592.575worse
block-0 share of removal cost38.5%49.2%more concentrated

max_delta_loss is the decisive metric here. CV and max/mean are not progress signals for this objective: they normalise by the sum, so a run that makes every block cheaper to remove can show a worse CV. This model is deliberately not more uniform — importance concentrated further into block 0, which the drop policy was tuned to protect.

4-bit quantization (Q4_K)

Weights quantized in Q4_K's layout (256-weight super-blocks, 8x32 sub-blocks, 6-bit scale and min, 4-bit payload = 4.5 bits/weight) and the forward pass run on the reconstruction.

basethis model
fp16 loss1.26961.1914
Q4_K loss1.42221.2970
Q4_K damage+0.1526+0.1055

The fine-tune removes 31% of the quantization damage. Per-tensor relative rounding error is unchanged (~0.0738 before and after), so the gain is reduced sensitivity to a given rounding error, not weights that are easier to round.

Caveat: no p_max=0 control run exists, so this 31% is not yet attributed to LayerDrop specifically rather than to any continued fine-tune on this data.

Training config

  • base: HuggingFaceTB/SmolLM2-135M-Instruct @ 12fd25f
  • drop policy: per-example LayerDrop, k=3 of 30, p_max=0.35, importance from a dev slice carved from the train corpus (the test slice is never used for selection)
  • 1500 steps, batch 8, seq 512, lr 2e-5 cosine, one epoch, no row reuse
  • saved in fp16

Note on the training code in this repo

This checkpoint was trained with the earlier policy: an annealed uniform -> importance ramp with a p_max=0.35 cap. That policy has since been replaced in the source project by a much simpler one — Gumbel top-k over each block's share of the total delta_loss, with no anneal, no cap and no renormalisation. The numbers above were produced by the old policy; the code currently in the repo is the new one and would not reproduce this checkpoint without reverting the config.

Known limitations

  • 135M model; the quantization gains are measured on one corpus and one slice.
  • Importance is more concentrated, not less — see the CV row above.
  • The 31% damage reduction has no ablation control.

Reproducing

Everything runs on Kaggle notebooks; see the damage/ and checks_notebook/ directories in the source project. checks_notebook/check_layertrop.py covers the drop-policy invariants, check_q4k.py verifies the Q4_K quantizer against llama.cpp's own C implementation, and results/ holds every report.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
1562a58

0 моделей