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.

croguana/ifeval-hr-test

published by @croguana

Safety benchmarks, over-refusal tests, and guard-model data.Safety tests and tests for refusing harmless requests.

task_categories:text-generationlanguage:hrlicense:apache-2.0size_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:pandas +8 more
Lifetime downloads
95
Last 30 days
95
Likes
-
Size
1.5 MB

Description

ifeval-hr-test — IFEval-hr, hrvatski testni skup

Evaluacijski podaci: molimo da ih ne koristite za treniranje. Ovaj skup služi samo za mjerenje (evaluaciju)

jezičnih modela. Ako gradite korpus za treniranje, izbacite svaki dokument ili redak koji sadrži niz za prepoznavanje

(canary) naveden ispod; isti niz nalazi se i u stupcu canary svakog retka.

Evaluation data: please do not use it for training. This set is only for measuring (evaluating) language models.

If you build a… See the full description on the dataset page: https://huggingface.co/datasets/croguana/ifeval-hr-test.

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

default default
Data files
test main.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
apache-2.0
Language
hr
Created on HFCreated
2026-03-14 · 8 months ago
Size category
n<1K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
1.5 MB
Files
5
Formats
png, jsonl
Head
e06fc14
Last updated on HFLast updated
2026-12-05

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("croguana/ifeval-hr-test")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="croguana/ifeval-hr-test", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/croguana/ifeval-hr-test

Files by folder from our last crawlfrom our last check

top level 5 files 1.5 MB
.gitattributes 2.5 KB file download
croguana-500.png 520.8 KB png download
LICENSE 254 B file download
main.jsonl 970.4 KB jsonl download
README.md 7.3 KB md download

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

ifeval-hr-test — IFEval-hr, hrvatski testni skup

Hrvatski testni skupovi projekta CroGuana / CroGuana Croatian test sets: gsm8k-hr-test · ifeval-hr-test · piqa-hr-test · winogrande-hr-test

Ispitni skup — ne koristiti za treniranje. / Evaluation only — do not train on it.

Hrvatski

Upute s provjerljivim ograničenjima (broj riječi, bez zareza, naslov u <<...>>, ponovi zahtjev, ključne riječi...). 541 redak, preveden s engleskog iz google/IFEval (split: train (cijeli skup / whole set)).
Svaki redak čuva i engleski izvornik, pa se rezultati mogu usporediti s engleskom verzijom.

Polja: id, prompt_hr, prompt_original_en, instruction_id_list, evaluation_metadata (argumenti za provjeru, istim redom / checker arguments, same order), metadata (izvorni indeks retka, dio prijevoda).

Upotreba: Generiranje pa službeni IFEval provjerivači (instruction_id_list + evaluation_metadata). Doslovni nizovi koje provjerivač traži (ključne riječi, zabranjene riječi, završne fraze) ostavljeni su kako ih provjerivač očekuje i navedeni su u samom promptu; neki su zato na engleskom. Ograničenja tipa „odgovori na jeziku X” zadržana su iz izvora.

Kako je preveden. Prijevod je rađen u ožujku 2026., dio po dio (po 50 redaka), uz pomoć AI-ja i prema pisanim pravilima prevođenja
(sačuvati brojeve, oznake točnih odgovora i doslovna ograničenja; hrvatska ortografija č ć ž š đ). Ovo nije profesionalni ljudski prijevod.
Pregled svih ograničenja: svaka ključna riječ, zabranjena riječ, završna fraza i prva riječ pojavljuje se doslovno u hrvatskom promptu.
Pogreške su moguće; prijave i ispravci su dobrodošli (Community tab).

Ispravci prije objave (25. 11. 2026.): u 32 retka „ponovi zahtjev” zahtjev je bio preveden, a niz za provjeru (prompt_to_repeat) ostao je engleski, pa bi točan odgovor bio ocijenjen kao netočan. Niz je zamijenjen hrvatskim zahtjevom iz prompta; u retku ifeval_hr_374 i rečenica „odgovor treba početi s …” sada navodi hrvatski početak.

Licenca: izvor Apache-2.0; ovaj prijevod objavljujemo pod istom licencom. Navedite izvorni rad i ovaj skup.

English

