File size: 503 Bytes
33e54e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
_target_: src.data.story_telling.build_multi_datapipes
_recursive_: False
datapipes:
  - _target_: src.data.story_telling.build_long_story_datapipe
    data_dir: data/json/george_train10
    image_dir: data/image/george_full
    max_length: 1280
    batch_size: 4
    instruction_prompt: "{instruction}"
    # turn_sep: '\n'
    min_aspect_ratio: 0.2
    min_resolution: 128
    num_img_in_tokens: 64
    num_img_out_tokens: 64
    cycle_count: 10000
    story_len: 10

sample_weights:
  - 1.0  # llava