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.

BramVanroy/orca_dpo_pairs_dutch

published by @BramVanroy

DPO and ORPO preference mixes to recover capability after ablation.Answer pairs that recover quality after the edit.

task_categories:text-generationlanguage:nllicense:apache-2.0size_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandas +6 more
Lifetime downloads
2K
Last 30 days
53
Likes
6
Size
48.2 MB

Description

Dataset Card for Orca DPO Pairs Dutch

[!TIP]

I recommend using the cleaned, deduplicated version. https://huggingface.co/datasets/BramVanroy/orca_dpo_pairs_dutch_cleaned

Citation

If you use this dataset, GEITje 7B Ultra (SFT) or any of its derivatives or quantizations, place cite the following paper:

@misc{vanroy2024geitje7bultraconversational,

title={GEITje 7B Ultra: A Conversational Model for Dutch},

author={Bram Vanroy},

year={2024}… See the full description on the dataset page: https://huggingface.co/datasets/BramVanroy/orca_dpo_pairs_dutch.

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

default default 11,033 rows
SplitPartRowsSize
train_prefs 9,929 38.4 MB
test_prefs 1,104 4.3 MB
FeaturesFields
promptstring prompt_idstring chosenlist<struct> rejectedlist<struct>
Data files
train_prefs data/train_prefs-*
test_prefs data/test_prefs-*

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
nl
Created on HFCreated
2023-12-11 · 2 years ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars
ArXivPaper

Related datasets same stage · Healsame step · Recovering quality

Read further

Total size
48.2 MB
Files
5
Formats
parquet
Head
4aa4f5d
Last updated on HFLast updated
2024-12-06

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

Files by folder from our last crawlfrom our last check

top level 2 files 13.2 KB
.gitattributes 2.3 KB file download
README.md 10.8 KB md download
data/ 3 files 48.2 MB
test_prefs-00000-of-00001.parquet 2.4 MB parquet download
train_prefs-00000-of-00001.parquet 21.7 MB parquet download
train-00000-of-00001.parquet 24.1 MB parquet download

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

Dataset Card for Orca DPO Pairs Dutch

[!TIP]
I recommend using the cleaned, deduplicated version. https://huggingface.co/datasets/BramVanroy/orca_dpo_pairs_dutch_cleaned

Citation

If you use this dataset, GEITje 7B Ultra (SFT) or any of its derivatives or quantizations, place cite the following paper:

@misc{vanroy2024geitje7bultraconversational,
      title={GEITje 7B Ultra: A Conversational Model for Dutch}, 
      author={Bram Vanroy},
      year={2024},
      eprint={2412.04092},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.04092}, 
}

Dataset Description

This is a Dutch recreation of Intel/orca_dpo_pairs. It contains single-turn responses to a prompt and sometimes a system prompt by two different systems, intended for the preference optimalisation of language models (such as DPO). The chosen answers is always gpt-4-1106-preview, the rejected answer is always Rijgersberg/GEITje-7B-chat.

Note that it is a naive assumption that GPT 4 is always better than another language model. For a better balance, some kind of scoring of the answers should be done, with, for instance, Argilla's distilabel but I do not have the funds to run this rating with a state-of-the-art model (like GPT4). If you do, please improve dataset and share the result!

Dataset Structure

The dataset has two splits. The number of examples per split is shown as follows:

train_prefs test_prefs
9,929 1,104

That means that around 11.12% of the data is reserved for testing. One may find that this dataset is smaller than the original dataset. This is caused by the OpenAI automatic filtering. More information in the sections below.

Data Instances

The dataset does not have system messages.

