EtashGuha commited on
Commit
80e4f49
·
verified ·
1 Parent(s): 8978f71

Upload configuration file

Browse files
config/embedding_apply_codefeedback.yaml CHANGED
@@ -118,37 +118,37 @@ operators:
118
  num_samples: 1_000_000
119
  input_ids:
120
  - calc_embeddings_glaive
121
- # - id: calc_embedding_difference_glaive
122
- # config:
123
- # type: high_memory_function
124
- # memory: 300
125
- # function: data_strategies.InstructionFiltering.EmbeddingFilter.utils.calc_embedding_score_mean
126
- # function_config:
127
- # embedding_column: embeddings
128
- # positive_embedding_column: embeddings
129
- # negative_embedding_column: embeddings
130
- # input_dataset_map:
131
- # dataset: force_merge_shards_actual
132
- # negative_dataset: force_merge_shards_negative
133
- # positive_dataset: force_merge_shards_positive
134
- # input_ids:
135
- # - force_merge_shards_actual
136
- # - force_merge_shards_negative
137
- # - force_merge_shards_positive
138
- # - id: select_to_be_used_glaive
139
- # config:
140
- # type: function
141
- # function: data_strategies.InstructionFiltering.AskLLM.utils.filter_rank
142
- # function_config:
143
- # top_percentage: 0.10
144
- # rating_column: difference_score
145
- # input_ids:
146
- # - calc_embedding_difference_glaive
147
- # - id: sample_dataset_glaive
148
- # config:
149
- # type: function
150
- # function: data_strategies.commons.uniform_sample_fixed
151
- # function_config:
152
- # num_samples: 4_000
153
- # input_ids:
154
- # - select_to_be_used_glaive
 
118
  num_samples: 1_000_000
119
  input_ids:
120
  - calc_embeddings_glaive
121
+ - id: calc_embedding_difference_glaive
122
+ config:
123
+ type: high_memory_function
124
+ memory: 300
125
+ function: data_strategies.InstructionFiltering.EmbeddingFilter.utils.calc_embedding_score_mean
126
+ function_config:
127
+ embedding_column: embeddings
128
+ positive_embedding_column: embeddings
129
+ negative_embedding_column: embeddings
130
+ input_dataset_map:
131
+ dataset: force_merge_shards_actual
132
+ negative_dataset: force_merge_shards_negative
133
+ positive_dataset: force_merge_shards_positive
134
+ input_ids:
135
+ - force_merge_shards_actual
136
+ - force_merge_shards_negative
137
+ - force_merge_shards_positive
138
+ - id: select_to_be_used_glaive
139
+ config:
140
+ type: function
141
+ function: data_strategies.InstructionFiltering.AskLLM.utils.filter_rank
142
+ function_config:
143
+ top_percentage: 0.10
144
+ rating_column: difference_score
145
+ input_ids:
146
+ - calc_embedding_difference_glaive
147
+ - id: sample_dataset_glaive
148
+ config:
149
+ type: function
150
+ function: data_strategies.commons.uniform_sample_fixed
151
+ function_config:
152
+ num_samples: 4_000
153
+ input_ids:
154
+ - select_to_be_used_glaive