Upload configuration file
Browse files
config/load_in_code_opencodereasoning_hf.yaml
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
operators:
|
| 4 |
+
- id: load_hf_split_0
|
| 5 |
+
config:
|
| 6 |
+
type: hf_source
|
| 7 |
+
dataset: mlfoundations-dev/opencodereasoning-mirror
|
| 8 |
+
split: split_0
|
| 9 |
+
subset: split_0
|
| 10 |
+
trust_remote_code: True
|
| 11 |
+
- id: load_hf_split_1
|
| 12 |
+
config:
|
| 13 |
+
type: hf_source
|
| 14 |
+
dataset: mlfoundations-dev/opencodereasoning-mirror
|
| 15 |
+
split: split_1
|
| 16 |
+
subset: split_1
|
| 17 |
+
trust_remote_code: True
|
| 18 |
+
- id: rename_task_column
|
| 19 |
+
config:
|
| 20 |
+
type: function
|
| 21 |
+
function: data_strategies.commons.force_rename_columns
|
| 22 |
+
function_config:
|
| 23 |
+
column_maps:
|
| 24 |
+
input: instruction_seed
|
| 25 |
+
input_ids:
|
| 26 |
+
- load_hf_split_0
|
| 27 |
+
- load_hf_split_1
|
| 28 |
+
- id: sample_dataset_pre
|
| 29 |
+
config:
|
| 30 |
+
type: function
|
| 31 |
+
function: data_strategies.commons.uniform_sample_fixed
|
| 32 |
+
function_config:
|
| 33 |
+
num_samples: 1_100_000
|
| 34 |
+
input_ids:
|
| 35 |
+
- rename_task_column
|
| 36 |
+
- id: add_source_name
|
| 37 |
+
config:
|
| 38 |
+
type: function
|
| 39 |
+
function: data_strategies.commons.add_constant_columns
|
| 40 |
+
function_config:
|
| 41 |
+
_source: "nvidia/OpenCodeReasoning"
|
| 42 |
+
input_ids:
|
| 43 |
+
- sample_dataset_pre
|
| 44 |
+
- id: decontaminate
|
| 45 |
+
config:
|
| 46 |
+
type: cpu_function
|
| 47 |
+
sharded: true
|
| 48 |
+
num_shards: 8
|
| 49 |
+
num_cpus: 32
|
| 50 |
+
function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram
|
| 51 |
+
function_config:
|
| 52 |
+
column: instruction_seed
|
| 53 |
+
eval_datasets:
|
| 54 |
+
- HuggingFaceH4/MATH-500
|
| 55 |
+
- Maxwell-Jia/AIME_2024
|
| 56 |
+
- AI-MO/aimo-validation-amc
|
| 57 |
+
- livecodebench/code_generation_lite
|
| 58 |
+
- mlfoundations-dev/AIME2025_combined
|
| 59 |
+
- cais/hle
|
| 60 |
+
- open-r1/codeforces
|
| 61 |
+
- Idavidrein/gpqa
|
| 62 |
+
- daman1209arora/jeebench
|
| 63 |
+
- mlfoundations-dev/mmlu_pro_eval_full
|
| 64 |
+
- Qwen/CodeElo
|
| 65 |
+
- open-r1/ioi
|
| 66 |
+
eval_columns:
|
| 67 |
+
- problem
|
| 68 |
+
- Problem
|
| 69 |
+
- problem
|
| 70 |
+
- question_content
|
| 71 |
+
- question
|
| 72 |
+
- question
|
| 73 |
+
- description
|
| 74 |
+
- Question
|
| 75 |
+
- question
|
| 76 |
+
- prompt
|
| 77 |
+
- description
|
| 78 |
+
- statement
|
| 79 |
+
eval_splits:
|
| 80 |
+
- test
|
| 81 |
+
- train
|
| 82 |
+
- train
|
| 83 |
+
- test
|
| 84 |
+
- train
|
| 85 |
+
- test
|
| 86 |
+
- test
|
| 87 |
+
- train
|
| 88 |
+
- test
|
| 89 |
+
- test
|
| 90 |
+
- test
|
| 91 |
+
- test
|
| 92 |
+
eval_subsets:
|
| 93 |
+
Idavidrein/gpqa: gpqa_diamond
|
| 94 |
+
similarity_threshold: 75.0
|
| 95 |
+
ngram_size: 13
|
| 96 |
+
input_ids:
|
| 97 |
+
- add_source_name
|
| 98 |
+
- id: sample_dataset
|
| 99 |
+
config:
|
| 100 |
+
type: function
|
| 101 |
+
function: data_strategies.commons.uniform_sample_fixed
|
| 102 |
+
function_config:
|
| 103 |
+
num_samples: 1_000_000
|
| 104 |
+
input_ids: ["decontaminate"]
|