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.

sungyub/ifbench-verl

published by @sungyub

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

task_categories:text-generationtask_categories:reinforcement-learninglanguage:enlicense:odc-bysize_categories:10K<n<100Kformat:parquetformat:optimized-parquetmodality:text +13 more
Lifetime downloads
643
Last 30 days
62
Likes
1
Size
66.1 MB

Description

IFBench-VERL: Instruction Following Evaluation Dataset for VERL Training

Overview

IFBench-VERL is a comprehensive instruction-following evaluation dataset formatted for VERL (Versatile Reinforcement Learning) training pipelines. This dataset contains 95,373 high-quality examples with 54 different constraint types, enabling systematic training and evaluation of instruction-following capabilities in language models.

The dataset is converted from… See the full description on the dataset page: https://huggingface.co/datasets/sungyub/ifbench-verl.

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

default default 95,373 rows
SplitPartRowsSize
train 95,373 78.5 MB
FeaturesFields
data_sourcestring promptlist<struct> abilitystring reward_modelstruct extra_infostruct datasetstring
Data files
train data/train-*

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
odc-by
Language
en
Created on HFCreated
2025-11-03 · 1 years ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
parquetoptimized-parquet
LibrariesTools
datasetspandaspolarsmlcroissant
ArXivPaper

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
66.1 MB
Files
3
Formats
parquet
Head
abad876
Last updated on HFLast updated
2025-11-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("sungyub/ifbench-verl")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="sungyub/ifbench-verl", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/sungyub/ifbench-verl

Files by folder from our last crawlfrom our last check

top level 2 files 15.9 KB
.gitattributes 2.5 KB file download
README.md 13.4 KB md download
data/ 1 file 66.1 MB
train-00000-of-00001.parquet 66.1 MB parquet download

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

IFBench-VERL: Instruction Following Evaluation Dataset for VERL Training

Overview

IFBench-VERL is a comprehensive instruction-following evaluation dataset formatted for VERL (Versatile Reinforcement Learning) training pipelines. This dataset contains 95,373 high-quality examples with 54 different constraint types, enabling systematic training and evaluation of instruction-following capabilities in language models.

The dataset is converted from allenai/IF_multi_constraints_upto5 into VERL-compatible format with integrated IFEval-based reward modeling for automatic constraint verification.

Key Statistics

  • Total Examples: 95,373
  • Format: Parquet (VERL-compatible)
  • Data Source: allenai/IF_multi_constraints_upto5
  • License: ODC-BY-1.0 (Open Data Commons Attribution License)
  • Conversion Date: November 3, 2025
  • Constraint Types: 54 different instruction-following constraints
  • Constraint Categories: 13 (keywords, language, length, content, format, punctuation, etc.)
  • Max Constraints per Example: Up to 5 constraints
  • Reward Model: IFEval-based automatic evaluation

Dataset Structure

Schema

The dataset follows the VERL standard schema format:

{
    'data_source': 'allenai/IF_multi_constraints_upto5',
    'prompt': [
        {
            'role': 'system',
            'content': 'You are a helpful assistant...'
        },
        {
            'role': 'user',
            'content': 'Write a paragraph about...'
        }
    ],
    'ability': 'instruction_following',
    'reward_model': {
        'style': 'ifeval',
        'ground_truth': '[{"instruction_id": ["keywords:existence"], "kwargs": [{"keywords": ["example", "test"]}]}]'
    },
    'extra_info': {
        'index': 0
    },
    'dataset': 'ifeval'
}

Field Descriptions

Field Type Description
data_source string Original dataset identifier
prompt list[dict] Conversation with system and user messages containing instruction-following constraints
ability string Task category (always "instruction_following")
reward_model.style string Reward model type (always "ifeval")
reward_model.ground_truth string JSON-encoded constraint specifications for automatic evaluation
extra_info.index int Original example index from source dataset
dataset string Dataset identifier for GRPO verifier routing (always "ifeval")

Instruction Following Tasks

This dataset tests 54 different constraint types across 13 major categories:

