evaluate 0 0 0

allganize/IFEval-Ko

published by @allganize

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
20.2K
Last 30 days
2.8K
Likes
11
Size
550 KB
Created on HF
2025-04-17
Age
1 years ago

Description

IFEval-Ko: Korean Instruction-Following Benchmark for LLMs

This dataset is originated from IFEval Dataset

Korean Version README

IFEval-Ko is a Korean adaptation of Google's open-source IFEval benchmark utilized with lm-evaluation-harness framework.

It enables evaluation of large language models (LLMs) for their instruction-following capabilities in the Korean language.

Dataset Details

Original Source: google/IFEval

Adaptation Author: Allganize Inc. LLM TEAM |… See the full description on the dataset page: https://huggingface.co/datasets/allganize/IFEval-Ko.

Tags

task_categories:text-generationlanguage:kolicense:apache-2.0size_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2311.07911region:usInstructionFollowingIF

README current version from Hugging Face


dataset_info:
features:

  • name: key
    dtype: int64
  • name: prompt
    dtype: string
  • name: instruction_id_list
    sequence: string
  • name: kwargs
    list:
    • name: capital_frequency
      dtype: 'null'
    • name: capital_relation
      dtype: 'null'
    • name: end_phrase
      dtype: string
    • name: first_word
      dtype: string
    • name: forbidden_words
      sequence: string
    • name: frequency
      dtype: int64
    • name: keyword
      dtype: string
    • name: keywords
      sequence: string
    • name: language
      dtype: string
    • name: let_frequency
      dtype: 'null'
    • name: let_relation
      dtype: 'null'
    • name: letter
      dtype: 'null'
    • name: nth_paragraph
      dtype: int64
    • name: num_bullets
      dtype: int64
    • name: num_highlights
      dtype: int64
    • name: num_paragraphs
      dtype: int64
    • name: num_placeholders
      dtype: int64
    • name: num_sections
      dtype: int64
    • name: num_sentences
      dtype: int64
    • name: num_words
      dtype: int64
    • name: postscript_marker
      dtype: string
    • name: prompt_to_repeat
      dtype: string
    • name: relation
      dtype: string
    • name: section_spliter
      dtype: string
      splits:
  • name: train
    num_bytes: 169148
    num_examples: 342
    download_size: 67128
    dataset_size: 169148
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
      language:
  • ko
    license: apache-2.0
    task_categories:
  • text-generation
    tags:
  • InstructionFollowing
  • IF
    size_categories:
  • n<1K

IFEval-Ko: Korean Instruction-Following Benchmark for LLMs

This dataset is originated from IFEval Dataset

Korean Version README

IFEval-Ko is a Korean adaptation of Google's open-source IFEval benchmark utilized with lm-evaluation-harness framework.
It enables evaluation of large language models (LLMs) for their instruction-following capabilities in the Korean language.

Dataset Details

Benchmark Scores

plot

How to Use

Clone lm-evaluation-harness and create the ifeval_ko folder into the lm_eval/tasks directory.

# Install lm-evaluation-harness and task dependencies
git clone --depth 1 https://github.com/EleutherAI/lm-evaluation-harness.git
cd lm-evaluation-harness
pip install -e .
pip install langdetect immutabledict 

# Download task files from Hugging Face Repository
python3 -c "
from huggingface_hub import snapshot_download
snapshot_download(
    repo_id='allganize/IFEval-Ko',
    repo_type='dataset',
    local_dir='lm_eval/tasks/',
    allow_patterns='ifeval_ko/*',
    local_dir_use_symlinks=False
) "

Please check usage of lm_eval on original lm-evaluation-harness repository before use.

Evaluation with Hugging Face Transformers

lm_eval --model hf \
    --model_args pretrained={HF_MODEL_REPO} \ 
    --tasks ifeval_ko \
    --device cuda:0 \
    --batch_size 8

e.g., {HF_MODEL_REPO} = google/gemma-3-4b-it

Evaluation with vLLM

Install vLLM-compatible backend:

pip install lm-eval[vllm]

Then run the evaluation:

lm_eval --model vllm \
    --model_args pretrained={HF_MODEL_REPO},trust_remote_code=True \
    --tasks ifeval_ko

Modifications from Original IFEval

