heal 0 0 0

mkd-chanwoo/keural-DPO

published by @mkd-chanwoo

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
228
Last 30 days
27
Likes
-
Size
1.4 GB
Created on HF
2026-05-13
Age
5 months ago

Description

keural-DPO

한국어/영어 DPO(Direct Preference Optimization) 학습용 통합 데이터셋.

6개 소스 데이터셋을 ChatML 형식으로 정규화하여 통합한 것으로, 총 443,314 샘플을 포함합니다.

데이터셋 통계

Split

소스

필터 제거

업로드

언어

라이선스

ultrafeedback_binarized

61,054

424

60,630

EN

MIT

multifaceted_collection_dpo

65,139

1,045

64,094

EN/KO

Apache-2.0

hh_rlhf

160,608

739

159,869

EN

MIT

orca_dpo_pairs_ko

12,727

2

12,725

KO

—

aihub_71748

29,676

0

29,676

KO

AI Hub

aihub_71760

116,320

0

116,320

KO

AI Hub

합계

445,524

2,210… See the full description on the dataset page: https://huggingface.co/datasets/mkd-chanwoo/keural-DPO.

Tags

task_categories:text-generationlanguage:enlanguage:kolicense:mitlicense:apache-2.0license:othersize_categories:100K<n<1Mformat:jsonmodality:textlibrary:datasetslibrary:dasklibrary:polarslibrary:mlcroissantregion:usdpochatmlpreferencealignmentrlhfkoreanbilingual

README current version from Hugging Face


language:

  • en
  • ko
    license:
  • mit
  • apache-2.0
  • other
    size_categories:
  • 100K<n<1M
    task_categories:
  • text-generation
    tags:
  • dpo
  • chatml
  • preference
  • alignment
  • rlhf
  • korean
  • bilingual
    pretty_name: keural-DPO

keural-DPO

한국어/영어 DPO(Direct Preference Optimization) 학습용 통합 데이터셋.
6개 소스 데이터셋을 ChatML 형식으로 정규화하여 통합한 것으로, 총 443,314 샘플을 포함합니다.


데이터셋 통계

Split 소스 필터 제거 업로드 언어 라이선스
ultrafeedback_binarized 61,054 424 60,630 EN MIT
multifaceted_collection_dpo 65,139 1,045 64,094 EN/KO Apache-2.0
hh_rlhf 160,608 739 159,869 EN MIT
orca_dpo_pairs_ko 12,727 2 12,725 KO —
aihub_71748 29,676 0 29,676 KO AI Hub
aihub_71760 116,320 0 116,320 KO AI Hub
합계 445,524 2,210 443,314

필터 제거: chosen_chatml == rejected_chatml 인 샘플 제외


언어 및 도메인 비율

언어 분포

언어 샘플 수 비율 해당 Split
English only 220,499 49.7% ultrafeedback, hh_rlhf
Korean only 158,721 35.8% orca_dpo_ko, aihub_71748, aihub_71760
EN/KO mixed 64,094 14.5% multifaceted_dpo
합계 443,314 100%

도메인 분포 (참고)

도메인 주요 소스
General instruction-following ultrafeedback, orca_dpo_ko, multifaceted_dpo
Helpful & Harmless dialogue hh_rlhf
Korean general QA (사회·인문·과학·예체능) aihub_71748
Korean trustworthiness (Honesty / Harmlessness / Helpfulness) aihub_71760

Preference Signal 유형

단순 "정답 vs 오답" 형태가 아닌 다양한 preference signal이 혼합되어 있습니다.

Signal 유형 설명 해당 Split
Helpfulness 더 도움이 되는 응답 vs 덜 유용한 응답 ultrafeedback, multifaceted_dpo, orca_dpo_ko, aihub_71748
Harmlessness / Safety 안전한 응답 vs 유해하거나 부적절한 응답 hh_rlhf, aihub_71760 (무해성 subject)
Honesty / Truthfulness 사실에 근거한 응답 vs 환각·오정보 포함 응답 ultrafeedback, aihub_71760 (정보정확성 subject)
Style / Persona 지정된 페르소나·톤·스타일에 부합하는 응답 multifaceted_dpo (system-level preference)
Response quality ranking 동일 질문에 대한 5개 응답의 상대적 ranking aihub_71748 (rank 1 → chosen, rank 5 → rejected)

특징: "완전히 틀린 답 vs 정답" 구도보다 "그럴듯하지만 덜 적절한 답 vs 더 나은 답" 형태의 subtle preference pair 비중이 높아 DPO signal 품질이 양호한 편입니다.


소스 데이터셋

Split 원본 데이터셋 설명
ultrafeedback_binarized HuggingFaceH4/ultrafeedback_binarized GPT-4 기반 preference 평가, Zephyr 계열 alignment에 사용된 검증 데이터셋
multifaceted_collection_dpo kaist-ai/Multifaceted-Collection-DPO GPT-4-Turbo가 system preference/persona를 추가 생성한 synthetic preference 데이터셋
hh_rlhf Anthropic/hh-rlhf Anthropic의 Helpful & Harmless RLHF 데이터셋, 멀티턴 대화 포함
orca_dpo_pairs_ko Ja-ck/Orca-DPO-Pairs-KO Orca 계열 instruction 스타일 한국어 DPO 데이터셋
aihub_71748 AI Hub 71748 한국어 성능이 개선된 초거대 AI 언어모델 개발 및 데이터 구축 (RM 데이터, ranking 1→chosen / 5→rejected)
aihub_71760 AI Hub 71760 초거대 언어모델 신뢰성 벤치마크 데이터 (Honesty/Harmlessness/Helpfulness 기반)