Constraint Categories

  1. Keywords (8 constraints)

    • keywords:existence - Require specific keywords
    • keywords:frequency - Control keyword frequency
    • keywords:forbidden_words - Prohibit certain words
    • keywords:letter_frequency - Control letter frequency
    • keywords:no_adjacent_consecutive - Prevent adjacent letters
    • keywords:word_once - Require words exactly once
    • keywords:palindrome - Require palindrome words
    • keywords:keyword_specific_position - Place keywords at specific positions
    • keywords:start_end - Require start/end with specific text
  2. Language (1 constraint)

    • language:response_language - Require response in specific language
  3. Length Constraints (4 constraints)

    • length_constraints:number_sentences - Control sentence count
    • length_constraints:number_paragraphs - Control paragraph count
    • length_constraints:number_words - Control word count
    • length_constraints:nth_paragraph_first_word - Control specific paragraph's first word
  4. Detectable Content (2 constraints)

    • detectable_content:number_placeholders - Require placeholders (e.g., [NAME])
    • detectable_content:postscript - Require postscript section
  5. Detectable Format (8 constraints)

    • detectable_format:number_bullet_lists - Require bullet lists
    • detectable_format:constrained_response - Constrain response format
    • detectable_format:number_highlighted_sections - Require highlighted sections
    • detectable_format:multiple_sections - Require multiple sections
    • detectable_format:json_format - Require JSON format
    • detectable_format:title - Require title
    • detectable_format:sentence_hyphens - Require sentence with hyphens
    • detectable_format:square_brackets - Require square brackets
    • detectable_format:bigram_wrapping - Require bigram wrapping
  6. Combination (2 constraints)

    • combination:two_responses - Require two separate responses
    • combination:repeat_prompt - Repeat prompt then answer
  7. Start/End (2 constraints)

    • startend:end_checker - Control response ending
    • startend:quotation - Wrap response in quotation marks
  8. Change Case (3 constraints)

    • change_case:capital_word_frequency - Control capitalized word frequency
    • change_case:english_capital - All uppercase
    • change_case:english_lowercase - All lowercase
  9. Punctuation (4 constraints)

    • punctuation:no_comma - Prohibit commas
    • punctuation:punctuation_dot - End sentences with periods
    • punctuation:punctuation_exclamation - Use exclamation marks
  10. Copy (4 constraints)

    • copy:repeat_phrase - Repeat specific phrase
    • copy:copy - Copy from prompt
    • copy:copying_simple - Simple copying task
    • copy:copying_multiple - Multiple copying operations
  11. Paragraphs (2 constraints)

    • paragraphs:paragraphs - Basic paragraph structure
    • paragraphs:paragraphs2 - Alternative paragraph structure
  12. First/Last Word (4 constraints)

    • first_word:first_word_sent - Control first word of sentence
    • first_word:first_word_answer - Control first word of answer
    • last_word:last_word_sent - Control last word of sentence
    • last_word:last_word_answer - Control last word of answer
  13. Count (6 constraints)

    • count:lowercase_counting - Count lowercase letters
    • count:counting_composition - Counting composition
    • count:count_unique - Count unique elements
    • count:count_increment_word - Count with incremental words
    • letters:letter_counting - Count specific letters
    • letters:letter_counting2 - Alternative letter counting

Reward Model

IFEval-Based Automatic Evaluation

The dataset uses IFEval (Instruction Following Evaluation) for automatic constraint verification. Each example includes:

  • Constraint Specification: JSON-encoded list of constraints with parameters
  • Automatic Checking: Self-contained scorer in the datatrove library
  • Binary Scoring: Each constraint is either satisfied (1.0) or not (0.0)
  • Average Score: Final score is the average across all constraints

Ground Truth Format

The reward_model.ground_truth field contains JSON-encoded constraint specifications:

[
  {
    "instruction_id": [
      "keywords:existence",
      "length_constraints:number_words"
    ],
    "kwargs": [
      {"keywords": ["example", "test"]},
      {"num_words": 100, "relation": "at least"}
    ]
  }
]

Self-Contained Scorer

The IFEval scorer is included in the datatrove library at datatrove.utils.reward_score.ifeval:

from datatrove.utils.reward_score.ifeval import compute_score

# Evaluate model output against constraints
result = compute_score(
    model_output="Your model's response...",
    ground_truth='[{"instruction_id": [...], "kwargs": [...]}]'
)

# Result format
{
    "score": 0.85,  # Average success rate across all constraints
    "reward_fmt": 1.0,
    "reward_think": 1.0
}

Data Access

Using HuggingFace Datasets

from datasets import load_dataset

# Load the full dataset
dataset = load_dataset("sungyub/ifbench-verl", split="train")

# Example usage
example = dataset[0]
print(f"Prompt: {example['prompt']}")
print(f"Constraints: {example['reward_model']['ground_truth']}")

