--- language: - code license: apache-2.0 task_categories: - text-generation tags: - code - coding - synthetic - instruction-tuning - sharegpt - alpaca - multi-language - 2b-model - fine-tuning size_categories: - 1M **Note:** Two part files (043 and 050) are empty (0 bytes) and can be safely ignored. ## Usage ### Loading with Hugging Face Datasets ```python from datasets import load_dataset dataset = load_dataset("your-username/synthetic_coding_dataset_v1", split="train") print(dataset[0]) ``` ### Loading Manually ```python import json entries = [] for i in range(1, 64): filepath = f"data/coding_dataset_part_{i:03d}.jsonl" try: with open(filepath, "r", encoding="utf-8") as f: for line in f: line = line.strip() if line: entries.append(json.loads(line)) except FileNotFoundError: continue print(f"Loaded {len(entries)} entries") ``` ### Filtering by Language or Category ```python # Filter Python entries python_entries = [e for e in dataset if e["language"] == "Python"] # Filter debugging tasks at advanced level debugging_advanced = [ e for e in dataset if e["category"] == "debugging" and e["difficulty"] == "advanced" ] ``` ## Intended Use This dataset is designed for: - **Instruction tuning** of code-generation language models in the ~2B parameter range - **Fine-tuning** existing base models for coding tasks - **Research** on multi-language code understanding and generation - **Benchmarking** code model performance across languages and difficulty levels ## Limitations - This is a **synthetically generated** dataset. While it covers a broad range of coding tasks, it may not fully represent the complexity and nuance of real-world developer interactions or production codebases. - The responses are generated by an AI model and may occasionally contain suboptimal solutions, outdated APIs, or minor inaccuracies. - The dataset has not been manually verified at scale; users are encouraged to perform their own quality filtering based on their specific requirements. ## License This dataset is released under the **MIT** license. ## Acknowledgements Generated using large language models for synthetic data creation. Designed to support open-source code model training and research.