heal 0 0 0

mlabonne/orpo-dpo-mix-40k

published by @mlabonne

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
50.1K
Last 30 days
761
Likes
314
Size
120.6 MB
Created on HF
2024-04-17
Age
2 years ago

Description

ORPO-DPO-mix-40k v1.2

This dataset is designed for ORPO or DPO training.

See Fine-tune Llama 3 with ORPO for more information about how to use it.

It is a combination of the following high-quality DPO datasets:

argilla/Capybara-Preferences: highly scored chosen answers >=5 (7,424 samples)

argilla/distilabel-intel-orca-dpo-pairs: highly scored chosen answers >=9, not in GSM8K (2,299 samples)

argilla/ultrafeedback-binarized-preferences-cleaned: highly scored chosen answers >=5… See the full description on the dataset page: https://huggingface.co/datasets/mlabonne/orpo-dpo-mix-40k.

Tags

task_categories:text-generationlanguage:enlicense:apache-2.0size_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:usdporlhfpreferenceorpo

README current version from Hugging Face


language:

  • en
    license: apache-2.0
    task_categories:
  • text-generation
    pretty_name: ORPO-DPO-mix-40k
    dataset_info:
    features:
    • name: source
      dtype: string
    • name: chosen
      list:
      • name: content
        dtype: string
      • name: role
        dtype: string
    • name: rejected
      list:
      • name: content
        dtype: string
      • name: role
        dtype: string
    • name: prompt
      dtype: string
    • name: question
      dtype: string
      splits:
    • name: train
      num_bytes: 238639013
      num_examples: 44245
      download_size: 126503374
      dataset_size: 238639013
      configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
      tags:
  • dpo
  • rlhf
  • preference
  • orpo

ORPO-DPO-mix-40k v1.2

image/webp

This dataset is designed for ORPO or DPO training.
See Fine-tune Llama 3 with ORPO for more information about how to use it.
It is a combination of the following high-quality DPO datasets:

Rule-based filtering was applied to remove gptisms in the chosen answers (2,206 samples).

Thanks to argilla, unalignment, M4-ai, and jondurbin for providing the source datasets.

🔎 Usage

v1.2 adds a question column to ensure compatibility with both DPO and ORPO formats in Axolotl.

Here's an example as an ORPO dataset in Axolotl:

rl: orpo
orpo_alpha: 0.1
chat_template: chatml
datasets:
  - path: mlabonne/orpo-dpo-mix-40k
    type: chat_template.argilla
    chat_template: chatml

For DPO, I recommend using mlabonne/orpo-dpo-mix-40k-flat instead.

Toxicity

Note that ORPO-DPO-mix-40k contains a dataset (toxic-dpo-v0.2) designed to prompt the model to answer illegal questions. You can remove it as follows:

dataset = load_dataset('mlabonne/orpo-dpo-mix-40k', split='train')
dataset = dataset.filter(
    lambda r: r["source"] != "toxic-dpo-v0.2"
)

History

I'm saving previous versions of this dataset in different branches.

