--- {} --- # allenai/open_instruct: Rejection Sampling Dataset See https://github.com/allenai/open-instruct/blob/main/docs/algorithms/rejection_sampling.md for more detail ## Configs ``` args: {'add_timestamp': True, 'hf_entity': 'vwxyzjn', 'hf_repo_id': 'rejection_sampling', 'hf_repo_id_scores': 'rejection_sampling_scores', 'include_reference_completion_for_rejection_sampling': True, 'input_filename': 'output/completions.jsonl', 'max_forward_batch_size': 64, 'mode': 'judgement', 'model_names_or_paths': ['allenai/llama-3-tulu-2-8b-uf-mean-rm'], 'num_completions': 3, 'num_gpus': 1, 'push_to_hub': True, 'save_filename': 'output/rejection_sampled_completions.jsonl', 'save_filename_scores': 'output/completions_scores.jsonl', 'skill': 'chat'} ``` ## Additional Information 1. Command used to run `python open_instruct/rejection_sampling/rejection_sampling.py --input_filename output/completions.jsonl --model_names_or_paths allenai/llama-3-tulu-2-8b-uf-mean-rm --save_filename_scores output/completions_scores.jsonl --save_filename output/rejection_sampled_completions.jsonl --num_completions 3 --push_to_hub --num_gpus 1`