EtashGuha commited on
Commit
f72bf85
·
verified ·
1 Parent(s): c6c8d6e

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/star_coder_instruct.yaml +32 -1
config/star_coder_instruct.yaml CHANGED
@@ -18,4 +18,35 @@ operators:
18
  - prompt
19
  - id
20
  input_ids:
21
- - load_hf_python
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  - prompt
19
  - id
20
  input_ids:
21
+ - load_hf_python
22
+ - id: rename_task_column
23
+ config:
24
+ type: function
25
+ function: data_strategies.commons.force_rename_columns
26
+ function_config:
27
+ column_maps:
28
+ response: response_seed
29
+ instruction: instruction_seed
30
+ input_ids:
31
+ - drop_columns
32
+ - id: sample_dataset
33
+ config:
34
+ type: function
35
+ function: data_strategies.commons.uniform_sample_limited
36
+ function_config:
37
+ num_samples: 50000 # 1.25% of 10000 target from stage 1
38
+ input_ids:
39
+ - rename_task_column
40
+ - id: annotate
41
+ config:
42
+ type: completions
43
+ map: chat
44
+ map_config:
45
+ system_message: "You are a helpful assistant."
46
+ user_message_column: instruction_seed
47
+ output_column: response
48
+ model: gpt-4o-mini
49
+ temperature: 1.0
50
+ batch: True
51
+ input_ids:
52
+ - sample_dataset