Automatic dcft datacuration framework upload for oh_v1.2_sin_airoboros_diversity
Browse files
config/DiversityExperiments/oh_v1.2_subsets_diversity/oh_v1.2_sin_airoboros_diversity.yaml
CHANGED
|
@@ -48,6 +48,15 @@ operators:
|
|
| 48 |
text_column: output
|
| 49 |
input_ids:
|
| 50 |
- load_oh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
- id: kmeans_inertia_embeddings
|
| 52 |
config:
|
| 53 |
type: function
|
|
@@ -104,6 +113,15 @@ operators:
|
|
| 104 |
output_name: kmeans_inertia_gradients
|
| 105 |
input_ids:
|
| 106 |
- calc_gradients
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
- id: merge
|
| 108 |
config:
|
| 109 |
type: merge
|
|
@@ -114,4 +132,6 @@ operators:
|
|
| 114 |
- gini_index
|
| 115 |
- self_bleu
|
| 116 |
- kmeans_inertia_embeddings
|
|
|
|
|
|
|
| 117 |
- kmeans_inertia_gradients
|
|
|
|
| 48 |
text_column: output
|
| 49 |
input_ids:
|
| 50 |
- load_oh
|
| 51 |
+
- id: vendi_embeddings
|
| 52 |
+
config:
|
| 53 |
+
type: function
|
| 54 |
+
function: data_strategies.DiversityExperiments.diversity_metrics.vendi_score
|
| 55 |
+
function_config:
|
| 56 |
+
vector_column_name: embeddings
|
| 57 |
+
output_column: projected_gradients_embeddings
|
| 58 |
+
input_ids:
|
| 59 |
+
- calc_embeddings
|
| 60 |
- id: kmeans_inertia_embeddings
|
| 61 |
config:
|
| 62 |
type: function
|
|
|
|
| 113 |
output_name: kmeans_inertia_gradients
|
| 114 |
input_ids:
|
| 115 |
- calc_gradients
|
| 116 |
+
- id: vendi_gradients
|
| 117 |
+
config:
|
| 118 |
+
type: function
|
| 119 |
+
function: data_strategies.DiversityExperiments.diversity_metrics.vendi_score
|
| 120 |
+
function_config:
|
| 121 |
+
vector_column_name: projected_gradients
|
| 122 |
+
output_column: projected_gradients_vendi
|
| 123 |
+
input_ids:
|
| 124 |
+
- calc_gradients
|
| 125 |
- id: merge
|
| 126 |
config:
|
| 127 |
type: merge
|
|
|
|
| 132 |
- gini_index
|
| 133 |
- self_bleu
|
| 134 |
- kmeans_inertia_embeddings
|
| 135 |
+
- vendi_embeddings
|
| 136 |
+
- vendi_gradients
|
| 137 |
- kmeans_inertia_gradients
|