misc 0 0 0

Ray2333/RiC_harmless_helpful

published by @Ray2333

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2K
Last 30 days
37
Likes
-
Size
622.9 MB
Created on HF
2024-07-10
Age
2 years ago

Description

The hhrlhf dataset for RiC (https://huggingface.co/papers/2402.10207) training with harmless (R1) and helpful (R2) rewards.

The 'input_ids' are obtained from Llama2 tokenizer. If you want to use other base models, replace it using other tokenizers.

Note: the rewards are already normalized accroding to their corresponding mean and std. The mean and std data for R1 and R2 are saved into all_reward_stat_harmhelp_Rlarge.npy.

The mean and std for R1 and R2 is (-0.94732502, 1.92034349)… See the full description on the dataset page: https://huggingface.co/datasets/Ray2333/RiC_harmless_helpful.

Tags

language:enlicense:mitsize_categories:100K<n<1Mformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:dasklibrary:mlcroissantlibrary:polarsarxiv:2402.10207region:us

README current version from Hugging Face


language:

  • en
    license: mit
    dataset_info:
    features:
    • name: text
      dtype: string
    • name: prompt
      dtype: string
    • name: response
      dtype: string
    • name: input_ids
      sequence: int32
    • name: query
      dtype: string
    • name: score1
      dtype: float64
    • name: score2
      dtype: float64
    • name: prompt_with_score
      dtype: string
    • name: prompt_with_score_ids
      sequence: int64
      splits:
    • name: train
      num_bytes: 1465037566
      num_examples: 291397
      download_size: 653190564
      dataset_size: 1465037566
      configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*

The hhrlhf dataset for RiC (https://huggingface.co/papers/2402.10207) training with harmless (R1) and helpful (R2) rewards.

The 'input_ids' are obtained from Llama2 tokenizer. If you want to use other base models, replace it using other tokenizers.

Note: the rewards are already normalized accroding to their corresponding mean and std. The mean and std data for R1 and R2 are saved into all_reward_stat_harmhelp_Rlarge.npy.

The mean and std for R1 and R2 is (-0.94732502, 1.92034349), (-0.01500361, 1.40736504), respectively.

README history 8 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-07-12Librarian Bot: Add language metadata for dataset (#2)712a8101.3 KB
    Loading...
  2. 2024-07-10Update README.mdc1031131.3 KB
    Loading...
  3. 2024-07-10Update README.mdea617971.3 KB
    Loading...
  4. 2024-07-10Update README.mda77ddd11002 B
    Loading...
  5. 2024-07-10Update README.md0f8add4886 B
    Loading...
  6. 2024-07-10Upload all_reward_stat_harmhelp_Rlarge.npy3daab9f647 B
    Loading...
  7. 2024-07-10Upload dataset61c583d647 B
    Loading...
  8. 2024-07-10initial commita1d425824 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 2 threads · 1 open · 2 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-07-12PRLibrarian Bot: Add language metadata for datasetmerged1 💬#2
    Loading...
  2. 2024-07-11[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · misc

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