/ Модель

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

Контекст
131 072 токена
Параметры
1,2 млрд
Лицензия
Llama 3.2
Архитектура
llama · dense
Базовая модель
tofu_Llama-3.2-1B-Instruct_full
Библиотека
transformers
Опубликована
15 окт 2026

Llama-3.2-1B-Instruct-TOFU-forget10-GradDiff-ILU

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

Экспериментальный чекпойнт Llama 3.2 1B Instruct для исследования машинного забывания данных TOFU с помощью GradDiff и ILU.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Это экспериментальная версия Llama 3.2 1B Instruct от автора репозитория, полученная дообучением модели open-unlearning/tofu_Llama-3.2-1B-Instruct_full. Она предназначена для изучения машинного забывания: из модели пытались удалить сведения о 20 вымышленных авторах из подмножества forget10 датасета TOFU, сохранив знания из retain90. Для этого применены GradDiff и дополнительный штраф ILU, направленный на устойчивость результата к повторному дообучению. Модель содержит около 1,2 млрд параметров, использует архитектуру LlamaForCausalLM и формат safetensors; её можно запускать через Transformers. Она принимает текст и генерирует текст на английском языке, с заявленным контекстом до 131 072 токенов.

Это исследовательский чекпойнт для экспериментов по machine unlearning и оценки сохранения полезности после удаления данных, а не надёжный способ гарантированно стереть информацию. README прямо сообщает, что при выбранных настройках модель забывает данные forget10 слабо и сохраняет заметно больше ответов из этой выборки, чем другие модели сравнения. Использование регулируется лицензией Llama 3.2.

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

  • сравнение методов машинного забывания на датасете TOFU
  • оценка сохранения ответов о выбранных авторах после удаления данных
  • изучение устойчивости машинного забывания к повторному дообучению
  • воспроизведение экспериментов GradDiff и ILU на языковой модели

Ограничения

README указывает, что модель слабо забывает примеры из forget10 и сохраняет заметно больше ответов из этой выборки, чем другие модели сравнения. Результат относится к экспериментам на синтетических фактах о вымышленных авторах и не подтверждает надёжное удаление произвольных данных.

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

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

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

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

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

Открыть на Hugging Face

Llama-3.2-1B-Instruct, TOFU forget10, unlearned with GradDiff + ILU

open-unlearning/tofu_Llama-3.2-1B-Instruct_full (Llama-3.2-1B-Instruct fine-tuned on all 4,000 TOFU QA pairs) after unlearning the forget10 split (20 fictitious authors) with GradDiff + ILU.

Note. At these settings this model forgets little of the forget set (see the table): it keeps noticeably more of the forget set than the other unlearned models (see Forget Q-A prob in the table). It is released for completeness.

Algorithm

GradDiff (Gradient Difference; Liu et al., 2022; OpenUnlearning implementation): gradient ascent on the forget set + NLL on the retain set: $\mathcal{L} = -\gamma,\mathrm{NLL}(\text{forget}) + \alpha,\mathrm{NLL}(\text{retain})$.

ILU (Invariant LLM Unlearning; Wang et al., ICML 2025) is applied on top of GradDiff as a relearning defense: adds an IRMv1 invariance penalty computed on an unrelated task (GSM8K) so that the unlearning solution stays stationary under fine-tuning on other data (reimplemented: the official repository does not include the regularizer).

Data

TOFU contains 200 fictitious authors with 20 QA pairs each. forget10 holds 10% of them (20 authors, 400 QA pairs); retain90 holds the other 180 authors. The oracle is the same base model fine-tuned on retain90 only, i.e. a model that never saw the forget set.

Unlearning setup

