Datasets:
|
Download README.md from Stray2024/python-dataset-think: direct link, hf CLI and curl.
- Browser
- Download file 1.88 kB
-
https://huggingface.co/datasets/Stray2024/python-dataset-think/resolve/main/README.md
- Command line
-
hf download hf://datasets/Stray2024/python-dataset-think/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Stray2024/python-dataset-think/resolve/main/README.md
1.88 kB
metadata
language:
- ru
- en
license: apache-2.0
task_categories:
- text-generation
tags:
- code
- python
- reasoning
- think
- deepseek-r1
- compiler-verified
- synthetic
- unsloth
size_categories:
- n<1K
🧠 Python Dataset (Think / DeepSeek-R1 Style)
English
Python Dataset (Think) is a high-purity synthetic dataset designed for teaching language models to reason step-by-step before producing Python code.
Each sample contains:
- Algorithmic task / Problem statement (RU / EN).
- Deep step-by-step reasoning inside
<think>...</think>tags analyzing edge cases, algorithm logic, and time/space complexity $O(...)$. - Verified Python code block tested via AST parsing, bytecode compilation, and execution sandbox.
- Total Samples: 58
- Format: Standard ChatML (
messages) - Author: Stray2024
Русский
Python Dataset (Think) — очищенный синтетический датасет для обучения моделей глубокому пошаговому рассуждению перед генерацией кода на Python.
Каждый пример включает:
- Условие задачи (русский / английский).
- Цепочку рассуждений внутри тегов
<think>...</think>(анализ алгоритма, проверка краевых случаев, сложность). - Рабочий блок кода, проверенный 3-ступенчатым фильтром компилятора (AST + байткод + тестовый запуск).
- Всего примеров: 58
- Формат: ChatML (
messages) - Автор: Stray2024