extract 0 0 0

Charles95/hh-rlhf-helpful-base-trl-style-apply-chat-template

published by @Charles95

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.1K
Last 30 days
47
Likes
-
Size
116 KB
Created on HF
2024-08-05
Age
2 years ago

Description

TRL's Anthropic HH Dataset apply_chat_template

We preprocess the dataset using our standard prompt, chosen, rejected format.

Reproduce this dataset

Download the tokenize_ds.py from the https://huggingface.co/datasets/Charles95/hh-rlhf-helpful-base-trl-style-apply-chat-template/tree/0.1.0.

Run python ./tokenize_ds.py --debug --model Qwen/Qwen2-7B-Instruct --push_to_hub --debug

Tags

language:ensize_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


language:

  • en
    dataset_info:
    features:
    • name: chosen
      dtype: string
    • name: rejected
      dtype: string
    • name: prompt
      dtype: string
      splits:
    • name: train
      num_bytes: 93496
      num_examples: 50
    • name: test
      num_bytes: 85145
      num_examples: 50
      download_size: 111706
      dataset_size: 178641
      configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: test
      path: data/test-*

TRL's Anthropic HH Dataset apply_chat_template

We preprocess the dataset using our standard prompt, chosen, rejected format.

Reproduce this dataset

  1. Download the tokenize_ds.py from the https://huggingface.co/datasets/Charles95/hh-rlhf-helpful-base-trl-style-apply-chat-template/tree/0.1.0.
  2. Run python ./tokenize_ds.py --debug --model Qwen/Qwen2-7B-Instruct --push_to_hub --debug

README history 10 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-08-13Librarian Bot: Add language metadata for dataset (#1)cc5cd89852 B
    Loading...
  2. 2024-08-05Upload README.md with huggingface_hub0b88a51837 B
    Loading...
  3. 2024-08-05Upload tokenize_ds.py with huggingface_hub269d555829 B
    Loading...
  4. 2024-08-05Upload dataset72552f1829 B
    Loading...
  5. 2024-08-05Upload README.md with huggingface_hub785bb88829 B
    Loading...
  6. 2024-08-05Upload tokenize_ds.py with huggingface_hub1415323437 B
    Loading...
  7. 2024-08-05Upload dataset59d5158437 B
    Loading...
  8. 2024-08-05Upload tokenize_ds.py with huggingface_hub66ce3d7437 B
    Loading...
  9. 2024-08-05Upload dataset7eb6584437 B
    Loading...
  10. 2024-08-05initial commited2d5cb0 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 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-08-12PRLibrarian Bot: Add language metadata for datasetmerged1 💬#1
    Loading...

Related datasets same stage · extract

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("Charles95/hh-rlhf-helpful-base-trl-style-apply-chat-template")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Charles95/hh-rlhf-helpful-base-trl-style-apply-chat-template", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Charles95/hh-rlhf-helpful-base-trl-style-apply-chat-template
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