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.

Magurofg/ifeval-pt

published by @Magurofg

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

task_categories:text-generationlanguage:ptlicense:apache-2.0size_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:pandas +7 more
Lifetime downloads
326
Last 30 days
132
Likes
-
Size
80.9 KB

Description

IFEval-pt

Benchmark de seguimento de instrução em português do Brasil, com 308 itens cuja

verificação é feita por código — sem juiz LLM, sem GPU, sem opinião. Reproduzir custa

alguns minutos de CPU.

O que ele tem de diferente

Já existem versões do IFEval em português: amalia-llm/IFEval-mt-pt (541 itens, pt-PT),

Polygl0t/IFEval-PT (300), a fatia pt do facebook/Multi-IF (524) e

akawaai/Portuguese-IFEval (618). Todas são tradução do conjunto em inglês — medem… See the full description on the dataset page: https://huggingface.co/datasets/Magurofg/ifeval-pt.

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

default default
Data files
ifeval_pt_input_data.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
pt
Created on HFCreated
2026-07-31 · 4 months ago
Size category
n<1K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
80.9 KB
Files
5
Formats
py, jsonl
Head
d2f5a2c
Last updated on HFLast updated
2026-10-22

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

Files by folder from our last crawlfrom our last check

top level 5 files 80.9 KB
.gitattributes 2.5 KB file download
ifeval_pt_input_data.jsonl 55.1 KB jsonl download
ifeval_pt.py 13.2 KB py download
README.md 5.0 KB md download
testes.py 5.1 KB py download

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

IFEval-pt

Benchmark de seguimento de instrução em português do Brasil, com 308 itens cuja
verificação é feita por código — sem juiz LLM, sem GPU, sem opinião. Reproduzir custa
alguns minutos de CPU.

O que ele tem de diferente

Já existem versões do IFEval em português: amalia-llm/IFEval-mt-pt (541 itens, pt-PT),
Polygl0t/IFEval-PT (300), a fatia pt do facebook/Multi-IF (524) e
akawaai/Portuguese-IFEval (618). Todas são tradução do conjunto em inglês — medem,
portanto, inglês vertido para o português.

Este aqui testa restrições que só existem na língua portuguesa e que uma tradução não
poderia conter:

Restrição Exemplo de instrução
ptbr:crase / ptbr:sem_crase "Use crase pelo menos uma vez"
ptbr:mesoclise "Use uma mesóclise, como em 'dar-lhe-ei'"
ptbr:proclise "Use próclise depois de palavra atrativa, como em 'não me diga'"
ptbr:enclise "Use ênclise, como em 'diga-me'"
ptbr:porque_ambos "Use 'por que' e 'porque' na mesma resposta"
ptbr:cedilha "Use pelo menos três palavras com ç"
ptbr:sem_til "Escreva sem usar nenhum til (ã, õ)"
ptbr:so_voce "Trate o leitor por 'você' e nunca por 'tu'"
ptbr:sem_diacritico "Escreva sem nenhum acento ou cedilha"
ptbr:sem_digito "Escreva os números por extenso"
ptbr:agudo_e_circunflexo "Use uma palavra com agudo e uma com circunflexo"

A de próclise é a mais direta: a regra gramatical é o próprio teste — próclise é
obrigatória depois de palavra atrativa, então o verificador procura exatamente
atrativo + pronome + verbo.

Além dessas, há as restrições genéricas herdadas do IFEval original (número de frases,
número de palavras, palavra obrigatória, palavra proibida, começar/terminar com, caixa
baixa).

Formato

Mesmas quatro colunas do google/IFEval, para ser compatível de imediato com quem já
avalia o original:

{"key": 11,
 "prompt": "Explique o que é reciclagem. Use crase pelo menos uma vez na resposta.",
 "instruction_id_list": ["ptbr:crase"],
 "kwargs": [{}]}

308 itens = 14 tarefas-base × 22 variantes de restrição (21 verificadores; max_frases
entra com dois limites). Com 14 itens por restrição dá para ver a taxa de cada uma, mas
o intervalo é largo: em 7/14, o intervalo de Wilson a 95% é de cerca de ±23 pp. Para
o agregado de 308 itens, ±5,5 pp é aproximação de pior caso sob independência (as 22
variantes reusam 14 tarefas-base); comparar modelos exige análise pareada por tarefa-base.

Duas notas, como no original

  • estrita: a restrição vale no texto exatamente como veio.
  • frouxa: vale depois de remover marcação de markdown, aspas e espaço sobrando —
    modelo pequeno erra por embrulhar a resposta, não por desobedecer.

Como rodar

python ifeval_pt.py --url http://SEU-ENDPOINT/v1 --modelo NOME --saida resultado.json

Qualquer endpoint compatível com a API da OpenAI serve. O script está no mesmo
repositório e não depende de nada além da biblioteca padrão.

Resultado de referência

Modelo Estrita Frouxa quando
Pocket-LM 269M base corpus-limpo-v1 (só pré-treino) 39,6% 39,6% ago/2026
Pocket-LM 269M pocket-assistente-v2 (sem pós-processamento) 40,6% não medida ago/2026
Pocket-LM 269M, base anterior (ext3, substituída) 32,8% 32,8% jul/2026
Sabiá-4 (Maritaca, via API) 86,7% 86,7% ago/2026
Sabiazinho-4 (Maritaca, via API) 88,3% 88,3% ago/2026

Agregado (n=308): cerca de ±5,5 pp só sob independência (aproximação). A análise por restrição abaixo
foi feita na base anterior (32,8%).

O padrão que aparece nesse resultado vale como aviso a quem for usar o benchmark:
restrições passivas ("não use crase") são satisfeitas por acidente quando a resposta é
curta — 12/14 — enquanto as ativas ("use crase") falham — 1/14. Ao comparar modelos,
olhar a tabela por restrição, não só a média.

Armadilhas de medição já tratadas

  • Abreviações comuns ("Sr.", "etc.", "p.ex.") não contam como fim de frase — sem isso a
    contagem infla e o modelo é reprovado por erro do medidor.
  • Palavra proibida é detectada com e sem acento: pedir para não usar "você" pega
    também "voce".
  • Contagem de palavras aceita caracteres acentuados.

Licença e citação

Apache 2.0. Se usar, cite este repositório. Construído como parte do projeto Pocket-LM,
um modelo de linguagem pt-BR de 269M treinado do zero para rodar offline no celular.

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-10-22 Card: intervalo do agregado e da tabela por restrição d2f5a2c 4.9 KB
    Loading...
  2. 2026-07-31 IFEval-pt: 308 itens, 12 restricoes da lingua portuguesa e14e889 4.2 KB
    Loading...
  3. 2026-07-31 initial commit 9d60b4b 0 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-08-01 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

Magurofg/ifeval-pt

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