extract 0 0 0

kunishou/hh-rlhf-eval-3k-ja

published by @kunishou

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
594
Last 30 days
19
Likes
-
Size
2.3 MB
Created on HF
2023-11-29
Age
2 years ago

Description

Instruction チューニングの評価用データセットです。kunishou/hh-rlhf-49k-ja からランダムに3000データを抽出しました。任意のデータセットで Instruction チューニングをする際に常にこちらの評価データセットを指定することで validation loss を横並びに比較することができます。

なお、kunishou/hh-rlhf-49k-ja のデータセットでチューニングする際は以下のコードでこの評価用データセットを除外するようにして下さい。

pip install datasets

from datasets import Dataset, load_dataset

df1 = load_dataset("kunishou/hh-rlhf-49k-ja")

df2 = load_dataset("kunishou/hh-rlhf-eval-3k-ja")

df1.set_format(type="pandas")

df2.set_format(type="pandas")

df1 = df1["train"][:]

df2… See the full description on the dataset page: https://huggingface.co/datasets/kunishou/hh-rlhf-eval-3k-ja.

Tags

license:mitsize_categories:1K<n<10Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


license: mit

Instruction チューニングの評価用データセットです。kunishou/hh-rlhf-49k-ja からランダムに3000データを抽出しました。
任意のデータセットで Instruction チューニングをする際に常にこちらの評価データセットを指定することで validation loss を横並びに比較することができます。

なお、kunishou/hh-rlhf-49k-ja のデータセットでチューニングする際は以下のコードでこの評価用データセットを除外するようにして下さい。

pip install datasets
from datasets import Dataset, load_dataset

df1 = load_dataset("kunishou/hh-rlhf-49k-ja")
df2 = load_dataset("kunishou/hh-rlhf-eval-3k-ja")

df1.set_format(type="pandas")
df2.set_format(type="pandas")

df1 = df1["train"][:]
df2 = df2["test"][:]

df2["flag"] = 1

df = pd.merge(df1, df2[["instruction", "flag"]], on="instruction", how="left")
df = df[df["flag"]!=1].reset_index(drop=True)

dataset = Dataset.from_pandas(df)

dataset

hh-rlhf repository
https://github.com/anthropics/hh-rlhf

Anthropic/hh-rlhf
https://huggingface.co/datasets/Anthropic/hh-rlhf

mosaicml/dolly_hhrlhf
https://huggingface.co/datasets/mosaicml/dolly_hhrlhf

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. 2023-11-29Update README.md7bf308c1.3 KB
    Loading...
  2. 2023-11-29Update README.md1d833be1.3 KB
    Loading...
  3. 2023-11-29Upload hh_rlhf_eval_3k_ja.jsona47497621 B
    Loading...
  4. 2023-11-29Upload hh_rlhf_eval_3k_ja.json2ca54c621 B
    Loading...
  5. 2023-11-29initial commitf51865d21 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. 2023-11-30[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

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("kunishou/hh-rlhf-eval-3k-ja")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="kunishou/hh-rlhf-eval-3k-ja", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/kunishou/hh-rlhf-eval-3k-ja
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