Automatic dcft datacuration framework upload for airoboros_coding_instructions_gpt-4o-mini
Browse files
config/Airoboros/categories/airoboros_coding_instructions_gpt-4o-mini.yaml
CHANGED
|
@@ -1,21 +1,8 @@
|
|
| 1 |
operators:
|
| 2 |
-
- id:
|
| 3 |
-
config:
|
| 4 |
-
type: load_preexisting
|
| 5 |
-
framework_name: airoboros_topics_gpt-4o-mini
|
| 6 |
-
|
| 7 |
-
- id: create_topics_strings
|
| 8 |
config:
|
| 9 |
type: function
|
| 10 |
-
function: data_strategies.
|
| 11 |
-
function_config:
|
| 12 |
-
input_topic_column: topic
|
| 13 |
-
output_topics_str_column: topics
|
| 14 |
-
n_topics_per_string: 10 # this matches batch size in the config (10)
|
| 15 |
-
n_strings: 100 # TODO change this based on the yeild for the category
|
| 16 |
-
target_name: instruction
|
| 17 |
-
input_ids:
|
| 18 |
-
- load_airoboros_topics
|
| 19 |
|
| 20 |
- id: args_dataset
|
| 21 |
config:
|
|
@@ -24,7 +11,6 @@ operators:
|
|
| 24 |
function_config:
|
| 25 |
language: English
|
| 26 |
batch_size: 10
|
| 27 |
-
plain_ratio: 0.5
|
| 28 |
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.
|
| 29 |
flesch: The output should be written in such a way as to have a Flesch-Kincaid readability score of 30 or lower - best understood by those with college education. The response must not contain any notes or information about Flesch-Kincaid scores.
|
| 30 |
coding_languages:
|
|
@@ -65,7 +51,14 @@ operators:
|
|
| 65 |
- swagger/openapi
|
| 66 |
- pyramid web framework
|
| 67 |
input_ids:
|
| 68 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
- id: generate_instructions
|
| 71 |
config:
|
|
@@ -129,8 +122,6 @@ operators:
|
|
| 129 |
- topic_avoidance
|
| 130 |
- flesch
|
| 131 |
- batch_size
|
| 132 |
-
- topics
|
| 133 |
-
- plain_ratio
|
| 134 |
- coding_languages
|
| 135 |
- related_software
|
| 136 |
input_ids:
|
|
|
|
| 1 |
operators:
|
| 2 |
+
- id: empty_dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
config:
|
| 4 |
type: function
|
| 5 |
+
function: data_strategies.commons.dummy_dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
- id: args_dataset
|
| 8 |
config:
|
|
|
|
| 11 |
function_config:
|
| 12 |
language: English
|
| 13 |
batch_size: 10
|
|
|
|
| 14 |
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.
|
| 15 |
flesch: The output should be written in such a way as to have a Flesch-Kincaid readability score of 30 or lower - best understood by those with college education. The response must not contain any notes or information about Flesch-Kincaid scores.
|
| 16 |
coding_languages:
|
|
|
|
| 51 |
- swagger/openapi
|
| 52 |
- pyramid web framework
|
| 53 |
input_ids:
|
| 54 |
+
- empty_dataset
|
| 55 |
+
|
| 56 |
+
- id: sample_coding_instructions_args
|
| 57 |
+
config:
|
| 58 |
+
type: function
|
| 59 |
+
function: data_strategies.Airoboros.utils.sample_coding_instructions_args
|
| 60 |
+
function_config:
|
| 61 |
+
n_samples: 10 # Use this to control the output size
|
| 62 |
|
| 63 |
- id: generate_instructions
|
| 64 |
config:
|
|
|
|
| 122 |
- topic_avoidance
|
| 123 |
- flesch
|
| 124 |
- batch_size
|
|
|
|
|
|
|
| 125 |
- coding_languages
|
| 126 |
- related_software
|
| 127 |
input_ids:
|