Automatic dcft datacuration framework upload for oh_v1.2_evol_instruct_x2
Browse files
config/Airoboros/stage_1_categories/airoboros_stage_1_song_instructions_gpt-4o-mini.yaml
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: args_dataset
|
| 3 |
+
config:
|
| 4 |
+
type: function
|
| 5 |
+
function: data_strategies.commons.create_constant_dataset
|
| 6 |
+
function_config:
|
| 7 |
+
language: English
|
| 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 |
+
batch_size: 25
|
| 10 |
+
min_docsearch_score: 0.15
|
| 11 |
+
airoboros_subset: song
|
| 12 |
+
|
| 13 |
+
- id: generate_general_instructions
|
| 14 |
+
config:
|
| 15 |
+
type: completions
|
| 16 |
+
map: list
|
| 17 |
+
map_config:
|
| 18 |
+
user_message: |
|
| 19 |
+
I would like you to help me create tasks that can be used to write lyrics.
|
| 20 |
+
|
| 21 |
+
Here are a few examples:
|
| 22 |
+
instruction: Draft a psychedelic rock song about love transcending time and space. The lyrics should:
|
| 23 |
+
- Utilize cosmic and astral imagery.
|
| 24 |
+
- Portray the intensity and depth of love.
|
| 25 |
+
- Use philosophical or metaphysical concepts.
|
| 26 |
+
|
| 27 |
+
instruction: Write a motivational hip-hop song about fighting for your dreams despite facing various obstacles. The lyrics should convey a strong message of resilience and determination, include real-life struggles and how they were overcome, and have a catchy hook that encourages listeners to believe in themselves.
|
| 28 |
+
|
| 29 |
+
instruction: Compose a folk song that encapsulates the beauty and tranquility of life in the countryside.
|
| 30 |
+
|
| 31 |
+
End of examples.
|
| 32 |
+
|
| 33 |
+
All output text should be in {{language}}.
|
| 34 |
+
|
| 35 |
+
{{topic_avoidance}}
|
| 36 |
+
|
| 37 |
+
Include exactly {{batch_size}} tasks in your response.
|
| 38 |
+
|
| 39 |
+
Be sure to include a variety of styles, topics, formatting of the task, etc. Some tasks should start with a main synopsis followed by a set of criteria as a list, some tasks should have criteria as normal text, and other tasks should not really specify much in terms of requirements and be open-ended.
|
| 40 |
+
output_column: instruction
|
| 41 |
+
model: gpt-4o-mini
|
| 42 |
+
temperature: 0.9
|
| 43 |
+
top_p: 0.5
|
| 44 |
+
presence_penalty: 2.0
|
| 45 |
+
n_repeat: 2000 # to get to target count
|
| 46 |
+
input_ids:
|
| 47 |
+
- args_dataset
|
| 48 |
+
|
| 49 |
+
- id: cleanup_task
|
| 50 |
+
config:
|
| 51 |
+
type: function
|
| 52 |
+
function: data_strategies.Airoboros.utils.cleanup_tsk
|
| 53 |
+
input_ids:
|
| 54 |
+
- generate_general_instructions
|
| 55 |
+
|
| 56 |
+
- id: drop_columns
|
| 57 |
+
config:
|
| 58 |
+
type: function
|
| 59 |
+
function: data_strategies.commons.remove_columns
|
| 60 |
+
function_config:
|
| 61 |
+
columns:
|
| 62 |
+
- language
|
| 63 |
+
- batch_size
|
| 64 |
+
- topic_avoidance
|
| 65 |
+
input_ids:
|
| 66 |
+
- cleanup_task
|
| 67 |
+
|
| 68 |
+
# target count is 2000
|
| 69 |
+
# min doc search score is 0.25
|