Data Transformation

  • Translation: Prompts were translated using the gpt-4o model, with a custom prompt designed to preserve the original structure.

  • Removed Items:

    • 84 case-sensitive (change_case) tasks
    • 28 alphabet-dependent (letter_frequency) tasks
    • Other erroneous or culturally inappropriate prompts
  • Unit Conversions:

    • Gallons → Liters
    • Feet/Inches → Meters/Centimeters
    • Dollars → Korean Won (USD:KRW ≈ 1:1500)
  • Standardizations:

    • Unified headings <<Title>> or <<title>> to <<제목>>
    • Ensured consistent tone across answers

Code Changes

  • Translated instruction options:

    • instruction._CONSTRAINED_RESPONSE_OPTIONS
    • instruction._ENDING_OPTIONS
  • Modified scoring classes:

    • KeywordChecker, KeywordFrequencyChecker, ParagraphFirstWordCheck, KeySentenceChecker, ForbiddenWords, RepeatPromptThenAnswer, EndChecker
    • Applied unicodedata.normalize('NFC', ...) for normalization
    • Removed fallback keyword generator for missing fields (now throws error)
  • Removed dependency on nltk by modifying count_sentences() logic


Evaluation Metrics

Please refer to original IFEval paper:

Strict vs. Loose Accuracy

  • Strict: Checks if the model followed the instruction without transformation of response.

  • Loose: Applies 3 transformations to response before comparison:

    1. Remove markdown symbols (*, **)
    2. Remove the first line (e.g., "Here is your response:")
    3. Remove the last line (e.g., "Did that help?")

    A sample is marked correct if any of the 8 combinations match.

Prompt-level vs. Instruction-level

  • Prompt-level: All instructions in a single prompt must be followed to count as True.
  • Instruction-level: Evaluates each instruction separately for finer-grained metrics.

Created by
Allganize LLM TEAM
Keonmo Lee (이건모)

Original Citation Information

@misc{zhou2023instructionfollowingevaluationlargelanguage,
      title={Instruction-Following Evaluation for Large Language Models}, 
      author={Jeffrey Zhou and Tianjian Lu and Swaroop Mishra and Siddhartha Brahma and Sujoy Basu and Yi Luan and Denny Zhou and Le Hou},
      year={2023},
      eprint={2311.07911},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2311.07911}, 
}

README history 20 revisions

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.

  1. 2025-06-09Upload dataset54199e36.5 KB
    Loading...
  2. 2025-06-09Upload dataset3f836af6.5 KB
    Loading...
  3. 2025-06-09Upload dataseta3d7a165.4 KB
    Loading...
  4. 2025-06-09fixed eos token0b25a256.5 KB
    Loading...
  5. 2025-04-29Updated Korean README_Ko.md489ee106.5 KB
    Loading...
  6. 2025-04-29Update README.md: Erased pyzmq solution(resolved)a0c58356.5 KB
    Loading...
  7. 2025-04-29Update on README.md : Changed download method7374c116.6 KB
    Loading...
  8. 2025-04-29Update README.mdfb7759b6.8 KB
    Loading...
  9. 2025-04-29Update README.md54754436.7 KB
    Loading...
  10. 2025-04-28Upload dataset0723c446.7 KB
    Loading...
  11. 2025-04-28Upload dataset700b76f5.7 KB
    Loading...
  12. 2025-04-28Upload datasetd8038806.7 KB
    Loading...
  13. 2025-04-28Upload dataset709e58e5.7 KB
    Loading...
  14. 2025-04-28Upload dataset28da0d66.7 KB
    Loading...
  15. 2025-04-28Upload datasetfbcb0e65.7 KB
    Loading...
  16. 2025-04-28'kor' changed to 'ko'e5ff5546.7 KB
    Loading...
  17. 2025-04-28'kor' changed to 'ko'd2fa3276.7 KB
    Loading...
  18. 2025-04-28'kor' changed to 'ko'826b92b6.7 KB
    Loading...
  19. 2025-04-28Update README.mdbf730d46.7 KB
    Loading...
  20. 2025-04-28Update README.mde1669cc6.7 KB
    Loading...

Used by abliterated 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.

Community discussions 2 threads · 1 open · 5 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2025-06-09번역 오류 관련 문의closed4 💬#2
    Loading...
  2. 2025-04-19[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · evaluate

Read further

Metadata

License
apache-2.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("allganize/IFEval-Ko")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="allganize/IFEval-Ko", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/allganize/IFEval-Ko
Catalog is the map. Apps are the tools.

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

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration