Automatic dcft datacuration framework upload for oh_v1.3_evol_instruct_x2
Browse files
config/Airoboros/stage_1_categories/airoboros_stage_1_topics_gpt-4o-mini.yaml
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: args_dataset
|
| 3 |
+
config:
|
| 4 |
+
type: function
|
| 5 |
+
function: data_strategies.commons.create_constant_dataset
|
| 6 |
+
function_config:
|
| 7 |
+
batch_size: 20
|
| 8 |
+
topic_avoidance: Avoid any tasks that would be related to climate change, green tech, remewable energy, DEI, sex and/or gender, religion, politics, social issues, race, ethnicity, artificial intelligence, baking/cooking, or any topic that you would likely not respond to, or any task which a language model would not be able to respond to, e.g. tasks about emotions, feelings, physical senses, etc.
|
| 9 |
+
|
| 10 |
+
- id: generate_topics
|
| 11 |
+
config:
|
| 12 |
+
type: completions
|
| 13 |
+
map: list
|
| 14 |
+
map_config:
|
| 15 |
+
user_message: "Give me a list of {{batch_size}} completely random topics. {{topic_avoidance}}"
|
| 16 |
+
output_column: topic
|
| 17 |
+
model: gpt-4o-mini
|
| 18 |
+
temperature: 0.7
|
| 19 |
+
top_p: 0.5
|
| 20 |
+
presence_penalty: 2.0
|
| 21 |
+
n_repeat: 350
|
| 22 |
+
input_ids:
|
| 23 |
+
- args_dataset
|
| 24 |
+
|
| 25 |
+
- id: drop_columns
|
| 26 |
+
config:
|
| 27 |
+
type: function
|
| 28 |
+
function: data_strategies.commons.remove_columns
|
| 29 |
+
function_config:
|
| 30 |
+
columns:
|
| 31 |
+
- topic_avoidance
|
| 32 |
+
- batch_size
|
| 33 |
+
input_ids:
|
| 34 |
+
- generate_topics
|
| 35 |
+
|
| 36 |
+
- id: filter_banned_responses
|
| 37 |
+
config:
|
| 38 |
+
type: function
|
| 39 |
+
function: data_strategies.Airoboros.utils.filter_banned_responses
|
| 40 |
+
function_config:
|
| 41 |
+
response_column: topic
|
| 42 |
+
input_ids:
|
| 43 |
+
- drop_columns
|
| 44 |
+
|
| 45 |
+
- id: dedup_topics
|
| 46 |
+
config:
|
| 47 |
+
type: function
|
| 48 |
+
function: data_strategies.commons.dedup_on_columns
|
| 49 |
+
function_config:
|
| 50 |
+
dedup_columns:
|
| 51 |
+
- topic
|
| 52 |
+
input_ids:
|
| 53 |
+
- filter_banned_responses
|
| 54 |
+
|
| 55 |
+
# TARGET COUNT is 1238 after dedup
|