Using Pandas

import pandas as pd

# Load as pandas DataFrame
df = pd.read_parquet("hf://datasets/sungyub/ifbench-verl/train-00000-of-00001.parquet")

# View statistics
print(df.info())
print(df.head())

Using Polars

import polars as pl

# Load with Polars for faster processing
df = pl.read_parquet("hf://datasets/sungyub/ifbench-verl/train-00000-of-00001.parquet")

print(df.describe())

Technical Details

Metadata Standards

This dataset includes metadata following:

  • ML Commons Croissant 1.1: Structured dataset metadata
  • VERL Format: Compatible with VERL training pipelines
  • IFEval Integration: Self-contained constraint checking

Supported Libraries

  • datasets (HuggingFace)
  • pandas
  • polars
  • dask

Dependencies for Reward Scoring

To use the IFEval reward scorer, install:

pip install datatrove[reward_scoring]

# Or install specific dependencies:
pip install langdetect immutabledict nltk

Use Cases

1. Instruction Following Training

Train language models to better follow complex instructions with multiple constraints:

from datasets import load_dataset

dataset = load_dataset("sungyub/ifbench-verl", split="train")

# Use for supervised fine-tuning or RL training
for example in dataset:
    prompt = example['prompt']
    constraints = example['reward_model']['ground_truth']
    # Train your model...

2. VERL/GRPO Training

Direct integration with VERL training pipelines:

# The 'dataset' field enables automatic verifier routing in GRPO
# The reward model automatically uses IFEval scoring

3. Benchmark Evaluation

Evaluate model instruction-following capabilities across 54 constraint types:

from datatrove.utils.reward_score.ifeval import compute_score

# Evaluate model output
score = compute_score(
    model_output=model_response,
    ground_truth=example['reward_model']['ground_truth']
)

print(f"Instruction following score: {score['score']:.2%}")

4. Constraint Analysis

Analyze which constraint types are most challenging:

import json

# Group by constraint types
constraint_stats = {}
for example in dataset:
    gt = json.loads(example['reward_model']['ground_truth'])
    for constraint_id in gt[0]['instruction_id']:
        category = constraint_id.split(':')[0]
        constraint_stats[category] = constraint_stats.get(category, 0) + 1

print(constraint_stats)

Citation and License

License

This dataset is licensed under ODC-BY-1.0 (Open Data Commons Attribution License), following the original dataset's license terms. You are free to:

  • Share and redistribute the dataset
  • Adapt and modify the dataset
  • Use the dataset commercially

Under the condition of:

  • Attribution: You must give appropriate credit to the original dataset creators

Citation

If you use this dataset, please cite the original IF dataset:

@misc{if_multi_constraints_upto5,
  title={IF Multi-Constraints (Up to 5)},
  author={AI2},
  publisher={Hugging Face},
  url={https://huggingface.co/datasets/allenai/IF_multi_constraints_upto5},
  year={2024}
}

And this VERL-formatted version:

@misc{ifbench_verl,
  title={IFBench-VERL: Instruction Following Evaluation Dataset for VERL Training},
  author={Sungyub Kim},
  publisher={Hugging Face},
  url={https://huggingface.co/datasets/sungyub/ifbench-verl},
  year={2025}
}

Responsible Use

This dataset is intended for research and educational purposes in accordance with:

  • AI2's Responsible Use Guidelines
  • Open Data Commons Attribution License terms

Please ensure ethical use of this dataset and be mindful of potential biases in instruction-following evaluation.

Additional Resources

Contact

For questions or issues regarding this dataset conversion, please open an issue on the dataset repository.

README historyEdit history 5 revisions5 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. 2025-11-05 Update dataset metadata abad876 13.1 KB
    Loading...
  2. 2025-11-03 Add YAML metadata to dataset card 23e479b 13.1 KB
    Loading...
  3. 2025-11-03 Add comprehensive README with dataset documentation 4cdcf64 12.2 KB
    Loading...
  4. 2025-11-03 Upload IF dataset in VERL format (95,373 examples) 1f0b079 651 B
    Loading...
  5. 2025-11-03 initial commit a49cbc8 0 B
    Loading...

Community discussions 1 thread · 1 open · 3 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-04-10 Hello, I find datatrove libarary doesn't have datatrove.utils.reward_score.ifev… open 3 💬 #1
    Loading...
Download from Hugging Face

sungyub/ifbench-verl

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