Update DPO family dataset: code_generation_function
Browse files- README.md +53 -0
- artifacts/coverage.json +74 -0
- artifacts/manifests/dpo-target-001.manifest.json +0 -0
- data/code_generation_function.jsonl +0 -0
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: default
|
| 4 |
+
data_files:
|
| 5 |
+
- split: train
|
| 6 |
+
path: data/*.jsonl
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# SLM Synthetic DPO
|
| 10 |
+
|
| 11 |
+
## Summary
|
| 12 |
+
|
| 13 |
+
Synthetic preference-pair dataset containing chosen and rejected assistant responses.
|
| 14 |
+
|
| 15 |
+
## Dataset
|
| 16 |
+
|
| 17 |
+
- Dataset type: `preference optimization`
|
| 18 |
+
- Total pairs: `90000`
|
| 19 |
+
- Signals: `ai_concept_explanation, basic_arithmetic_qa, capital_city_qa, clear_sky_color_qa, code_explanation_no_code, code_expression_result, code_generation_function, direct_division, direct_subtraction, function_completion_body_only, list_exact_n_items, private_or_unverifiable_company_fact, repeat_exact_n_times, short_factual_stop_behavior`
|
| 20 |
+
- Teacher model: `deepseek/deepseek-v4-flash`
|
| 21 |
+
- Language: English
|
| 22 |
+
|
| 23 |
+
## Schema
|
| 24 |
+
|
| 25 |
+
```json
|
| 26 |
+
{
|
| 27 |
+
"id": "string",
|
| 28 |
+
"prompt": [
|
| 29 |
+
{"role": "user", "content": "string"}
|
| 30 |
+
],
|
| 31 |
+
"chosen": [
|
| 32 |
+
{"role": "assistant", "content": "string"}
|
| 33 |
+
],
|
| 34 |
+
"rejected": [
|
| 35 |
+
{"role": "assistant", "content": "string"}
|
| 36 |
+
],
|
| 37 |
+
"metadata": {
|
| 38 |
+
"category": "string",
|
| 39 |
+
"difficulty": 1,
|
| 40 |
+
"template_family": "string",
|
| 41 |
+
"eval_family": "string",
|
| 42 |
+
"failure_mode": "string"
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## Intended Use
|
| 48 |
+
|
| 49 |
+
Use this dataset for DPO-style preference optimization experiments.
|
| 50 |
+
|
| 51 |
+
## Limitations
|
| 52 |
+
|
| 53 |
+
This dataset is synthetic and encodes targeted preference behavior. Inspect chosen/rejected pairs before training.
|
artifacts/coverage.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_type": "dpo",
|
| 3 |
+
"row_count": 90000,
|
| 4 |
+
"files": {
|
| 5 |
+
"data/dpo/runs/dpo-target-001/datasets/ai_concept_explanation.jsonl": 6429,
|
| 6 |
+
"data/dpo/runs/dpo-target-001/datasets/basic_arithmetic_qa.jsonl": 6429,
|
| 7 |
+
"data/dpo/runs/dpo-target-001/datasets/capital_city_qa.jsonl": 6429,
|
| 8 |
+
"data/dpo/runs/dpo-target-001/datasets/clear_sky_color_qa.jsonl": 6429,
|
| 9 |
+
"data/dpo/runs/dpo-target-001/datasets/code_explanation_no_code.jsonl": 6429,
|
| 10 |
+
"data/dpo/runs/dpo-target-001/datasets/code_expression_result.jsonl": 6429,
|
| 11 |
+
"data/dpo/runs/dpo-target-001/datasets/code_generation_function.jsonl": 6429,
|
| 12 |
+
"data/dpo/runs/dpo-target-001/datasets/direct_division.jsonl": 6429,
|
| 13 |
+
"data/dpo/runs/dpo-target-001/datasets/direct_subtraction.jsonl": 6428,
|
| 14 |
+
"data/dpo/runs/dpo-target-001/datasets/function_completion_body_only.jsonl": 6428,
|
| 15 |
+
"data/dpo/runs/dpo-target-001/datasets/list_exact_n_items.jsonl": 6428,
|
| 16 |
+
"data/dpo/runs/dpo-target-001/datasets/private_or_unverifiable_company_fact.jsonl": 6428,
|
| 17 |
+
"data/dpo/runs/dpo-target-001/datasets/repeat_exact_n_times.jsonl": 6428,
|
| 18 |
+
"data/dpo/runs/dpo-target-001/datasets/short_factual_stop_behavior.jsonl": 6428
|
| 19 |
+
},
|
| 20 |
+
"categories": {
|
| 21 |
+
"code_expression_evaluation": 6429,
|
| 22 |
+
"code_generation": 12857,
|
| 23 |
+
"concise_factual_qa": 12858,
|
| 24 |
+
"controlled_verbosity": 6428,
|
| 25 |
+
"direct_arithmetic": 19286,
|
| 26 |
+
"exact_output_format_control": 12856,
|
| 27 |
+
"general_instruction_following": 12858,
|
| 28 |
+
"private_info_restraint": 6428
|
| 29 |
+
},
|
| 30 |
+
"eval_families": {
|
| 31 |
+
"ai_concept_explanation": 6429,
|
| 32 |
+
"basic_arithmetic_qa": 6429,
|
| 33 |
+
"capital_city_qa": 6429,
|
| 34 |
+
"clear_sky_color_qa": 6429,
|
| 35 |
+
"code_explanation_no_code": 6429,
|
| 36 |
+
"code_expression_result": 6429,
|
| 37 |
+
"code_generation_function": 6429,
|
| 38 |
+
"direct_division": 6429,
|
| 39 |
+
"direct_subtraction": 6428,
|
| 40 |
+
"function_completion_body_only": 6428,
|
| 41 |
+
"list_exact_n_items": 6428,
|
| 42 |
+
"private_or_unverifiable_company_fact": 6428,
|
| 43 |
+
"repeat_exact_n_times": 6428,
|
| 44 |
+
"short_factual_stop_behavior": 6428
|
| 45 |
+
},
|
| 46 |
+
"template_families": {
|
| 47 |
+
"capital_city_direct": 6429,
|
| 48 |
+
"code_explanation_plain_text": 6429,
|
| 49 |
+
"common_fact_color": 6429,
|
| 50 |
+
"direct_addition": 6429,
|
| 51 |
+
"direct_division": 6429,
|
| 52 |
+
"direct_subtraction": 6428,
|
| 53 |
+
"list_exact_count": 6428,
|
| 54 |
+
"private_company_metric": 6428,
|
| 55 |
+
"python_expression_result": 6429,
|
| 56 |
+
"python_function_body_only": 6428,
|
| 57 |
+
"python_function_code_only": 6429,
|
| 58 |
+
"repeat_word_count": 6428,
|
| 59 |
+
"short_ai_definition": 6429,
|
| 60 |
+
"short_factual_answer": 6428
|
| 61 |
+
},
|
| 62 |
+
"difficulty_counts": {
|
| 63 |
+
"1": 51428,
|
| 64 |
+
"2": 38572
|
| 65 |
+
},
|
| 66 |
+
"failure_modes": {
|
| 67 |
+
"code_includes_explanation": 19286,
|
| 68 |
+
"format_violation": 12856,
|
| 69 |
+
"unknown_fact_fabrication": 6428,
|
| 70 |
+
"verbosity_mismatch": 6428,
|
| 71 |
+
"wrong_factual_answer": 19287,
|
| 72 |
+
"wrong_numeric_answer": 25715
|
| 73 |
+
}
|
| 74 |
+
}
|
artifacts/manifests/dpo-target-001.manifest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/code_generation_function.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|