File size: 1,371 Bytes
1485266
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18231ab
1485266
 
 
18231ab
1485266
18231ab
1485266
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18231ab
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
{}
---
# 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_11358',
 'mode': 'generation',
 'model_name_or_path': '/generation_model',
 'push_to_hub': True,
 'save_filename': '/output/shards/11358/6.jsonl',
 'skill': 'chat'}

dataset_args:
{'dataset_end_idx': 69174,
 'dataset_name': 'ai2-adapt-dev/rs-base-mix-L3.1-8B-generations',
 'dataset_start_idx': 59292,
 'dataset_test_split': 'validation',
 'dataset_text_field': 'prompt',
 'dataset_train_split': 'train',
 'sanity_check': False,
 'sanity_check_size': 100}

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

## Reproduce this dataset

1. Download the `['generation.py', '6.jsonl']` from the https://huggingface.co/datasets/jacobmorrison/generation_11358.
2. Run `python open_instruct/rejection_sampling/generation.py --dataset_name ai2-adapt-dev/rs-base-mix-L3.1-8B-generations --model_name_or_path /generation_model --dataset_start_idx 59292 --dataset_end_idx 69174 --save_filename /output/shards/11358/6.jsonl --hf_repo_id generation_11358 --no_add_timestamp --push_to_hub --num_completions 16 --tensor_parallel_size 1`