John commited on
Commit
30ab42f
·
verified ·
1 Parent(s): e75e701

Automatic dcft datacuration framework upload for random_dclm_rw_docs

Browse files
Files changed (1) hide show
  1. config/random_dclm_rw_docs.yaml +28 -0
config/random_dclm_rw_docs.yaml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: random_dclm_rw_docs
2
+ operators:
3
+ - id: sample_dclm_refined_web_shards
4
+ config:
5
+ type: dclm_refinedweb_source
6
+ num_shards: 10
7
+ seed: 500
8
+ s3_bucket: commoncrawl
9
+ s3_prefix: contrib/datacomp/DCLM-refinedweb/
10
+
11
+ - id: sample_dclm_refinedweb_docs
12
+ config:
13
+ type: function
14
+ function: data_strategies.WebInstruct.utils.sample_from_dataset
15
+ function_config:
16
+ num_examples: 16_000
17
+ input_ids:
18
+ - sample_dclm_refined_web_shards
19
+
20
+ - id: clean_dclm_refinedweb_docs
21
+ config:
22
+ type: function
23
+ function: data_strategies.WebInstruct.utils.clean_dataset
24
+ function_config:
25
+ input_column: text
26
+ output_column: cleaned_text
27
+ input_ids:
28
+ - sample_dclm_refinedweb_docs