Upload configuration file
Browse files- config/test_auto.yaml +79 -63
config/test_auto.yaml
CHANGED
|
@@ -73,71 +73,87 @@ operators:
|
|
| 73 |
input_ids:
|
| 74 |
- calc_embeddings_positive
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
# # - id: select_to_be_used_tiger_lab_math
|
| 142 |
# # config:
|
| 143 |
# # type: function
|
|
|
|
| 73 |
input_ids:
|
| 74 |
- calc_embeddings_positive
|
| 75 |
|
| 76 |
+
- id: calc_embeddings_negative
|
| 77 |
+
config:
|
| 78 |
+
type: gpu_function
|
| 79 |
+
num_gpus: 1
|
| 80 |
+
num_shards: 1
|
| 81 |
+
sharded: true
|
| 82 |
+
function: data_strategies.commons.calc_sentence_transformers_embedding
|
| 83 |
+
function_config:
|
| 84 |
+
text_column: question
|
| 85 |
+
model_name: intfloat/multilingual-e5-large-instruct
|
| 86 |
+
input_ids:
|
| 87 |
+
- rename_task_column
|
| 88 |
|
| 89 |
+
- id: force_merge_shards_negative
|
| 90 |
+
config:
|
| 91 |
+
type: function
|
| 92 |
+
function: data_strategies.commons.uniform_sample_fixed
|
| 93 |
+
function_config:
|
| 94 |
+
num_samples: 1_000_000
|
| 95 |
+
input_ids:
|
| 96 |
+
- calc_embeddings_negative
|
| 97 |
|
| 98 |
+
- id: seed_math_load_in
|
| 99 |
+
config:
|
| 100 |
+
type: load_preexisting
|
| 101 |
+
framework_name: seed_math_load_in
|
| 102 |
+
- id: get_tiger_lab_math
|
| 103 |
+
config:
|
| 104 |
+
type: function
|
| 105 |
+
function: data_strategies.commons.select_rows
|
| 106 |
+
function_config:
|
| 107 |
+
conditions:
|
| 108 |
+
source: "tiger_lab_math"
|
| 109 |
+
input_ids:
|
| 110 |
+
- seed_math_load_in
|
| 111 |
+
- id: sample_tiger_lab_math_before
|
| 112 |
+
config:
|
| 113 |
+
type: function
|
| 114 |
+
function: data_strategies.commons.uniform_sample_fixed
|
| 115 |
+
function_config:
|
| 116 |
+
num_samples: 75_000
|
| 117 |
+
input_ids:
|
| 118 |
+
- get_tiger_lab_math
|
| 119 |
+
- id: calc_embeddings_tiger_lab_math
|
| 120 |
+
config:
|
| 121 |
+
type: gpu_function
|
| 122 |
+
num_gpus: 1
|
| 123 |
+
num_shards: 1
|
| 124 |
+
sharded: true
|
| 125 |
+
function: data_strategies.commons.calc_sentence_transformers_embedding
|
| 126 |
+
function_config:
|
| 127 |
+
text_column: instruction_seed
|
| 128 |
+
model_name: intfloat/multilingual-e5-large-instruct
|
| 129 |
+
input_ids:
|
| 130 |
+
- sample_tiger_lab_math_before
|
| 131 |
+
|
| 132 |
+
- id: force_merge_shards_actual
|
| 133 |
+
config:
|
| 134 |
+
type: function
|
| 135 |
+
function: data_strategies.commons.uniform_sample_fixed
|
| 136 |
+
function_config:
|
| 137 |
+
num_samples: 1_000_000
|
| 138 |
+
input_ids:
|
| 139 |
+
- calc_embeddings_tiger_lab_math
|
| 140 |
+
|
| 141 |
+
- id: calc_embedding_difference_tiger_lab_math
|
| 142 |
+
config:
|
| 143 |
+
type: high_memory_function
|
| 144 |
+
function: data_strategies.InstructionFiltering.EmbeddingFilter.utils.calc_embedding_score_mean
|
| 145 |
+
function_config:
|
| 146 |
+
embedding_column: embeddings
|
| 147 |
+
positive_embedding_column: embeddings
|
| 148 |
+
negative_embedding_column: embeddings
|
| 149 |
+
input_dataset_map:
|
| 150 |
+
dataset: force_merge_shards_actual
|
| 151 |
+
negative_dataset: force_merge_shards_negative
|
| 152 |
+
positive_dataset: force_merge_shards_positive
|
| 153 |
+
input_ids:
|
| 154 |
+
- force_merge_shards_actual
|
| 155 |
+
- force_merge_shards_negative
|
| 156 |
+
- force_merge_shards_positive
|
| 157 |
# # - id: select_to_be_used_tiger_lab_math
|
| 158 |
# # config:
|
| 159 |
# # type: function
|