{
    'prompt': 'Premisse: Een artikel weerlegt de gangbare wijsheid dat Klaus Fuchs en David Greenglass de eerste atoomgeheimen aan de Sovjets hebben gelekt.\n\nHypothese: Greenglass en Fuchs waren niet verantwoordelijk voor het uitlekken van geheimen aan de Sovjets.\n\nVolgt de premisse uit de hypothese?\n\nKies uit: (A). ja (B). het is niet mogelijk om dit te zeggen (C). nee',
    'prompt_id': 'b56f1662fedf7f43d1c3828e736e56146c21febf2711ae22910e7ee7280aed5e',
    'chosen': [
        {'content': 'Je bent een behulpzame assistent, die altijd uitleg geeft. Denk alsof je antwoord geeft aan een kind van vijf jaar oud.', 'role': 'system'},
        {'content': 'Premisse: Een artikel weerlegt de gangbare wijsheid dat Klaus Fuchs en David Greenglass de eerste atoomgeheimen aan de Sovjets hebben gelekt.\n\nHypothese: Greenglass en Fuchs waren niet verantwoordelijk voor het uitlekken van geheimen aan de Sovjets.\n\nVolgt de premisse uit de hypothese?\n\nKies uit: (A). ja (B). het is niet mogelijk om dit te zeggen (C). nee', 'role': 'user'},
        {'content': 'Stel je voor je hebt een doos met kleurpotloden en iedereen zegt dat je beste vriendje de blauwe en groene potloden heeft gepakt en buiten de lijntjes heeft gekleurd. Maar dan komt er iemand anders en laat zien dat niet jouw vriendje, maar iemand anders het heeft gedaan.\n\nDe premisse is eigenlijk dat nieuwe verhaal, waar iemand zegt: "Het was niet jouw vriendje die de kleuren heeft gebruikt om buiten de lijntjes te kleuren." De hypothese is wat we nog aan het uitzoeken zijn, of het echt waar is dat jouw vriendje dat niet heeft gedaan.\n\nDus, als de nieuwe informatie klopt (de premisse), dan zou dat inderdaad betekenen dat jouw vriendje (Greenglass en Fuchs) niet degene was die de potloden (geheimen) buiten de lijntjes (aan de Sovjets) heeft gekleurd. Maar we moeten nog steeds kijken naar de nieuwe informatie om zeker te zijn. \n\nDus het antwoord op de vraag of de premisse uit de hypothese volgt, is (B) het is niet mogelijk om dit te zeggen zonder meer informatie. We moeten bewijs zien dat echt laat zien dat jouw vriendje niet de geheimen heeft doorverteld. Pas dan kunnen we zeggen dat de premisse uit de hypothese volgt.', 'role': 'assistant'}
    ],
    'rejected': [
        {'content': 'Je bent een behulpzame assistent, die altijd uitleg geeft. Denk alsof je antwoord geeft aan een kind van vijf jaar oud.', 'role': 'system'},
        {'content': 'Premisse: Een artikel weerlegt de gangbare wijsheid dat Klaus Fuchs en David Greenglass de eerste atoomgeheimen aan de Sovjets hebben gelekt.\n\nHypothese: Greenglass en Fuchs waren niet verantwoordelijk voor het uitlekken van geheimen aan de Sovjets.\n\nVolgt de premisse uit de hypothese?\n\nKies uit: (A). ja (B). het is niet mogelijk om dit te zeggen (C). nee', 'role': 'user'},
        {'content': 'Toen wij geboren werden, wisten we heel wat we wilden doen en nog veel meer wat we niet wilden doen. Dat idee is een premisse genoemd. Ons doel is om je te vertellen dat, toen men de regels uitlegde over wie de eerste atoomgeheimen heeft doorgespeeld aan de Sovjets, we niet zeker weten of de bewering juist is. Stel je voor dat je naar een vriend gaat die een spelletje speelt, maar in plaats van zelf deel te nemen, moet je gewoon langskomen en hun idee of veronderstelling bevestigen of ontkennen. Dit spel waar wij het over hebben wordt geschiedenis genoemd.', 'role': 'assistant'}
    ]
}

Data Fields

  • prompt: the initial user prompt
  • prompt_id: the unique hash of the prompt
  • chosen: (gpt-4-1106-preview) list of messages (dictionaries) where each dictionary has a role (user, assistant, system) and content
  • rejected: (GEITje-7B-Chat) list of messages (dictionaries) where each dictionary has a role (user, assistant, system) and content

Dataset Creation

This dataset was created with this repository. The translate-hf script for translating the system and instruction columns, and answer-hf to create answers for the translated query.

So in a first step, the English first user message was translated alongside the system message with gpt-4-1106-preview to Dutch. This prompt is then fed to gpt-4-1106-preview and GEITje-7B-chat to generate responses, so only the user prompt is translated. The data is therefore single-turn.

Data filtering

On top of the automatic content filtering and parsing issues, additional filtering was also done. All the data is preserved in separate branches if you would like a historical view of the process of how the data was created.

  • 1-translated-sys-and-q: the initial translations of the first user message/prompt and the system prompt
  • 2-gpt-4-turbo-answers: adds the answers by GPT4
  • 3-geitje-7b-chat-answers: adds the answers by GEITje-7B-chat
  • 4-llama-2-13b-chat-dutch-answers: adds the answers by Llama 2 13B Chat Dutch - but because of the poor quality this data is not used in the final dataset
  • 5-merged: merges the instructions and the answers of the previous branches
  • 6-gpt4-geitje: removes Llama 2 output
  • 7-lid: added language identification to the columns with fastText, which is based on the concatenation of all content keys in the chosen and rejected column.
  • 8-filtered: removed samples where the detected text was not Dutch. (Note that this may remove translation-focused samples!). Other filters
    • samples with non-Latin characters are removed (very strict filtering, removes any translation tasks with non-Latin languages)
    • samples with occurrences of "AI-assistent" or "AI-taalmodel" (and other derivations) are removed because these are often responses in the sense of "As an AI model, I cannot ...", which is not too useful
    • samples with mentions of ChatGPT, GPT 3/4, OpenAI or ShareGPT are removed
    • samples with mentions of the typical "knowledge cutoff" are removed
    • samples with apologies such as "spijt me" are removed, as we are more interested in factual information and content-filled responses
  • main: the main, default branch. Removes all "irrelevant" columns (like English messages, language identification)

Source Data

Initial Data Collection and Normalization

Initial data preparation by Intel, which in turn started from OpenOrca.

Considerations for Using the Data

Note that except for a manual analysis of around 100 random samples, this dataset has not been verified or checked for issues. However, the OpenAI filters blocked requests for translation and generation, which may indicate that some of the original prompts may contained ambiguous or potentially inappropriate content that has now been filtered.

During checking, I found that the translations of the prompt sometimes have issues, where parts of the content was not translated. This can happen when the model interprets the input as a command, for instance, instead of translating it. This is especially true for the system messages.

Discussion of Biases

As with any machine-generated texts, users should be aware of potential biases that are included in this dataset. It is likely that biases remain in the dataset so use with caution.

Licensing Information

Since the data was created with the Azure API, and I cannot find any restrictions on how the data can be used, you can use this data however you see fit according to an apache 2.0 license.

Contributions

Thanks to Michiel Buisman of UWV for reaching out and making the creation of this dataset possible with access to Azure's API.

README historyEdit history 14 revisions14 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. 2024-12-06 Update README.md 4aa4f5d 10.6 KB
    Loading...
  2. 2024-04-24 Update README.md 93c31f2 10.2 KB
    Loading...
  3. 2024-04-24 Update README.md 6a5ae5a 10 KB
    Loading...
  4. 2024-04-18 Update README.md aca02b3 10 KB
    Loading...
  5. 2024-02-01 Update README.md c4328ed 10.2 KB
    Loading...
  6. 2024-01-22 Upload dataset e586bf9 683 B
    Loading...
  7. 2024-01-10 Upload dataset b7b452b 528 B
    Loading...
  8. 2024-01-09 Upload dataset 18be223 490 B
    Loading...
  9. 2024-01-09 Upload dataset c229da3 490 B
    Loading...
  10. 2024-01-09 Upload dataset c29c9d0 389 B
    Loading...
  11. 2024-01-08 Upload dataset da12d4e 500 B
    Loading...
  12. 2024-01-08 Upload dataset aa3155e 551 B
    Loading...
  13. 2024-01-08 Upload dataset f558a79 553 B
    Loading...
  14. 2023-12-11 initial commit 6d22e43 0 B
    Loading...

Community discussions 3 threads · 1 open · 4 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. 2024-04-17 PR Update metadata to add DPO tag and remove deprecated tag closed 1 💬 #3
    Loading...
  2. 2024-04-11 PR add dpo tag closed 2 💬 #2
    Loading...
  3. 2024-02-07 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

BramVanroy/orca_dpo_pairs_dutch

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