HyperparameterValue
Start modelopen-unlearning/tofu_Llama-3.2-1B-Instruct_full
Forget setTOFU forget10 (400 QA pairs, 20 fictitious authors)
Retain setTOFU retain90 (3,600 QA pairs)
FrameworkOpenUnlearning (trainer ILUGradDiff)
Optimizerpaged AdamW (32-bit), weight decay 0.01
Learning rate1e-05, linear decay, 12 warm-up steps (about 1 epoch)
Batch size8 x 4 gradient accumulation = 32 (forget), same for retain
Epochs3
Grad clip1.0
Precisionfp32 master weights, bf16 autocast
Seed0
This checkpointstep 36 (epoch 2.8)
GradDiff gamma (forget weight)1.0
GradDiff alpha (retain weight)5.0
GradDiff retain lossNLL
ILU IRM lambda0.1
ILU IRM dataopenai/gsm8k (main, train), 48 examples per step
ILU IRM max length512

Hyperparameter selection. GradDiff and RMU over-forget at the OpenUnlearning defaults and SimNPO under-forgets, so each was tuned with a rule fixed before any attack: over a grid of learning rates (and retain/forget weights), checkpointed every epoch, among checkpoints with mean retain log-probability above -0.5 and forget log-probability at most the retrained model's (-2.58), take the one closest to NPO's forget log-probability (-3.70), near-ties (0.1 nats) broken by retain log-probability. Selected: learning rate 1e-5, retain weight 5, epoch 3. The ILU model reuses the selected GradDiff learning rate, loss weights and length and is taken as trained (final checkpoint), provided its retain log-probability stays above -0.5.

Evaluation

OpenUnlearning's TOFU metrics (bf16), computed on the two halves of forget10 (A: even-indexed questions of each author, B: odd-indexed; 200 QA pairs each). Q-A prob (length-normalised probability of the correct answer), ROUGE-L (recall of the greedy answer) and truth ratio are per-question means, so the forget10 value is the mean of the two halves. Forget quality is the p-value of a KS test between this model's truth ratios and the oracle's, reported per half (higher = closer to the oracle). Model utility is the harmonic mean of probability, ROUGE and truth ratio on the retain set, real authors and world facts.

Goal of unlearning: forget metrics move toward the oracle, model utility stays near the starting model.

ModelForget Q-A prob ↓Forget ROUGE-L ↓Forget truth ratioForget quality ↑ (half A / half B)Model utility ↑
TOFU fine-tuned (starting point)0.8800.8190.4762.0e-15 / 2.4e-100.599
Retrained on retain90 (oracle)0.1160.3780.6281.00 / 1.000.592
GradDiff0.1450.3460.5134.7e-05 / 1.2e-040.580
GradDiff-SAM0.7220.5740.4941.1e-14 / 1.9e-090.593
GradDiff-ILU (this model)0.4650.4700.5132.4e-10 / 1.5e-070.591
GradDiff-LAT0.8300.6820.4814.7e-15 / 2.4e-100.592
NPO0.0440.2750.6180.63 / 0.470.576
NPO-SAM0.0260.2560.6410.11 / 0.630.587
NPO-ILU0.0390.3010.6440.18 / 0.270.572
NPO-LAT0.0030.1560.6700.07 / 0.010.582
RMU0.0230.1850.6960.33 / 0.020.567
RMU-SAM0.2040.3570.5558.1e-08 / 1.8e-050.510
RMU-ILU0.7910.7010.5114.7e-15 / 3.6e-090.597
RMU-LAT0.1290.3350.5924.7e-05 / 3.0e-030.529
SimNPO0.0260.3370.6220.27 / 0.550.554
SimNPO-SAM0.1160.3470.6300.07 / 0.470.570
SimNPO-ILU0.0260.3180.6190.55 / 0.710.580
SimNPO-LAT0.6970.5350.5173.1e-12 / 1.5e-070.564

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Lordvarun23/Llama-3.2-1B-Instruct-TOFU-forget10-GradDiff-ILU", torch_dtype="auto")
tok = AutoTokenizer.from_pretrained("Lordvarun23/Llama-3.2-1B-Instruct-TOFU-forget10-GradDiff-ILU")

License

Built with Llama. Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. Use is subject to Meta's Acceptable Use Policy.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей