generation_9350 / README.md
jacobmorrison's picture
Upload README.md with huggingface_hub
ce27ec1 verified
metadata
{}

allenai/open_instruct: Generation Dataset

See https://github.com/allenai/open-instruct/blob/main/docs/algorithms/rejection_sampling.md for more detail

Configs

args:
{'add_timestamp': False,
 'hf_entity': 'jacobmorrison',
 'hf_repo_id': 'generation_9350',
 'mode': 'generation',
 'model_name_or_path': '/model',
 'push_to_hub': True,
 'revision': 'main',
 'save_filename': '/output/shards/9350/12.jsonl',
 'skill': 'chat'}

dataset_args:
{'dataset_end_idx': 6175,
 'dataset_name': 'HuggingFaceH4/no_robots',
 'dataset_start_idx': 5700,
 'dataset_test_split': 'validation',
 'dataset_text_field': 'prompt',
 'dataset_train_split': 'train',
 'sanity_check': False,
 'sanity_check_size': 100}

gen_args:
{'num_completions': 8,
 'response_length': 2048,
 'temperature': 0.8,
 'tensor_parallel_size': 1,
 'top_p': 0.9}

Reproduce this dataset

  1. Download the ['generation.py', '12.jsonl'] from the https://huggingface.co/datasets/jacobmorrison/generation_9350.
  2. Run python open_instruct/rejection_sampling/generation.py --dataset_name HuggingFaceH4/no_robots --model_name_or_path /model --dataset_start_idx 5700 --dataset_end_idx 6175 --save_filename /output/shards/9350/12.jsonl --hf_repo_id generation_9350 --no_add_timestamp --push_to_hub --num_completions 8 --tensor_parallel_size 1