Instructions with verifiable constraints (word counts, no commas, a <>, repeat the request, keywords...). <strong>541 rows</strong>, translated from English from <a href="https://huggingface.co/datasets/google/IFEval">google/IFEval</a> (split: train (cijeli skup / whole set)).<br>Every row keeps the English original, so scores can be compared with the English version.</p> <p><strong>Fields:</strong> <code>id</code>, <code>prompt_hr</code>, <code>prompt_original_en</code>, <code>instruction_id_list</code>, <code>evaluation_metadata</code> (argumenti za provjeru, istim redom / checker arguments, same order), <code>metadata</code> (source row index, translation chunk).</p> <p><strong>Use:</strong> Generate, then run the official IFEval checkers (<code>instruction_id_list</code> + <code>evaluation_metadata</code>). Literal strings the checker looks for (keywords, forbidden words, end phrases) are kept exactly as the checker expects and are stated in the prompt itself, so some are in English. "Answer in language X" constraints are kept from the source.</p> <p><strong>How it was translated.</strong> Translated in March 2026, chunk by chunk (50 rows each), with AI assistance and written translation rules<br>(keep numbers, answer labels and literal constraints; proper Croatian orthography). This is <strong>not a professional human translation</strong>.<br>Constraint audit: every keyword, forbidden word, end phrase and first word appears literally in the Croatian prompt.<br>Errors are possible; reports and fixes are welcome (Community tab).</p> <p><strong>Fixes before release (25 Nov 2026):</strong> in 32 "repeat the request" rows the request was translated but the checker string (<code>prompt_to_repeat</code>) was still English, so a correct answer would have been scored as wrong. The string now holds the Croatian request from the prompt; in <code>ifeval_hr_374</code> the "the answer must start with …" sentence now names the Croatian opening.</p> <p><strong>License:</strong> source Apache-2.0; this translation is released under the same license. Please credit the original work and this set.</p> <pre><code class="language-python">from datasets import load_dataset ds = load_dataset("croguana/ifeval-hr-test", split="test") </code></pre> <p>Dio projekta / part of <a href="https://huggingface.co/croguana">CroGuana</a> · <a href="https://huggingface.co/collections/croguana/croguana-croatian-datasets-6b06f41c1cda5e989eb01a09">Croatian datasets collection</a></p> <h2 id="autor--author">Autor / Author</h2> <p><strong>Tomislav Kraljević Shome.</strong> Projekt je radio sam, bez pomoći drugih ljudi, uz AI asistente za programiranje (Claude<br>Code, Codex), na temelju otvorenih skupova podataka i softvera navedenih u ovom opisu. Svi zainteresirani za suradnju su<br>dobrodošli.</p> <p>Built by one person with no other human contributors, using AI coding assistants (Claude Code, Codex), on top of the<br>open datasets and software credited in this card. Anyone interested in joining is welcome.</p> </article> </section> <section class="ds-block" data-astro-cid-vpr7pgie> <h2 class="ds-block-title" data-astro-cid-vpr7pgie> <span class="tl-t">README history</span><span class="tl-p">Edit history</span> <span class="ds-block-meta" data-astro-cid-vpr7pgie><span class="tl-t">6 revisions</span><span class="tl-p">6 edits</span></span> </h2> <p class="ds-block-lead" data-astro-cid-vpr7pgie> <span class="tl-t">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.</span><span class="tl-p">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.</span> </p> <ol class="rh-list" data-astro-cid-whp6y7yn> <li class="rh-item" data-astro-cid-whp6y7yn> <details class="rh-details" data-commit="774d424f1afdfbccdb4f277c247189a523bdf120" data-astro-cid-whp6y7yn> <summary class="rh-summary" data-astro-cid-whp6y7yn> <span class="rh-date" data-astro-cid-whp6y7yn>2026-11-30</span> <span class="rh-msg" data-astro-cid-whp6y7yn>Card: author section</span> <span class="rh-meta" data-astro-cid-whp6y7yn> <span class="rh-sha" data-astro-cid-whp6y7yn>774d424</span> <span class="rh-size" data-astro-cid-whp6y7yn>5.4 KB</span> </span> </summary> <div class="rh-body-wrap" data-astro-cid-whp6y7yn> <div class="rh-toolbar" data-astro-cid-whp6y7yn> <button type="button" class="rh-btn rh-copy" data-action="copy" title="Copy content to clipboard" aria-label="Copy content" data-astro-cid-whp6y7yn> <svg class="rh-icon-copy" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><rect x="5.5" y="5.5" width="8" height="8" rx="1" data-astro-cid-whp6y7yn></rect><path d="M3 10.5 H3 a1 1 0 0 1 -1 -1 V3 a1 1 0 0 1 1 -1 h6.5 a1 1 0 0 1 1 1 v0.5" transform="translate(0.5 0)" data-astro-cid-whp6y7yn></path></svg> <svg class="rh-icon-check" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M3 8 L7 12 L13 4" data-astro-cid-whp6y7yn></path></svg> </button> <button type="button" class="rh-btn" data-action="close" title="Close" aria-label="Close" data-astro-cid-whp6y7yn> <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M4 4 L12 12" data-astro-cid-whp6y7yn></path><path d="M12 4 L4 12" data-astro-cid-whp6y7yn></path></svg> </button> </div> <div class="rh-body" data-astro-cid-whp6y7yn> <div class="rh-loading" data-astro-cid-whp6y7yn>Loading...</div> </div> </div> </details> </li><li class="rh-item" data-astro-cid-whp6y7yn> <details class="rh-details" data-commit="79a6e32288fbe068e0e7937d09eb33e026701703" data-astro-cid-whp6y7yn> <summary class="rh-summary" data-astro-cid-whp6y7yn> <span class="rh-date" data-astro-cid-whp6y7yn>2026-11-25</span> <span class="rh-msg" data-astro-cid-whp6y7yn>Prepare public release: bilingual card, license, fixes (see card)</span> <span class="rh-meta" data-astro-cid-whp6y7yn> <span class="rh-sha" data-astro-cid-whp6y7yn>79a6e32</span> <span class="rh-size" data-astro-cid-whp6y7yn>4.9 KB</span> </span> </summary> <div class="rh-body-wrap" data-astro-cid-whp6y7yn> <div class="rh-toolbar" data-astro-cid-whp6y7yn> <button type="button" class="rh-btn rh-copy" data-action="copy" title="Copy content to clipboard" aria-label="Copy content" data-astro-cid-whp6y7yn> <svg class="rh-icon-copy" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><rect x="5.5" y="5.5" width="8" height="8" rx="1" data-astro-cid-whp6y7yn></rect><path d="M3 10.5 H3 a1 1 0 0 1 -1 -1 V3 a1 1 0 0 1 1 -1 h6.5 a1 1 0 0 1 1 1 v0.5" transform="translate(0.5 0)" data-astro-cid-whp6y7yn></path></svg> <svg class="rh-icon-check" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M3 8 L7 12 L13 4" data-astro-cid-whp6y7yn></path></svg> </button> <button type="button" class="rh-btn" data-action="close" title="Close" aria-label="Close" data-astro-cid-whp6y7yn> <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M4 4 L12 12" data-astro-cid-whp6y7yn></path><path d="M12 4 L4 12" data-astro-cid-whp6y7yn></path></svg> </button> </div> <div class="rh-body" data-astro-cid-whp6y7yn> <div class="rh-loading" data-astro-cid-whp6y7yn>Loading...</div> </div> </div> </details> </li><li class="rh-item" data-astro-cid-whp6y7yn> <details class="rh-details" data-commit="6e3b7714f3139f9f0bdb331d82b8f5d9175467ab" data-astro-cid-whp6y7yn> <summary class="rh-summary" data-astro-cid-whp6y7yn> <span class="rh-date" data-astro-cid-whp6y7yn>2026-03-23</span> <span class="rh-msg" data-astro-cid-whp6y7yn>Sync round2 Croatian package</span> <span class="rh-meta" data-astro-cid-whp6y7yn> <span class="rh-sha" data-astro-cid-whp6y7yn>6e3b771</span> <span class="rh-size" data-astro-cid-whp6y7yn>758 B</span> </span> </summary> <div class="rh-body-wrap" data-astro-cid-whp6y7yn> <div class="rh-toolbar" data-astro-cid-whp6y7yn> <button type="button" class="rh-btn rh-copy" data-action="copy" title="Copy content to clipboard" aria-label="Copy content" data-astro-cid-whp6y7yn> <svg class="rh-icon-copy" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><rect x="5.5" y="5.5" width="8" height="8" rx="1" data-astro-cid-whp6y7yn></rect><path d="M3 10.5 H3 a1 1 0 0 1 -1 -1 V3 a1 1 0 0 1 1 -1 h6.5 a1 1 0 0 1 1 1 v0.5" transform="translate(0.5 0)" data-astro-cid-whp6y7yn></path></svg> <svg class="rh-icon-check" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M3 8 L7 12 L13 4" data-astro-cid-whp6y7yn></path></svg> </button> <button type="button" class="rh-btn" data-action="close" title="Close" aria-label="Close" data-astro-cid-whp6y7yn> <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M4 4 L12 12" data-astro-cid-whp6y7yn></path><path d="M12 4 L4 12" data-astro-cid-whp6y7yn></path></svg> </button> </div> <div class="rh-body" data-astro-cid-whp6y7yn> <div class="rh-loading" data-astro-cid-whp6y7yn>Loading...</div> </div> </div> </details> </li><li class="rh-item" data-astro-cid-whp6y7yn> <details class="rh-details" data-commit="d84f4d6c38a6b04172d205fbf24e250520b25602" data-astro-cid-whp6y7yn> <summary class="rh-summary" data-astro-cid-whp6y7yn> <span class="rh-date" data-astro-cid-whp6y7yn>2026-03-14</span> <span class="rh-msg" data-astro-cid-whp6y7yn>Switch to Croatian-default README with EN secondary</span> <span class="rh-meta" data-astro-cid-whp6y7yn> <span class="rh-sha" data-astro-cid-whp6y7yn>d84f4d6</span> <span class="rh-size" data-astro-cid-whp6y7yn>758 B</span> </span> </summary> <div class="rh-body-wrap" data-astro-cid-whp6y7yn> <div class="rh-toolbar" data-astro-cid-whp6y7yn> <button type="button" class="rh-btn rh-copy" data-action="copy" title="Copy content to clipboard" aria-label="Copy content" data-astro-cid-whp6y7yn> <svg class="rh-icon-copy" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><rect x="5.5" y="5.5" width="8" height="8" rx="1" data-astro-cid-whp6y7yn></rect><path d="M3 10.5 H3 a1 1 0 0 1 -1 -1 V3 a1 1 0 0 1 1 -1 h6.5 a1 1 0 0 1 1 1 v0.5" transform="translate(0.5 0)" data-astro-cid-whp6y7yn></path></svg> <svg class="rh-icon-check" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M3 8 L7 12 L13 4" data-astro-cid-whp6y7yn></path></svg> </button> <button type="button" class="rh-btn" data-action="close" title="Close" aria-label="Close" data-astro-cid-whp6y7yn> <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M4 4 L12 12" data-astro-cid-whp6y7yn></path><path d="M12 4 L4 12" data-astro-cid-whp6y7yn></path></svg> </button> </div> <div class="rh-body" data-astro-cid-whp6y7yn> <div class="rh-loading" data-astro-cid-whp6y7yn>Loading...</div> </div> </div> </details> </li><li class="rh-item" data-astro-cid-whp6y7yn> <details class="rh-details" data-commit="98986256b8609fb36150331295744ca80024c249" data-astro-cid-whp6y7yn> <summary class="rh-summary" data-astro-cid-whp6y7yn> <span class="rh-date" data-astro-cid-whp6y7yn>2026-03-14</span> <span class="rh-msg" data-astro-cid-whp6y7yn>Add initial private release files</span> <span class="rh-meta" data-astro-cid-whp6y7yn> <span class="rh-sha" data-astro-cid-whp6y7yn>9898625</span> <span class="rh-size" data-astro-cid-whp6y7yn>724 B</span> </span> </summary> <div class="rh-body-wrap" data-astro-cid-whp6y7yn> <div class="rh-toolbar" data-astro-cid-whp6y7yn> <button type="button" class="rh-btn rh-copy" data-action="copy" title="Copy content to clipboard" aria-label="Copy content" data-astro-cid-whp6y7yn> <svg class="rh-icon-copy" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><rect x="5.5" y="5.5" width="8" height="8" rx="1" data-astro-cid-whp6y7yn></rect><path d="M3 10.5 H3 a1 1 0 0 1 -1 -1 V3 a1 1 0 0 1 1 -1 h6.5 a1 1 0 0 1 1 1 v0.5" transform="translate(0.5 0)" data-astro-cid-whp6y7yn></path></svg> <svg class="rh-icon-check" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M3 8 L7 12 L13 4" data-astro-cid-whp6y7yn></path></svg> </button> <button type="button" class="rh-btn" data-action="close" title="Close" aria-label="Close" data-astro-cid-whp6y7yn> <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M4 4 L12 12" data-astro-cid-whp6y7yn></path><path d="M12 4 L4 12" data-astro-cid-whp6y7yn></path></svg> </button> </div> <div class="rh-body" data-astro-cid-whp6y7yn> <div class="rh-loading" data-astro-cid-whp6y7yn>Loading...</div> </div> </div> </details> </li><li class="rh-item" data-astro-cid-whp6y7yn> <details class="rh-details" data-commit="dd10e328e861abdec3f2797ede5db44476eefd09" data-astro-cid-whp6y7yn> <summary class="rh-summary" data-astro-cid-whp6y7yn> <span class="rh-date" data-astro-cid-whp6y7yn>2026-03-14</span> <span class="rh-msg" data-astro-cid-whp6y7yn>initial commit</span> <span class="rh-meta" data-astro-cid-whp6y7yn> <span class="rh-sha" data-astro-cid-whp6y7yn>dd10e32</span> <span class="rh-size" data-astro-cid-whp6y7yn>0 B</span> </span> </summary> <div class="rh-body-wrap" data-astro-cid-whp6y7yn> <div class="rh-toolbar" data-astro-cid-whp6y7yn> <button type="button" class="rh-btn rh-copy" data-action="copy" title="Copy content to clipboard" aria-label="Copy content" data-astro-cid-whp6y7yn> <svg class="rh-icon-copy" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><rect x="5.5" y="5.5" width="8" height="8" rx="1" data-astro-cid-whp6y7yn></rect><path d="M3 10.5 H3 a1 1 0 0 1 -1 -1 V3 a1 1 0 0 1 1 -1 h6.5 a1 1 0 0 1 1 1 v0.5" transform="translate(0.5 0)" data-astro-cid-whp6y7yn></path></svg> <svg class="rh-icon-check" viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M3 8 L7 12 L13 4" data-astro-cid-whp6y7yn></path></svg> </button> <button type="button" class="rh-btn" data-action="close" title="Close" aria-label="Close" data-astro-cid-whp6y7yn> <svg viewBox="0 0 16 16" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" aria-hidden="true" data-astro-cid-whp6y7yn><path d="M4 4 L12 12" data-astro-cid-whp6y7yn></path><path d="M12 4 L4 12" data-astro-cid-whp6y7yn></path></svg> </button> </div> <div class="rh-body" data-astro-cid-whp6y7yn> <div class="rh-loading" data-astro-cid-whp6y7yn>Loading...</div> </div> </div> </details> </li> </ol> <script>(function(){const datasetId = "croguana/ifeval-hr-test"; const texts = {"failed":"Failed to load: {error}","copied":"Copied!","copyFailed":"Copy failed","copyTitle":"Copy content to clipboard"}; (function () { document.querySelectorAll('.rh-details').forEach(function (el) { var loaded = false; var loadedText = ''; el.addEventListener('toggle', async function () { if (!el.open || loaded) return; loaded = true; var sha = el.dataset.commit; var body = el.querySelector('.rh-body'); try { var res = await fetch('/api/readme-version.json?type=dataset&id=' + encodeURIComponent(datasetId) + '&sha=' + sha); if (!res.ok) throw new Error('HTTP ' + res.status); var data = await res.json(); loadedText = data.content; body.textContent = loadedText; } catch (err) { body.textContent = texts.failed.replace('{error}', function () { return err.message; }); loaded = false; } }); var closeBtn = el.querySelector('[data-action="close"]'); if (closeBtn) { closeBtn.addEventListener('click', function (e) { e.preventDefault(); e.stopPropagation(); el.open = false; el.querySelector('.rh-summary').scrollIntoView({ block: 'nearest', behavior: 'smooth' }); }); } var copyBtn = el.querySelector('[data-action="copy"]'); if (copyBtn) { copyBtn.addEventListener('click', async function (e) { e.preventDefault(); e.stopPropagation(); if (!loadedText) return; var ok = false; try { if (navigator.clipboard && window.isSecureContext) { await navigator.clipboard.writeText(loadedText); ok = true; } else { var ta = document.createElement('textarea'); ta.value = loadedText; ta.style.position = 'fixed'; ta.style.top = '-1000px'; ta.style.opacity = '0'; document.body.appendChild(ta); ta.select(); try { ok = document.execCommand('copy'); } catch (_) { ok = false; } document.body.removeChild(ta); } } catch (_) { ok = false; } if (ok) { copyBtn.classList.add('is-copied'); copyBtn.setAttribute('title', texts.copied); setTimeout(function () { copyBtn.classList.remove('is-copied'); copyBtn.setAttribute('title', texts.copyTitle); }, 1400); } else { copyBtn.classList.add('is-failed'); copyBtn.setAttribute('title', texts.copyFailed); setTimeout(function () { copyBtn.classList.remove('is-failed'); copyBtn.setAttribute('title', texts.copyTitle); }, 1400); } }); } }); })(); })();</script> </section> </section> <dialog id="dataset-gated-dialog" class="oiad" aria-labelledby="dgd-title" data-dataset-id="croguana/ifeval-hr-test"> <div class="oiad-inner"> <div class="oiad-header"> <div class="oiad-eyebrow">Download from Hugging Face</div> <button type="button" class="oiad-close" data-oiad-close aria-label="Close">×</button> </div> <h2 id="dgd-title" class="oiad-title">croguana/ifeval-hr-test</h2> <div class="oiad-body" data-oiad-body> <div data-oiad-state="gated" hidden> <div class="oiad-warn"> <span class="tl-t">This dataset is gated: it requires licence acceptance on Hugging Face</span><span class="tl-p">Accept this dataset's licence on Hugging Face first</span> </div> <ol class="oiad-steps"> <li> <span class="oiad-step-n">1</span> <span>Open the dataset on Hugging Face in a new tab</span> <a class="oiad-step-btn" target="_blank" rel="noopener" data-oiad-hf-link data-track-click="hf-open-page">Open on Hugging Face →</a> </li> <li> <span class="oiad-step-n">2</span> <span>Accept the licence (one click on their page). Stay logged in.</span> </li> <li> <span class="oiad-step-n">3</span> <span>Come back and confirm</span> <button type="button" class="oiad-step-btn oiad-step-btn--primary" data-oiad-acknowledge data-track-click="hf-licence-accepted">I ACCEPTED → show files</button> </li> </ol> </div> <div data-oiad-state="gated-no-access" hidden> <div class="oiad-lede"> <span class="tl-t">Hugging Face keeps the file list private for gated repos; your acceptance only applies in your HF session, not from our server. Open the files on Hugging Face directly; the download works as soon as you're signed in there.</span><span class="tl-p">For a dataset with access on request, Hugging Face shows the file list only to you, not to our server. Open the files on Hugging Face: the download works once you are signed in there.</span> </div> <a class="oiad-step-btn" target="_blank" rel="noopener" data-oiad-hf-link data-oiad-hf-files data-track-click="hf-fallback-gated"> View files on Hugging Face → </a> </div> </div> </div> </dialog><script type="module" src="/_astro/DatasetGatedDialog.astro_astro_type_script_index_0_lang.BYTYbWJ9.js"></script> </div> <script> (function () { var VISIT_KEY = 'abl_dl_src'; /** This page's own external referrer host and utm_source. */ function pageOrigin() { var out = { referrer_host: null, utm_source: null }; try { if (document.referrer) { var h = new URL(document.referrer).hostname.toLowerCase(); if (h && h !== location.hostname && h !== 'abliteration.org' && !/\.abliteration\.org$/.test(h)) out.referrer_host = h; } } catch (e) { /* unreadable referrer: leave it out */ } try { out.utm_source = new URLSearchParams(location.search).get('utm_source'); } catch (e) { /* old browser */ } return out; } /** The visit's origin: the first one seen in this tab, else this page's. */ var visit = (function () { var own = pageOrigin(); try { var kept = sessionStorage.getItem(VISIT_KEY); if (kept) return JSON.parse(kept); if (own.referrer_host || own.utm_source) sessionStorage.setItem(VISIT_KEY, JSON.stringify(own)); } catch (e) { /* no sessionStorage: this page's values only */ } return own; })(); function source() { return { source_page: location.pathname.replace(/(.)\/+$/, '$1'), referrer_host: visit.referrer_host || null, utm_source: visit.utm_source || null, }; } function count(el) { return new Promise(function (resolve) { setTimeout(resolve, 1500); var body = { kind: el.getAttribute('data-dl-kind'), item_id: el.getAttribute('data-dl-item'), }; var file = el.getAttribute('data-dl-file'); if (file) body.file_name = file; var src = source(); for (var k in src) if (src[k]) body[k] = src[k]; try { fetch('/api/download-event', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify(body), keepalive: true, }).then(resolve, resolve); } catch (e) { resolve(); } }); } window.ablCountDownload = count; window.addEventListener('click', function (ev) { var el = ev.target && ev.target.closest && ev.target.closest('a[data-dl-kind][data-dl-item]'); if (!el || ev.button !== 0 || ev.metaKey || ev.ctrlKey || ev.shiftKey || ev.altKey) return; if (ev.defaultPrevented) { if (el.hasAttribute('data-umami-event')) count(el); return; } if (el.target === '_blank') { count(el); return; } ev.preventDefault(); var href = el.href; count(el).then(function () { window.location.href = href; }); }); })(); </script> </main> <section class="cta-strip" data-astro-cid-dcmxqerh> <div class="container cta-strip-inner" data-astro-cid-dcmxqerh> <div class="cta-strip-body" data-astro-cid-dcmxqerh> <div class="cta-strip-eyebrow" data-astro-cid-dcmxqerh>Catalog is the map. Apps are the tools.</div> <h3 class="cta-strip-title" data-astro-cid-dcmxqerh> Run models <em>on your own machine</em>, not in the cloud. </h3> <p class="cta-strip-lead" data-astro-cid-dcmxqerh> <span class="tl-t">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.</span><span class="tl-p">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.</span> </p> </div> <div class="cta-strip-actions" data-astro-cid-dcmxqerh> <a class="cta-primary" href="/app" data-astro-cid-dcmxqerh> Get the app <svg class="cta-arr" aria-hidden="true" focusable="false" viewBox="0 0 12 12" data-astro-cid-dcmxqerh><path d="M2 6 L10 6 M7 3 L10 6 L7 9" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-dcmxqerh></path></svg> </a> <a class="cta-secondary" href="/models" data-astro-cid-dcmxqerh> Browse the catalog </a> </div> </div> </section> <div class="totop-dock" data-astro-cid-vy5be4ad> <button class="back-to-top" id="back-to-top" type="button" aria-label="Scroll to top" title="Back to top" data-astro-cid-vy5be4ad> <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" data-astro-cid-vy5be4ad> <g stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none" data-astro-cid-vy5be4ad> <line x1="12" y1="19" x2="12" y2="5" data-astro-cid-vy5be4ad></line> <polyline points="6 11, 12 5, 18 11" data-astro-cid-vy5be4ad></polyline> </g> </svg> </button> </div> <script> (function () { var btn = document.getElementById('back-to-top'); if (!btn) return; var visible = false; function update() { var shouldShow = window.scrollY > 400; if (shouldShow !== visible) { visible = shouldShow; btn.classList.toggle('is-visible', visible); } } window.addEventListener('scroll', update, { passive: true }); update(); btn.addEventListener('click', function () { window.scrollTo({ top: 0, behavior: 'smooth' }); }); // Homepage: stop at the rest spot in the footer instead of riding over it. // The footer comes after this script in the page, so the anchor is looked up when placing. var free = btn.parentElement; if (!free || !free.classList.contains('totop-free')) return; var queued = false; function place() { queued = false; var anchor = document.querySelector(free.getAttribute('data-rest')); if (!anchor) return; var b = btn.getBoundingClientRect(); var a = anchor.getBoundingClientRect(); var shift = parseFloat(free.getAttribute('data-shift') || '0'); // Where the button sits when not lifted (read from layout, not from the fade-in transform). var natTop = window.innerHeight - (parseFloat(getComputedStyle(btn).bottom) || 0) - btn.offsetHeight; // Beside the anchor when its items end left of the button, otherwise under it. var right = a.left; for (var n = anchor.firstElementChild; n; n = n.nextElementSibling) right = Math.max(right, n.getBoundingClientRect().right); var restTop = right + 16 <= b.left ? a.top : a.bottom + 20; var s = Math.max(0, natTop - restTop); if (s !== shift) { free.setAttribute('data-shift', String(s)); free.style.transform = s ? 'translateY(' + -s + 'px)' : ''; } } function queue() { if (!queued) { queued = true; requestAnimationFrame(place); } } window.addEventListener('scroll', queue, { passive: true }); window.addEventListener('resize', queue); if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', queue); else queue(); })(); </script> <div class="h26-page h26-chrome"> <footer class="h26-footer"> <p class="h26-foot-about"><span class="tl-t">abliteration.org is an independent catalog and analytics resource for the abliterated and uncensored language-model market. Every model carries the time it was published on Hugging Face, and the catalog is refreshed every hour.</span><span class="tl-p">abliteration.org is an independent catalog of language models that no longer refuse, with figures on this market. Every model carries the time it was published on Hugging Face, and the catalog is refreshed every hour.</span></p> <div class="h26-foot-social"> <a class="h26-pill is-dark is-bold" href="https://huggingface.co/abliteration" target="_blank" rel="me noopener" aria-label="abliteration.org on Hugging Face">Hugging Face</a> <a class="h26-pill is-dark is-bold" href="https://www.linkedin.com/company/abliteration" target="_blank" rel="me noopener" aria-label="abliteration.org on LinkedIn">LinkedIn</a> <a class="h26-pill is-dark is-bold" href="https://facebook.com/abliteration" target="_blank" rel="me noopener" aria-label="abliteration.org on Facebook">Facebook</a> </div> <nav class="h26-foot-links" aria-label="Footer"> <a href="/market/">market analytics</a><a href="/app/">apps to run models locally</a><a href="/tools/">tools of the field</a><a href="/api/">API · beta</a><a href="/rss.xml">RSS · new models feed</a><a href="/terms/">terms</a><a href="/privacy/">privacy</a><a href="/transparency/">transparency</a><a href="/for-regulators/">for regulators</a> </nav> <div class="h26-foot-meta"> <span>Operated by <a href="https://catyonic.com/" rel="noopener">Catyonic OÜ</a> · Tallinn, Estonia</span> </div> </footer> </div> <dialog id="open-in-app-dialog" class="oiad" aria-labelledby="oiad-title" data-texts="{"lay.oiad.eyebrow.open":["Open in Abliteration","Open in Abliteration"],"lay.oiad.eyebrow.why":["Why not in the app?","Why not in the app?"],"lay.oiad.basis.measured":["Fit measured on this machine by the Abliteration app.","The Abliteration app measured what fits on this computer."],"lay.oiad.noapp":["This model comes in {n} GGUF unit{s} (a single file or a split set each). The app picks the one that fits this computer and installs it in one step.","This model comes in {n} file{s}. The app picks the one that fits your computer and installs it in one click."],"lay.oiad.sent":["Sent to Abliteration. Confirm the download in the app window.","Sent to Abliteration. Confirm the download in the app window."],"lay.oiad.nothing":["Nothing happened?","Nothing happened?"],"lay.oiad.nothing.link":["Get the free app →","Get the free app →"],"lay.oiad.unit.incomplete":["{parts} of {total} parts · incomplete","{parts} of {total} parts · incomplete"],"lay.oiad.unit.shards":["split into {total} parts · download from Hugging Face","comes in {total} pieces · download from Hugging Face"],"lay.oiad.unit.other_split":["{total} parts · not installable from here","{total} parts · not installable from here"],"lay.oiad.unit.parts":["{total} parts","{total} parts"],"lay.oiad.unit.parts_of":["{parts} of {total} parts","{parts} of {total} parts"],"lay.oiad.mtp.fast":["fast","fast"],"lay.oiad.mtp.compat":["compat","compat"],"lay.oiad.error.throttled":["Too many lookups from your connection right now. Try again in a minute.","Too many lookups from your connection right now. Try again in a minute."],"lay.oiad.error.other":["Could not reach Hugging Face. The model may be private or HF may be throttling us.","Could not reach Hugging Face. The model may be private, or the site may be limiting us."]}"> <div class="oiad-inner"> <div class="oiad-header"> <div class="oiad-eyebrow" data-oiad-eyebrow>Open in Abliteration</div> <button type="button" class="oiad-close" data-oiad-close aria-label="Close">×</button> </div> <h2 id="oiad-title" class="oiad-title" data-oiad-slug></h2> <div class="oiad-body" data-oiad-body> <div data-oiad-state="loading" hidden> <div class="oiad-loading"> <div class="oiad-spinner" aria-hidden="true"></div> <div>Checking files on Hugging Face…</div> </div> </div> <div data-oiad-state="gated" hidden> <div class="oiad-warn"> <span class="tl-t">This model is gated: it requires licence acceptance on Hugging Face</span><span class="tl-p">You have to accept this model's licence on Hugging Face</span> </div> <ol class="oiad-steps"> <li> <span class="oiad-step-n">1</span> <span>Open the model on Hugging Face in a new tab</span> <a class="oiad-step-btn" target="_blank" rel="noopener" data-oiad-hf-link data-track-click="hf-open-page">Open on Hugging Face →</a> </li> <li> <span class="oiad-step-n">2</span> <span>Accept the licence (one click on their page). Stay logged in.</span> </li> <li> <span class="oiad-step-n">3</span> <span>Come back and confirm</span> <button type="button" class="oiad-step-btn oiad-step-btn--primary" data-oiad-acknowledge data-track-click="hf-licence-accepted"><span class="tl-t">I ACCEPTED → show quants</span><span class="tl-p">I ACCEPTED → show files</span></button> </li> </ol> </div> <div data-oiad-state="gated-no-access" hidden> <div class="oiad-lede"> <span class="tl-t">Hugging Face keeps the file list private for gated repos; your acceptance only applies in your HF session, not from our server. Open the files on Hugging Face directly; the download works as soon as you're signed in there.</span><span class="tl-p">For a model with access on request, Hugging Face shows the file list only to you, not to our server. Open the files on Hugging Face: the download works once you are signed in there.</span> </div> <a class="oiad-step-btn" target="_blank" rel="noopener" data-oiad-hf-link data-oiad-hf-files data-track-click="hf-fallback-gated"> View files on Hugging Face → </a> </div> <div data-oiad-state="handheld" hidden> <p class="oiad-handheld-text"><span class="tl-t">Installing a model in one step works in the desktop app for macOS and Windows. On this device, get the app from the App Store or Google Play and add the GGUF file yourself.</span><span class="tl-p">Installing a model in one step works in the desktop app for Mac and Windows. On this device, get the app from the App Store or Google Play and add the model file yourself.</span></p> <div class="oiad-handheld-badges"> <a class="oiad-badge oiad-badge-apple" href="https://apps.apple.com/app/abliteration/id6807327665" target="_blank" rel="noopener" data-track-click="dialog-app-store"> <img src="/img/app-store-badge-black.svg" alt="Download on the App Store" width="197" height="66" loading="lazy"> </a> <a class="oiad-badge oiad-badge-play" href="https://play.google.com/store/apps/details?id=org.abliteration.models" target="_blank" rel="noopener" data-track-click="dialog-play-store"> <img src="/img/google-play-badge.png" alt="Get it on Google Play" width="250" height="97" loading="lazy"> </a> </div> </div> <div data-oiad-state="hf-refused" hidden> <div class="oiad-nope"> <span class="tl-t">This repository is private or no longer exists on Hugging Face.</span><span class="tl-p">This model is private, or it is no longer on Hugging Face.</span> </div> <a class="oiad-step-btn" target="_blank" rel="noopener" data-oiad-hf-link data-track-click="hf-fallback-gated"> Open on Hugging Face → </a> </div> <div data-oiad-state="format" hidden> <div class="oiad-nope oiad-format"> <div class="oiad-format-top"> <div class="oiad-format-name" data-oiad-format-name></div> <span class="oiad-format-chip" data-oiad-format-status hidden></span> </div> <h3 class="oiad-format-h">What this is</h3> <p class="oiad-format-p" data-oiad-format-what></p> <h3 class="oiad-format-h">Can you use it?</h3> <p class="oiad-format-p" data-oiad-format-canuse></p> <h3 class="oiad-format-h">What to do instead</h3> <p class="oiad-format-p" data-oiad-format-instead></p> </div> <a class="oiad-step-btn ui-btn" data-oiad-format-gguf data-track-click="gguf-version" hidden> <span class="tl-t">Open the GGUF version →</span><span class="tl-p">Open the ready copy →</span> </a> <a class="oiad-step-btn ui-btn" target="_blank" rel="noopener" data-oiad-hf-link data-oiad-hf-files data-oiad-format-files data-track-click="why-view-files"> View the files on Hugging Face </a> </div> <div data-oiad-state="no-gguf" hidden> <div class="oiad-nope"> <span class="tl-t">This model has no GGUF files in its repository right now, so the desktop app can't run it. The app runs GGUF models today.</span><span class="tl-p">This model has no files in the format the app uses right now, so the desktop app can't run it.</span> </div> <a class="oiad-step-btn" target="_blank" rel="noopener" data-oiad-hf-link> View on Hugging Face → </a> </div> <div data-oiad-state="no-main" hidden> <div class="oiad-nope"> <span class="tl-t">This repository only has companion GGUF files (speculative-decoding drafts or vision projectors), not the model's own weights, so the desktop app can't run it on its own.</span><span class="tl-p">This model's page has only helper files (for reading pictures or faster answers), not the weights, the very large set of numbers the model is made of. The app can't run them alone.</span> </div> <a class="oiad-step-btn" target="_blank" rel="noopener" data-oiad-hf-link> View on Hugging Face → </a> </div> <div data-oiad-state="quants" hidden> <div class="oiad-noapp" data-oiad-noapp hidden> <p class="oiad-noapp-text" data-oiad-noapp-text></p> <a class="oiad-step-btn oiad-step-btn--primary oiad-noapp-btn" href="/app" data-track-click="dialog-get-app">Get the free app</a> </div> <div class="oiad-pick-h" data-oiad-pick-h hidden>Or pick a file yourself</div> <div class="oiad-lede" data-oiad-lede> <span class="tl-t">Pick a file. <b>★ recommended</b> marks the largest Q4_K_M to Q6_K file that runs with 1 GiB to spare, judged against 90% of the free memory the app measured; without one, the fallbacks of pickStar (src/lib/fit.ts). Larger quantizations give slightly higher quality and run slower; smaller ones download faster.</span><span class="tl-p">Pick a file. <b>★ recommended</b> marks the best balance for your computer: good quality that still answers quickly and leaves memory free for other apps. Bigger files answer a little sharper but run slower; smaller ones download faster.</span> <span data-oiad-fit-basis hidden></span> </div> <div class="oiad-unknown" data-oiad-fit-highest hidden></div> <div class="oiad-unknown" data-oiad-fit-nobasis hidden></div> <div class="oiad-unknown" data-oiad-fit-note hidden></div> <div class="oiad-unknown" data-oiad-gated-unknown hidden> Hugging Face did not answer, so we could not check whether this model asks you to accept terms before downloading. Check <a target="_blank" rel="noopener" data-oiad-hf-link>its page on Hugging Face</a> first. </div> <ul class="oiad-quants" data-oiad-quants-list></ul> <div class="oiad-sent" data-oiad-sent role="status" aria-live="polite" hidden></div> <div class="oiad-foot" data-oiad-foot hidden> <span class="tl-t">Companion files (vision projectors, speculative-decoding drafts) are not shown here: they only make sense attached to a main model. Find them in the <b>Files</b> tab of this model's page.</span><span class="tl-p">Helper files, for reading pictures or for faster answers, are not listed here: they only work together with a main model. They are in the <b>Files</b> tab of this model's page.</span> </div> </div> <div data-oiad-state="error" hidden> <div class="oiad-nope" data-oiad-error-msg>Could not reach Hugging Face.</div> <button type="button" class="oiad-step-btn" data-oiad-retry>Retry</button> </div> </div> </div> </dialog><script type="module" src="/_astro/OpenInAppDialog.astro_astro_type_script_index_0_lang.ReFbKfBi.js"></script> <script>(function(){const KEY = "abl_text_level"; const SEEN = "abl_level_seen"; const EVT = "abl:text-level"; const PICK = "abl:text-level-pick"; const SEEN_EVT = "abl:text-level-seen"; const DEF = "technical"; (function () { var html = document.documentElement; function get() { var l = html.getAttribute('data-text-level'); return l === 'plain' || l === 'technical' ? l : DEF; } function applyAttrs(root) { var level = get(); var els = (root || document).querySelectorAll('[data-tl-attr]'); for (var i = 0; i < els.length; i++) { var map; try { map = JSON.parse(els[i].getAttribute('data-tl-attr')); } catch (e) { continue; } for (var name in map) { if (Object.prototype.hasOwnProperty.call(map, name)) els[i].setAttribute(name, map[name][level === 'plain' ? 1 : 0]); } } } function syncButtons() { var level = get(); var bs = document.querySelectorAll('[data-text-level-set]'); for (var i = 0; i < bs.length; i++) bs[i].setAttribute('aria-pressed', String(bs[i].getAttribute('data-text-level-set') === level)); } function set(level) { if (level !== 'plain' && level !== 'technical') return; try { localStorage.setItem(KEY, level); } catch (e) { /* storage blocked: this page only */ } if (get() === level) { syncButtons(); return; } html.setAttribute('data-text-level', level); applyAttrs(document); syncButtons(); window.dispatchEvent(new CustomEvent(EVT, { detail: { level: level } })); } function seen() { return !html.hasAttribute('data-level-unseen'); } function markSeen() { try { localStorage.setItem(SEEN, '1'); } catch (e) { /* storage blocked: this page only */ } if (seen()) return; html.removeAttribute('data-level-unseen'); window.dispatchEvent(new CustomEvent(SEEN_EVT)); } window.ablTextLevel = { get: get, set: set, applyAttrs: applyAttrs, seen: seen, markSeen: markSeen }; function init() { if (get() === 'plain') applyAttrs(document); syncButtons(); document.addEventListener('click', function (e) { var b = e.target && e.target.closest ? e.target.closest('[data-text-level-set]') : null; if (!b) return; var level = b.getAttribute('data-text-level-set'); var first = !seen(); set(level); window.dispatchEvent(new CustomEvent(PICK, { detail: { level: level } })); // First click: the explainer opens; closing it marks the switch seen. Without it, seen now. if (first && !(window.ablLevelExplainer && window.ablLevelExplainer.open(b))) markSeen(); }); } if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', init); else init(); })(); })();</script> <script type="module">function e(e){let t=e.getAttribute(`data-copy-text`);if(t!=null)return t;let n=e.getAttribute(`data-copy-target`),r=n?document.getElementById(n):null;if(!r){let t=e.closest(`[data-copy-scope]`)??e.parentElement,n=t?[...t.querySelectorAll(`pre`)]:[];r=n.find(e=>!e.hidden&&e.getClientRects().length>0)??n[0]??null}return(r?.textContent??``).replace(/\s+$/,``)}async function t(e){try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),!0}catch{}let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.top=`0`,t.style.opacity=`0`,document.body.appendChild(t),t.select();let n=!1;try{n=document.execCommand(`copy`)}catch{n=!1}return t.remove(),n}function n(){let e=e=>{let t=e.parentElement;t&&!e.hidden&&e.clientWidth&&t.classList.toggle(`cbx-wide`,e.scrollWidth>e.clientWidth+1)},t=[...document.querySelectorAll(`.cbx > pre`)];if(!t.length)return;let n=typeof ResizeObserver<`u`?new ResizeObserver(t=>t.forEach(t=>e(t.target))):null,r=new MutationObserver(t=>t.forEach(t=>{let n=(t.target instanceof HTMLElement?t.target:t.target.parentElement)?.closest(`.cbx > pre`);n&&e(n)}));for(let i of t)e(i),n?.observe(i),r.observe(i,{childList:!0,characterData:!0,subtree:!0,attributes:!0,attributeFilter:[`hidden`]})}function r(){window.__ablCopyInit||(window.__ablCopyInit=!0,document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,n):n(),document.addEventListener(`click`,async n=>{let r=n.target?.closest(`[data-copy-btn]`);if(!r)return;n.preventDefault(),n.stopPropagation();let i=e(r);if(!i)return;let a=await t(i),o=r.dataset.copyLabel??(r.dataset.copyLabel=r.textContent?.trim()||`Copy`);r.textContent=a?`Copied`:`Copy failed`,r.classList.toggle(`is-copied`,a),r.setAttribute(`aria-live`,`polite`),window.clearTimeout(Number(r.dataset.copyTimer||0)),r.dataset.copyTimer=String(window.setTimeout(()=>{r.textContent=o,r.classList.remove(`is-copied`)},1500))}))}r();</script> <script type="module">var e=[`boxSizing`,`width`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`borderTopWidth`,`borderRightWidth`,`borderBottomWidth`,`borderLeftWidth`,`borderStyle`,`fontFamily`,`fontSize`,`fontWeight`,`fontStyle`,`fontVariant`,`fontStretch`,`fontFeatureSettings`,`lineHeight`,`letterSpacing`,`wordSpacing`,`textTransform`,`textIndent`,`tabSize`];function t(t){if(t.dataset.blockCaretOn)return;t.dataset.blockCaretOn=`1`,t.classList.add(`has-block-caret`);let n=document.createElement(`span`);n.className=`block-caret`,n.setAttribute(`aria-hidden`,`true`),n.hidden=!0;let r=document.createElement(`div`);r.setAttribute(`aria-hidden`,`true`),r.style.cssText=`position:absolute;top:0;left:-9999px;visibility:hidden;overflow:hidden;height:auto;`;let i=t instanceof HTMLTextAreaElement,a=0;function o(){a=0;let o=t.offsetParent;if(document.activeElement!==t||!o){n.hidden=!0;return}n.parentElement!==o&&o.appendChild(n),r.isConnected||document.body.appendChild(r);let s=getComputedStyle(t);for(let t of e)r.style[t]=s[t];r.style.whiteSpace=i?`pre-wrap`:`pre`,r.style.overflowWrap=i?`break-word`:`normal`,r.style.wordBreak=s.wordBreak,r.style.width=s.width;let c=(t.selectionDirection===`backward`?t.selectionStart:t.selectionEnd)??t.value.length;r.textContent=t.value.slice(0,c);let l=document.createElement(`span`);l.textContent=t.value.slice(c)||`.`,r.appendChild(l);let u=parseFloat(s.fontSize),d=parseFloat(s.lineHeight)||u*1.4,f=Math.round(u),p=l.offsetLeft-t.scrollLeft,m=l.offsetTop-t.scrollTop,h=p>=0&&p<=t.clientWidth&&m>=0&&m+d/2<=t.clientHeight+parseFloat(s.paddingBottom);n.hidden=!h,n.style.left=`${t.offsetLeft+p-1}px`,n.style.top=`${t.offsetTop+m+(d-f)/2}px`,n.style.height=`${f}px`,n.style.animation=`none`,n.offsetWidth,n.style.animation=``}let s=()=>{a||=requestAnimationFrame(o)};for(let e of[`focus`,`input`,`keydown`,`keyup`,`click`,`select`,`scroll`,`mouseup`])t.addEventListener(e,s);t.addEventListener(`blur`,()=>{n.hidden=!0}),document.addEventListener(`selectionchange`,()=>{document.activeElement===t&&s()}),window.addEventListener(`resize`,s),new ResizeObserver(s).observe(t)}function n(e=document){e.querySelectorAll(`[data-block-caret]`).forEach(t)}n();</script> <script> (function () { if (window.__ablRig) return; // already running on this page var TTL_MS = 30 * 1000; var FLAG = true; var PORTS = [47821, 47822, 47823]; var PERMISSION = 'local-network-access'; var RECHECK_MS = 10 * 1000; // Not connected: how often the app's port is asked, and for how long after the last focus. var FAST_MS = 250; var FAST_FOR_MS = 10 * 60 * 1000; // The other ports, every this many fast ticks (5 s). var OTHER_PORTS_EVERY = 20; // Connected: how often the app is asked whether it is still there. var HEARTBEAT_MS = 1000; // A click on "Connect": the browser may wait for the visitor's answer to its prompt. var CONNECT_TIMEOUT_MS = 60 * 1000; function guess() { var dm = typeof navigator.deviceMemory === 'number' ? navigator.deviceMemory : 4; var totalGb = Math.min(dm, 8); // a cautious floor: some Chrome versions report up to 32 var freeGb = Math.max(1, Math.round(totalGb * 0.75 * 10) / 10); var ua = navigator.userAgent || ''; var os = null; if (/Windows/i.test(ua)) os = 'Windows'; else if (/Mac OS X|Macintosh/i.test(ua)) os = 'macOS'; else if (/Linux/i.test(ua)) os = 'Linux'; return { schema: 1, source: 'guess', os: { name: os, version: null, arch: null }, cpu: { model: null, vendor: null, cores_physical: null, cores_logical: navigator.hardwareConcurrency || null }, ram: { total_gb: totalGb, free_gb: freeGb }, gpu: { name: null, vendor: null, vram_total_gb: 0, vram_free_gb: 0 }, device_memory: typeof navigator.deviceMemory === 'number' ? navigator.deviceMemory : null, measured_at: new Date().toISOString(), }; } function fetchWithTimeout(url, ms) { var ac = new AbortController(); var t = setTimeout(function () { ac.abort(); }, ms); return fetch(url, { signal: ac.signal, cache: 'no-store', mode: 'cors' }) .finally(function () { clearTimeout(t); }); } // The port the app answered on last (this tab), asked first. var appPort = PORTS[0]; try { var sp = Number(sessionStorage.getItem('abl_rig_port')); if (PORTS.indexOf(sp) >= 0) appPort = sp; } catch (_) {} function portsInOrder() { return [appPort].concat(PORTS.filter(function (p) { return p !== appPort; })); } // The app's /rig on one port, or null. A port nobody listens on fails at once, so only the // app's port can take long (and only while the browser asks for the permission). async function readPort(port, ms) { try { var h = await fetchWithTimeout('http://127.0.0.1:' + port + '/health', ms); if (!h.ok) return null; var r = await fetchWithTimeout('http://127.0.0.1:' + port + '/rig', 1500); if (!r.ok) return null; var body = await r.json(); body.source = 'connected'; if (port !== appPort) { appPort = port; try { sessionStorage.setItem('abl_rig_port', String(port)); } catch (_) {} } return body; } catch (_) { return null; } } async function readApp(ms, ports) { if (!FLAG) return null; var list = ports || portsInOrder(); for (var i = 0; i < list.length; i++) { var body = await readPort(list[i], ms); if (body) return body; } return null; } function save(rig) { try { sessionStorage.setItem('abl_rig', JSON.stringify({ _t: Date.now(), rig: rig })); } catch (_) {} } function cachedRig() { try { var raw = sessionStorage.getItem('abl_rig'); if (!raw) return null; var cached = JSON.parse(raw); // A guess cached before device_memory existed is guessed again. var stale = cached && cached.rig && cached.rig.source === 'guess' && !('device_memory' in cached.rig); if (cached && !stale && (Date.now() - cached._t) < TTL_MS) return cached.rig; } catch (_) {} return null; } function publish(rig) { window.__ablRigInfo = rig; window.dispatchEvent(new CustomEvent('abl-rig-ready', { detail: rig })); } function differs(a, b) { if (!a || !b) return true; if (a.source !== b.source) return true; var ar = a.ram || {}, br = b.ram || {}; return Math.abs((ar.free_gb || 0) - (br.free_gb || 0)) >= 0.5 || Math.abs((ar.total_gb || 0) - (br.total_gb || 0)) >= 0.5; } var api = { load: loadRig, guess: guess, connect: connect, permission: 'unsupported' }; window.__ablRig = api; function setPermission(state) { api.permission = state; window.dispatchEvent(new CustomEvent('abl-rig-permission', { detail: state })); } function mayProbe() { return api.permission === 'granted' || api.permission === 'unsupported'; } async function loadRig() { var c = cachedRig(); if (c) return c; var rig = mayProbe() ? await readApp(1500) : null; if (!rig) rig = guess(); save(rig); return rig; } // The "Connect" card's click: a probe the browser may hold while it asks. async function connect() { var rig = await readApp(CONNECT_TIMEOUT_MS); if (rig) { save(rig); publish(rig); } return !!rig; } function connectedNow() { return !!window.__ablRigInfo && window.__ablRigInfo.source === 'connected'; } function canPoll() { return FLAG && mayProbe() && document.visibilityState !== 'hidden'; } // Connected -> not connected (or a changed answer): published as it is found. var lastCheck = 0; async function recheck(force) { if (!canPoll()) return; var now = Date.now(); if (!force && now - lastCheck < RECHECK_MS) return; lastCheck = now; var rig = (await readApp(1500)) || guess(); if (differs(window.__ablRigInfo, rig)) { save(rig); publish(rig); } schedule(); } // Not connected: ask the app's port every FAST_MS until it answers, for FAST_FOR_MS. var fastUntil = 0, fastTimer = 0, fastBusy = false, fastTick = 0; async function fastProbe() { fastTimer = 0; if (!canPoll() || connectedNow() || Date.now() > fastUntil) return; if (!fastBusy) { fastBusy = true; fastTick++; var ports = fastTick % OTHER_PORTS_EVERY === 0 ? portsInOrder() : [appPort]; var rig = await readApp(1000, ports); fastBusy = false; if (rig && !connectedNow()) { lastCheck = Date.now(); save(rig); publish(rig); } } schedule(); } // Connected: is the app still there? One /health while visible, every HEARTBEAT_MS. var beatTimer = 0; async function heartbeat() { beatTimer = 0; if (!canPoll() || !connectedNow()) return; var ok = false; try { ok = (await fetchWithTimeout('http://127.0.0.1:' + appPort + '/health', 1500)).ok; } catch (_) { ok = false; } if (!ok && connectedNow()) { await recheck(true); return; } schedule(); } // One timer at a time: the fast loop while not connected, the heartbeat while connected. function schedule() { if (!canPoll()) return; if (connectedNow()) { if (fastTimer) { clearTimeout(fastTimer); fastTimer = 0; } if (!beatTimer) beatTimer = setTimeout(heartbeat, HEARTBEAT_MS); } else { if (beatTimer) { clearTimeout(beatTimer); beatTimer = 0; } if (!fastTimer && Date.now() <= fastUntil) fastTimer = setTimeout(fastProbe, FAST_MS); } } // The page came back into view or got focus. function wake() { if (!canPoll()) return; if (connectedNow()) { schedule(); recheck(false); return; } fastUntil = Date.now() + FAST_FOR_MS; if (!fastTimer && !fastBusy) fastProbe(); } (async function start() { if (FLAG && navigator.permissions && navigator.permissions.query) { try { var status = await navigator.permissions.query({ name: PERMISSION }); setPermission(status.state); status.onchange = function () { setPermission(status.state); if (status.state === 'granted') { fastUntil = Date.now() + FAST_FOR_MS; recheck(true); } }; } catch (_) { /* no such permission in this browser: probe as before */ } } lastCheck = Date.now(); publish(await loadRig()); fastUntil = Date.now() + FAST_FOR_MS; schedule(); })(); // A connection made elsewhere (the Connect button) or lost: switch timers. window.addEventListener('abl-rig-ready', function () { schedule(); }); document.addEventListener('visibilitychange', function () { if (document.visibilityState === 'visible') wake(); }); window.addEventListener('focus', wake); })(); </script> <script> (function () { var mq = window.matchMedia('(max-width: 1199px)'); var OWN = '.dtabs-row, .a26-tabs, .paths-track, [data-own-fade]'; var boxes = []; function mark(el) { var max = el.scrollWidth - el.clientWidth; el.toggleAttribute('data-sx-start', max > 2 && el.scrollLeft > 2); el.toggleAttribute('data-sx-end', max > 2 && el.scrollLeft < max - 2); } function scan() { boxes.forEach(function (el) { el.removeAttribute('data-sx-start'); el.removeAttribute('data-sx-end'); }); boxes = []; if (!mq.matches) return; var all = document.body.querySelectorAll('pre, table, div, nav, ul, code, section'); for (var i = 0; i < all.length; i++) { var el = all[i]; if (el.scrollWidth <= el.clientWidth + 2) continue; var ox = getComputedStyle(el).overflowX; if (ox !== 'auto' && ox !== 'scroll') continue; if (el.matches(OWN) || el.closest('dialog:not([open])')) continue; boxes.push(el); if (!el.__sx) { el.__sx = true; el.addEventListener('scroll', function () { mark(this); }, { passive: true }); } if (!el.__sxPos && el.hasAttribute('data-sx-latest')) { el.__sxPos = true; el.scrollLeft = el.scrollWidth; } mark(el); } } var t; function later() { clearTimeout(t); t = setTimeout(scan, 250); } if (document.readyState === 'complete') later(); else window.addEventListener('load', later); window.addEventListener('resize', later); window.addEventListener('abl:text-level', later); // A tab opened by its link (#files, #community) or a block opened by its summary shows boxes that were hidden. window.addEventListener('hashchange', later); document.addEventListener('toggle', later, true); if (mq.addEventListener) mq.addEventListener('change', later); // Boxes filled later (tab panels, dialogs, the agent's answers): look again after clicks. document.addEventListener('click', function () { setTimeout(later, 300); }, { passive: true }); })(); </script> </body> </html><script type="module" src="/_astro/_slug_.astro_astro_type_script_index_0_lang.Ta712SIE.js"></script>