README history 17 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. 2024-10-17Update README.md (#7)0f725113.5 KB
    Loading...
  2. 2024-07-29small fix in README (#5)2bda2433.4 KB
    Loading...
  3. 2024-06-07Update README.md2cebae33.4 KB
    Loading...
  4. 2024-05-29Update README.md30fbeb73.5 KB
    Loading...
  5. 2024-05-26Update README.mdf9042503.4 KB
    Loading...
  6. 2024-05-26Upload dataset182f0312.9 KB
    Loading...
  7. 2024-05-22Upload dataset9529b7d2.9 KB
    Loading...
  8. 2024-05-20Upload dataset1e7793e2.9 KB
    Loading...
  9. 2024-05-20Upload dataset4a241e72.9 KB
    Loading...
  10. 2024-04-21Update README.mde1b7df82.9 KB
    Loading...
  11. 2024-04-21Upload dataset4a04e882.6 KB
    Loading...
  12. 2024-04-18Update README.md2526b332.6 KB
    Loading...
  13. 2024-04-18add tags1d142192.6 KB
    Loading...
  14. 2024-04-18rename dataseta65076f2.5 KB
    Loading...
  15. 2024-04-17Update README.mdb6a30402.4 KB
    Loading...
  16. 2024-04-17Upload datasetbb6ba05545 B
    Loading...
  17. 2024-04-17initial commit1e766d40 B
    Loading...

Used by abliterated models 30+ in catalog

Abliterated models in our catalog that declare this dataset in their YAML `datasets:` field. Sorted by downloads. This back-reference is unique to abliteration.org: Hugging Face does not surface it.

mlabonne/NeuralDaredevil-8B-abliterated
15.4K dl 298 likes
QuantFactory/NeuralDaredevil-8B-abliterated-GGUF
5.1K dl 100 likes
mradermacher/Daredevil-8B-abliterated-dpomix-i1-GGUF
2.1K dl 8 likes
mradermacher/Prox-Llama-3-8B-abliterated-orpo-i1-GGUF
1.7K dl
mradermacher/Daredevil-8B-abliterated-dpomix-GGUF
1.3K dl 3 likes
mradermacher/Prox-Llama-3-8B-abliterated-orpo-GGUF
1.2K dl
bartowski/NeuralDaredevil-8B-abliterated-GGUF
1.2K dl 13 likes
mradermacher/Llama-3-8B-Instruct-abliterated-dpomix-GGUF
1K dl 3 likes
QuantFactory/NeuralLlama-3-8B-Instruct-abliterated-GGUF
971 dl
mradermacher/NeuralDaredevil-8B-abliterated-i1-GGUF
659 dl 2 likes
mradermacher/gemma3-27b-abliterated-dpo-i1-GGUF
657 dl 17 likes
mradermacher/NeuralLlama-3-8B-Instruct-abliterated-i1-GGUF
418 dl 1 likes
mradermacher/gemma-2-2b-ORPO-jpn-it-abliterated-18-merge-GGUF
379 dl
mradermacher/gemma3-27b-abliterated-dpo-GGUF
376 dl 9 likes
mradermacher/gemma-2-2b-ORPO-jpn-it-abliterated-18-i1-GGUF
372 dl
wyan/NeuralDaredevil-8B-abliterated-Q4_K_M-GGUF
371 dl 1 likes
mradermacher/gemma-2-2b-jpn-it-abliterated-17-ORPO-i1-GGUF
366 dl
mradermacher/NeuralDaredevil-8B-abliterated-GGUF
361 dl 2 likes
mradermacher/gemma-2-2b-jpn-it-abliterated-18-ORPO-i1-GGUF
358 dl
mradermacher/gemma-2-2b-ORPO-jpn-it-abliterated-18-merge-i1-GGUF
331 dl
mradermacher/gemma-2-2b-ORPO-jpn-it-abliterated-18-GGUF
200 dl
fairy322/Llama-3-8B-Instruct-abliterated-dpomix-GGUF
193 dl
mradermacher/NeuralLlama-3-8B-Instruct-abliterated-GGUF
192 dl 1 likes
thunderdick/NeuralDaredevil-8B-abliterated-GGUF
176 dl
mradermacher/gemma-2-2b-jpn-it-abliterated-17-ORPO-GGUF
119 dl
mradermacher/gemma-2-2b-jpn-it-abliterated-18-ORPO-GGUF
115 dl
tensorblock/NeuralDaredevil-8B-abliterated-GGUF
98 dl
sathya801/NeuralDaredevil-8B-abliterated-Q5_K_M-GGUF
86 dl
mlx-community/NeuralDaredevil-8B-abliterated-4bit
79 dl 1 likes
ymcki/gemma-2-2b-jpn-it-abliterated-17-ORPO
56 dl 1 likes

Used in recipes 2 of 18 curated recipes reference this dataset

Concrete workflows from the community craft-knowledge survey that call for this corpus. Each links to the full recipe with parameters, tools, expected output, and known failure modes.

Community discussions 7 threads · 3 open · 16 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. 2024-10-17PRUpdate README.mdmerged2 💬#7
    Loading...
  2. 2024-08-05How do you generate the rejected dataset?open3 💬#6
    Loading...
  3. 2024-07-29PRsmall fix in READMEmerged2 💬#5
    Loading...
  4. 2024-05-21suggestionopen2 💬#4
    Loading...
  5. 2024-04-19Suggestionopen2 💬#3
    Loading...
  6. 2024-04-18Great job!closed4 💬#2
    Loading...
  7. 2024-04-18[bot] Conversion to Parquetclosed1 💬#1
    Loading...

Related datasets same stage · heal

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("mlabonne/orpo-dpo-mix-40k")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mlabonne/orpo-dpo-mix-40k", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/mlabonne/orpo-dpo-mix-40k
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