abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

AlsKozlov/legalbench-ru

published by @AlsKozlov

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:question-answeringtask_categories:text-classificationlanguage:rulicense:cc-by-4.0size_categories:n<1Kformat:jsonmodality:textlibrary:datasets +10 more
Lifetime downloads
713
Last 30 days
167
Likes
6
Size
1.4 MB

Description

LegalBench-RU

Первый открытый многотрековый бенчмарк правового рассуждения для российского права.

846 задач, 4 трека: знание права (knowledge), рассуждение (reasoning), выбор

инструмента к госреестрам (tool-use), устойчивость к устаревшим нормам (temporal).

Собран многоагентной генерацией с заземлением в реальных источниках +

адверсариальной верификацией; измеренный red-team error-rate — 3%.

Что внутри

трек

кейсов

что меряет

источник

knowledge

311… See the full description on the dataset page: https://huggingface.co/datasets/AlsKozlov/legalbench-ru.

Structure 1 config · from the README front matter1 subset, from the author's description

default default
Data files
legalbench_ru.jsonl

Used by uncensored models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
cc-by-4.0
Language
ru
Created on HFCreated
2026-06-16 · 5 months ago
Size category
n<1K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
1.4 MB
Files
5
Formats
jsonl
Head
d6e21bf
Last updated on HFLast updated
2026-06-16

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("AlsKozlov/legalbench-ru")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="AlsKozlov/legalbench-ru", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/AlsKozlov/legalbench-ru

Files by folder from our last crawlfrom our last check

top level 5 files 1.4 MB
.gitattributes 2.5 KB file download
holdout_questions_only.jsonl 114.9 KB jsonl download
legalbench_ru.jsonl 1.3 MB jsonl download
LICENSE 1.5 KB file download
README.md 5.6 KB md download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

LegalBench-RU

Первый открытый многотрековый бенчмарк правового рассуждения для российского права.

846 задач, 4 трека: знание права (knowledge), рассуждение (reasoning), выбор
инструмента к госреестрам (tool-use), устойчивость к устаревшим нормам (temporal).
Собран многоагентной генерацией с заземлением в реальных источниках +
адверсариальной верификацией; измеренный red-team error-rate — 3%.

Что внутри

трек кейсов что меряет источник
knowledge 311 память: статья/норма (citation, rule-recall) lawyer-authored skills
reasoning 348 вывод по фактам, толкование, расчёты, позиции судов skills + 45 ПП ВС + 27 ПКС + детерм. арифметика
tool-use 187 query → правильный MCP-вызов к госреестру каталог 79 инструментов 17 серверов
temporal (в reasoning) устойчивость к устаревшей редакции курировано

16 правовых доменов: гражданское, договорное, трудовое, налоговое, корпоративное,
IP, банкротство/litigation, защита данных, потребительское, недвижимость,
закупки, AML/комплаенс, AI-governance, административное и др.

Формат

Один JSON-объект на строку (legalbench_ru.jsonl). Поля:

  • task, domain, reasoning_type, answer_type, track, split;
  • question, context?, choices? (для multiple_choice);
  • answer — gold (строка / буква / список норм / {tool,args});
  • accept?, gold_norm? (provenance), explanation?;
  • norm_text? / distractor_text? / temporal_text? — для условий grounded /
    distractor / temporal;
  • needs_expert_review.

Сплиты и анти-контаминация

  • split=public (674) — открытый.
  • split=holdout (172, ~20%) — рекомендуется держать ответы приватно для
    чистых замеров; в пакете есть holdout_questions_only.jsonl (без gold) для
    сабмишена предсказаний.
  • В начало legalbench_ru.jsonl встроена canary-строка (_canary) — чтобы
    потом детектировать утечку датасета в обучающих корпусах. Не включайте этот
    датасет в обучение.

Условия прогона (главная фишка)

Один и тот же reasoning-кейс гоняется при разном поданном контексте:
closed (память) / grounded (верная норма) / distractor (подставная неверная)
/ temporal (устаревшая редакция) / reject (нормы нет). Ценность — в дельтах:
closed→grounded (упор в память ⇒ нужен RAG), grounded→distractor (ведётся ли
на ложную норму), temporal (анкорится ли на старый закон).

Скоринг

Детерминированный (без LLM-судьи на скоринге → воспроизводимо): exact-match
(binary/MC), normalized-match (extraction), norm-F1 (citation), AST-match
(tool-call). Харнесс — в репозитории; oracle-прогон = 100%, stub = 0%.

python score.py --model oracle                       # проверка скорера
python score.py --model openai --model-name <модель> # своя модель (OpenAI-совместимый endpoint)
python score.py --model openai --model-name <модель> --mode grounded --track reasoning

Baseline (closed, весь бенч, предварительно)

модель overall knowledge reasoning tool-use
DeepSeek-v32 76% 53% 91% 85%
YandexGPT 5.1 76% 62% 85% 82%
YandexGPT-5 Pro 72% 52% 83% 85%
Qwen3-235B 71% 48% 85% 84%
Qwen3.6 65% 42% 76% 81%
GPT-OSS-120B 57% 21% 76% 80%

Узкое место у всех — знание права (21–62%), не рассуждение (76–91%).

Лицензия

Датасет — CC-BY-4.0. Код харнесса — Apache-2.0 (как репозиторий). Вопросы и
gold-ответы оригинальные; нормы РФ — общественное достояние.

Цитирование

@misc{legalbench-ru-2026,
  title  = {LegalBench-RU: An Open Multi-Track Benchmark for Russian Legal Reasoning},
  author = {ru-legal contributors},
  year   = {2026},
  note   = {v0.3, https://github.com/AlsKozlov/legalbench-ru}
}

README historyEdit history 3 revisions3 edits

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-06-16 Update README.md d6e21bf 5.4 KB
    Loading...
  2. 2026-06-16 Upload 4 files af53f58 5.9 KB
    Loading...
  3. 2026-06-16 initial commit adc5c7f 21 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-06-17 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

AlsKozlov/legalbench-ru

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration