heal 0 0 0

RLHFlow/Orca-distibalel-standard

published by @RLHFlow

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
16.8K
Last 30 days
322
Likes
1
Size
11.9 MB
Created on HF
2024-04-27
Age
2 years ago

Description

From argilla/distilabel-intel-orca-dpo-pairs. We delete the pairs with the same score.

def process_example(example):

prompt = example['input']

chosen_response = example['chosen']

rejected_response = example['rejected']

if example['rating'] is None:

chosen_rating = None

rejected_rating = None

else:

if example['order'][0] == 'chosen':

chosen_rating = example['rating'][0]

rejected_rating = example['rating'][1]

elif… See the full description on the dataset page: https://huggingface.co/datasets/RLHFlow/Orca-distibalel-standard.

Tags

size_categories:1K<n<10Kformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


dataset_info:
features:

  • name: chosen
    list:
    • name: content
      dtype: string
    • name: role
      dtype: string
  • name: rejected
    list:
    • name: content
      dtype: string
    • name: role
      dtype: string
  • name: chosen_score
    dtype: float64
  • name: rejected_score
    dtype: float64
    splits:
  • name: train
    num_bytes: 23664435.680068433
    num_examples: 6926
    download_size: 12516825
    dataset_size: 23664435.680068433
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*

From argilla/distilabel-intel-orca-dpo-pairs. We delete the pairs with the same score.

def process_example(example):
    prompt = example['input']
    chosen_response = example['chosen']
    rejected_response = example['rejected']
    if example['rating'] is None:
        chosen_rating = None
        rejected_rating = None
    else:
        if example['order'][0] == 'chosen':
            chosen_rating = example['rating'][0]
            rejected_rating = example['rating'][1]
        elif example['order'][0] == 'rejected':
            chosen_rating = example['rating'][1]
            rejected_rating = example['rating'][0]
        else:
            print('error')
        
    chosen_message = [
        {"content": prompt, "role": "user"},
                {"content": chosen_response, "role": "assistant"},
    ]
    rejected_message = [
        {"content": prompt, "role": "user"},
                {"content": rejected_response, "role": "assistant"},
    ]
    
    
    return {"rejected": rejected_message, "chosen": chosen_message, "rejected_score": rejected_rating, "chosen_score": chosen_rating}

README history 5 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-04-28Update README.md889de461.6 KB
    Loading...
  2. 2024-04-28Upload dataseta1c524b1.6 KB
    Loading...
  3. 2024-04-28Update README.mdad8688c1.6 KB
    Loading...
  4. 2024-04-28Upload dataset43e252c541 B
    Loading...
  5. 2024-04-28initial commiteca5f2c0 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. 2024-04-30[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · heal

Read further

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