데이터 형식

필드

필드 타입 설명
prompt str 첫 번째 user 질문. 모든 split에서 항상 str
chosen_chatml str 선택된 응답의 ChatML 전체 시퀀스
rejected_chatml str 거부된 응답의 ChatML 전체 시퀀스

ChatML 형식

단일턴 (ultrafeedback, multifaceted_dpo, orca_dpo_ko, aihub_71748, aihub_71760):

chosen_chatml:
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
{chosen_response}<|im_end|>

rejected_chatml:
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
{rejected_response}<|im_end|>

멀티턴 (hh_rlhf): chosen/rejected가 각자 독립된 대화 경로. 컨텍스트 오염 없이 분리 저장.

chosen_chatml:                        rejected_chatml:
<|im_start|>user                      <|im_start|>user
{Q1}<|im_end|>                        {Q1}<|im_end|>
<|im_start|>assistant                 <|im_start|>assistant
{A1_chosen}<|im_end|>                 {A1_rejected}<|im_end|>
<|im_start|>user                      <|im_start|>user
{Q2}<|im_end|>                        {Q2}<|im_end|>
<|im_start|>assistant                 <|im_start|>assistant
{A2_chosen}<|im_end|>                 {A2_rejected}<|im_end|>

prompt 필드는 두 경로의 공통 시작점인 첫 번째 user 질문(Q1)만 저장합니다.


학습 시 주의사항

필수 특수 토큰 추가

ChatML 형식 학습을 위해 토크나이저에 아래 특수 토큰이 반드시 추가되어야 합니다:

tokenizer.add_special_tokens({
    "additional_special_tokens": ["<|im_start|>", "<|im_end|>"]
})
model.resize_token_embeddings(len(tokenizer))

데이터 로드 예시

from datasets import load_dataset

# 특정 split 로드
ds = load_dataset("mkd-chanwoo/keural-DPO", split="ultrafeedback")

# 전체 로드 후 합치기
from datasets import concatenate_datasets

splits = ["ultrafeedback", "multifaceted_dpo", "hh_rlhf",
          "orca_dpo_ko", "aihub_71748", "aihub_71760"]
ds = concatenate_datasets([
    load_dataset("mkd-chanwoo/keural-DPO", split=s) for s in splits
])

TRL DPO Trainer 사용 예시

from trl import DPOTrainer, DPOConfig

training_args = DPOConfig(
    beta=0.1,
    ...
)

trainer = DPOTrainer(
    model=model,
    args=training_args,
    train_dataset=ds,
    tokenizer=tokenizer,
    # chosen_chatml / rejected_chatml 컬럼을 직접 사용하는 경우
    # precompute_ref_log_probs=True 옵션 고려
)

라이선스

각 split의 라이선스는 원본 데이터셋을 따릅니다:

Split 라이선스
ultrafeedback MIT
multifaceted_dpo Apache-2.0
hh_rlhf MIT
orca_dpo_ko 원본 데이터카드 확인 필요
aihub_71748 AI Hub 이용약관
aihub_71760 AI Hub 이용약관

AI Hub 데이터(aihub_71748, aihub_71760)는 AI Hub 이용 승인 후 사용 가능합니다.
상업적 이용 전 각 원본 데이터셋의 라이선스를 반드시 확인하세요.

README history 16 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. 2026-05-14Update README.mdc64b4357.3 KB
    Loading...
  2. 2026-05-14Rename data/ultrafeedback.jsonl to data/ultrafeedback_binarized.jsonlc5a07077.2 KB
    Loading...
  3. 2026-05-14Rename data/orca_dpo_ko.jsonl to data/orca_dpo_paris_ko.jsonl719de597.2 KB
    Loading...
  4. 2026-05-14Rename data/multifaceted_dpo.jsonl to data/multifaceted_collection_dpo.jsonl1a850d07.2 KB
    Loading...
  5. 2026-05-14Upload README.md with huggingface_hubafb54c57.2 KB
    Loading...
  6. 2026-05-14Upload README.md with huggingface_hubedfd97b7.6 KB
    Loading...
  7. 2026-05-14Upload README.md with huggingface_hubfd2ea787.2 KB
    Loading...
  8. 2026-05-14Upload data/hh_rlhf.jsonl with huggingface_hubc011c8f6.6 KB
    Loading...
  9. 2026-05-14Upload README.md with huggingface_hub45ad8b26.6 KB
    Loading...
  10. 2026-05-14Upload data/aihub_71760.jsonl with huggingface_hub7c3ec330 B
    Loading...
  11. 2026-05-14Upload data/aihub_71748.jsonl with huggingface_hub7b897f40 B
    Loading...
  12. 2026-05-14Upload data/orca_dpo_ko.jsonl with huggingface_hub3e3b6ac0 B
    Loading...
  13. 2026-05-14Upload data/hh_rlhf.jsonl with huggingface_hub57efe2d0 B
    Loading...
  14. 2026-05-14Upload data/multifaceted_dpo.jsonl with huggingface_huba4a4f3d0 B
    Loading...
  15. 2026-05-14Upload data/ultrafeedback.jsonl with huggingface_hubd9fb2f70 B
    Loading...
  16. 2026-05-14initial commitaee46670 B
    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 1 thread · 1 open · 1 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. 2026-05-15[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · heal

Read further

Metadata

License
mit

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("mkd-chanwoo/keural-DPO")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mkd-chanwoo/keural-DPO", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/mkd-chanwoo/keural-DPO
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