ryanmarten commited on
Commit
3d0aa61
·
verified ·
1 Parent(s): 8fd56e5

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/fig1_code_kodcode.yaml +85 -0
config/fig1_code_kodcode.yaml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_hf
3
+ config:
4
+ type: hf_source
5
+ dataset: KodCode/KodCode-V1-SFT-R1
6
+ split: train
7
+ trust_remote_code: True
8
+ - id: unravel_conversations
9
+ config:
10
+ type: function
11
+ function: data_strategies.commons.convert_sharegpt_to_instruction_response
12
+ function_config:
13
+ input_sharegpt_column: conversations
14
+ output_instruction_column: original_problem
15
+ output_response_column: original_reasoning_trace
16
+ role_tag: from
17
+ user_tag: human
18
+ content_tag: from
19
+ assistant_tag: gpt
20
+ drop_non_output_columns: True
21
+ input_ids:
22
+ - load_hf
23
+ # - id: decontaminate
24
+ # config:
25
+ # type: cpu_function
26
+ # sharded: false
27
+ # num_cpus: 16
28
+ # function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram
29
+ # function_config:
30
+ # column: problem
31
+ # eval_datasets:
32
+ # - HuggingFaceH4/MATH-500
33
+ # - Maxwell-Jia/AIME_2024
34
+ # - AI-MO/aimo-validation-amc
35
+ # - livecodebench/code_generation_lite
36
+ # - mlfoundations-dev/AIME2025_combined
37
+ # - cais/hle
38
+ # - open-r1/codeforces
39
+ # - Idavidrein/gpqa
40
+ # - daman1209arora/jeebench
41
+ # - mlfoundations-dev/mmlu_pro_eval_full
42
+ # - Qwen/CodeElo
43
+ # - open-r1/ioi
44
+ # eval_columns:
45
+ # - problem
46
+ # - Problem
47
+ # - problem
48
+ # - question_content
49
+ # - question
50
+ # - question
51
+ # - description
52
+ # - Question
53
+ # - question
54
+ # - prompt
55
+ # - description
56
+ # - statement
57
+ # eval_splits:
58
+ # - test
59
+ # - train
60
+ # - train
61
+ # - test
62
+ # - train
63
+ # - test
64
+ # - test
65
+ # - train
66
+ # - test
67
+ # - test
68
+ # - test
69
+ # - test
70
+ # eval_subsets:
71
+ # Idavidrein/gpqa: gpqa_diamond
72
+ # similarity_threshold: 75.0
73
+ # ngram_size: 13
74
+ # input_ids:
75
+ # - decompose_reasoning_trace
76
+ - id: convert_to_sharegpt
77
+ config:
78
+ type: function
79
+ function: data_strategies.commons.convert_instruction_response_to_sharegpt
80
+ function_config:
81
+ input_instruction_column: original_problem
82
+ input_response_column: original_reasoning_trace
83
+ output_sharegpt_column: conversations
84
+ input_ids:
85
+ - unravel_conversations