extract 0 0 0

mosaicml/dolly_hhrlhf

published by @mosaicml

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
309.5K
Last 30 days
328
Likes
113
Size
23.7 MB
Created on HF
2023-05-02
Age
3 years ago

Description

Dataset Card for "dolly_hhrlhf"

This dataset is a combination of Databrick's dolly-15k dataset and a filtered subset of Anthropic's HH-RLHF. It also includes a test split, which was missing in the original dolly set. That test set is composed of 200 randomly selected samples from dolly + 4,929 of the test set samples from HH-RLHF which made it through the filtering process. The train set contains 59,310 samples; 15,014 - 200 = 14,814 from Dolly, and the remaining 44,496 from… See the full description on the dataset page: https://huggingface.co/datasets/mosaicml/dolly_hhrlhf.

Tags

task_categories:text-generationlanguage:enlicense:cc-by-sa-3.0size_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


dataset_info:
features:

  • name: prompt
    dtype: string
  • name: response
    dtype: string
    splits:
  • name: train
    num_bytes: 43781455.002688624
    num_examples: 59310
  • name: test
    num_bytes: 4479286.805304853
    num_examples: 5129
    download_size: 24882010
    dataset_size: 48260741.80799348
    license: cc-by-sa-3.0
    task_categories:
  • text-generation
    language:
  • en
    pretty_name: Dolly HH-RLHF

Dataset Card for "dolly_hhrlhf"

This dataset is a combination of Databrick's dolly-15k dataset and a filtered subset of Anthropic's HH-RLHF. It also includes a test split, which was missing in the original dolly set. That test set is composed of 200 randomly selected samples from dolly + 4,929 of the test set samples from HH-RLHF which made it through the filtering process. The train set contains 59,310 samples; 15,014 - 200 = 14,814 from Dolly, and the remaining 44,496 from HH-RLHF.

It is slightly larger than Alpaca, and in our experience of slightly higher quality, but is usable for commercial purposes so long as you follow the terms of the license.

Filtering process

As mentioned, the HH-RLHF data in this dataset is filtered. Specifically, we take the first turn of the convesation, then remove any samples where the assistant:

  • uses the word "human", "thank", or "sorry"
  • asks a question
  • uses a first person pronoun

This leaves samples which look like instruction-following, as opposed to conversation.

License/Attribution

This dataset was developed at MosaicML (https://www.mosaicml.com) and its use is subject to the CC BY-SA 3.0 license.

Certain categories of material in the dataset include materials from the following sources, licensed under the CC BY-SA 3.0 license:

Wikipedia (various pages) - https://www.wikipedia.org/
Copyright © Wikipedia editors and contributors.

Databricks (https://www.databricks.com)
Copyright © Databricks

When citing this dataset, please use the following:

@misc{mosaicml2023dolly_hhrlhf,
  author = {MosaicML},
  title = {Dolly-HHRLHF Dataset},
  year = {2023},
  publisher = {HuggingFace Datasets},
  howpublished = {https://huggingface.co/datasets/mosaicml/dolly_hhrlhf},
}

README history 9 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. 2023-10-02Update README.md8193c922.3 KB
    Loading...
  2. 2023-05-03Update README.mdb5a9ed42 KB
    Loading...
  3. 2023-05-03Update README.md1b12cc41.9 KB
    Loading...
  4. 2023-05-03Update README.md4b5d0f41.9 KB
    Loading...
  5. 2023-05-03Update README.md2b9074b1.9 KB
    Loading...
  6. 2023-05-02Upload README.md with huggingface_hubb5c7305487 B
    Loading...
  7. 2023-05-02Upload data/test-00000-of-00001-d79c64fbcaa2a314.parquet with huggingface_hub42573ee0 B
    Loading...
  8. 2023-05-02Upload data/train-00000-of-00001-f4dbeaeb323beba4.parquet with huggingface_hub5d3ae0b0 B
    Loading...
  9. 2023-05-02initial commit81ef3a40 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 4 threads · 2 open · 10 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. 2023-12-28Easy way to know answer_start index?open2 💬#4
    Loading...
  2. 2023-10-04differenciate between Dolly and hhrlhfclosed2 💬#3
    Loading...
  3. 2023-10-03Notifications from Datasets Serveropen2 💬#2
    Loading...
  4. 2023-05-25Data Cleaningclosed4 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
cc-by-sa-3.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("mosaicml/dolly_hhrlhf")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mosaicml/dolly_hhrlhf", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/mosaicml/dolly_hhrlhf
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