Datasets:
Aytuğ
commited on
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,40 +1,87 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- code
|
| 7 |
+
- programming
|
| 8 |
+
- competitive-programming
|
| 9 |
+
- mathematics
|
| 10 |
+
- reasoning
|
| 11 |
+
- chain-of-thought
|
| 12 |
+
- tool-use
|
| 13 |
+
size_categories:
|
| 14 |
+
- 100K<n<1M
|
| 15 |
+
task_categories:
|
| 16 |
+
- text-generation
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Fumea Coder Dataset
|
| 20 |
+
|
| 21 |
+
A high-quality, deduplicated dataset for training coding and mathematics language models.
|
| 22 |
+
|
| 23 |
+
## Dataset Statistics
|
| 24 |
+
|
| 25 |
+
- **Total Samples**: 420,686
|
| 26 |
+
- **Format**: ChatML (messages array)
|
| 27 |
+
- **Languages**: Python, JavaScript, C++, Java, and more
|
| 28 |
+
|
| 29 |
+
## Sources
|
| 30 |
+
|
| 31 |
+
This dataset merges and cleans data from:
|
| 32 |
+
|
| 33 |
+
| Source | Samples | Description |
|
| 34 |
+
|--------|---------|-------------|
|
| 35 |
+
| ByteDance-Seed/Code-Contests-Plus | 10,293 | Competitive programming |
|
| 36 |
+
| open-r1/codeforces | 47,558 | Codeforces problems |
|
| 37 |
+
| sahil2801/CodeAlpaca-20k | 15,784 | General coding |
|
| 38 |
+
| nampdn-ai/tiny-codes | 159,992 | Educational examples |
|
| 39 |
+
| stallone/glaive-code-assistant-v3 | 94,732 | Code assistance |
|
| 40 |
+
| AlicanKiraz0/Agentic-CoT-Coding-SFT | 429 | Chain-of-thought |
|
| 41 |
+
| deepmind/code_contests | 12,943 | AlphaCode problems |
|
| 42 |
+
|
| 43 |
+
## Features
|
| 44 |
+
|
| 45 |
+
- ✅ Samples with test cases: 23,236
|
| 46 |
+
- ✅ Samples with reasoning: 18,401
|
| 47 |
+
- ✅ Samples with tool definitions: 0
|
| 48 |
+
|
| 49 |
+
## Processing Pipeline
|
| 50 |
+
|
| 51 |
+
1. **Raw merge**: 441,838 samples
|
| 52 |
+
2. **Exact deduplication**: 431,574 samples
|
| 53 |
+
3. **MinHash LSH deduplication**: 425,128 samples
|
| 54 |
+
4. **Quality filtering**: 420,686 samples
|
| 55 |
+
|
| 56 |
+
## Usage
|
| 57 |
+
|
| 58 |
+
```python
|
| 59 |
+
from datasets import load_dataset
|
| 60 |
+
|
| 61 |
+
dataset = load_dataset("Fumea/fumea_coder_dataset")
|
| 62 |
+
|
| 63 |
+
# Each sample has:
|
| 64 |
+
# - messages: List of {role, content} for ChatML format
|
| 65 |
+
# - language: Programming language
|
| 66 |
+
# - difficulty: easy/medium/hard/expert
|
| 67 |
+
# - source: Original dataset
|
| 68 |
+
# - has_tests: Whether test cases are available
|
| 69 |
+
# - test_cases: JSON string of test cases
|
| 70 |
+
# - has_reasoning: Whether chain-of-thought is included
|
| 71 |
+
# - quality_score: Computed quality score
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
## License
|
| 75 |
+
|
| 76 |
+
Apache 2.0 (inherits from source datasets)
|
| 77 |
+
|
| 78 |
+
## Citation
|
| 79 |
+
|
| 80 |
+
```bibtex
|
| 81 |
+
@misc{fumea_coder_dataset,
|
| 82 |
+
title={Fumea Coder Dataset},
|
| 83 |
+
author={Fumea},
|
| 84 |
+
year={2025},
|
| 85 |
+
url={https://huggingface.co/datasets/Fumea/fumea_coder_dataset}
|
| 86 |
+
}
|
| 87 |
+
```
|