Ravert commited on
Commit
1b0fd09
·
verified ·
1 Parent(s): f60eb2b

Rebuild dataset for ML exam practice

Browse files
README.md CHANGED
@@ -1,96 +1,39 @@
1
- ---
2
- size_categories: 1K<n<10K
3
- tags:
4
- - synthetic
5
- - datadesigner
6
- configs:
7
- - config_name: data
8
- data_files: data/*.parquet
9
- default: true
10
- ---
11
-
12
- <div style="display: flex; justify-content: space-between; align-items: flex-end; width: 100%; margin-bottom: 1rem;">
13
- <h1 style="flex: 1; margin: 0;">Test2</h1>
14
- <sub style="white-space: nowrap;">Made with ❤️ using 🦥 Unsloth Studio</sub>
15
- </div>
16
-
17
- ---
18
-
19
- ML_1 was generated with Unsloth Recipe Studio. It contains 1,000 generated records.
20
-
21
- ---
22
-
23
- ## 🚀 Quick Start
24
-
25
- ```python
26
- from datasets import load_dataset
27
-
28
- # Load the main dataset
29
- dataset = load_dataset("Ravert/test2", "data", split="train")
30
- df = dataset.to_pandas()
31
-
32
- ```
33
-
34
- ---
35
-
36
- ## 📊 Dataset Summary
37
-
38
- - **📈 Records**: 1,000
39
- - **📋 Columns**: 3
40
-
41
-
42
- ---
43
-
44
- ## 📋 Schema & Statistics
45
-
46
-
47
- | Column | Type | Column Type | Unique (%) | Null (%) | Details |
48
- |--------|------|-------------|------------|----------|---------|
49
- | `llm_structured_1` | `dict` | llm-structured | 1000 (100.0%) | 0 (0.0%) | Tokens: 76 out / 394 in |
50
-
51
-
52
- ---
53
-
54
- ## ⚙️ Generation Details
55
-
56
-
57
- Generated with 3 column configuration(s):
58
-
59
-
60
- - **llm-structured**: 1 column(s)
61
-
62
- - **seed-dataset**: 2 column(s)
63
-
64
-
65
-
66
- 📄 Full configuration available in [`builder_config.json`](builder_config.json) and detailed metadata in [`metadata.json`](metadata.json).
67
-
68
- ---
69
-
70
- ## 📚 Citation
71
-
72
- If you use Data Designer in your work, please cite the project as follows:
73
-
74
- ```bibtex
75
- @misc{nemo-data-designer,
76
- author = {The NeMo Data Designer Team, NVIDIA},
77
- title = {NeMo Data Designer: A framework for generating synthetic data from scratch or based on your own seed data},
78
- howpublished = {\url{https://github.com/NVIDIA-NeMo/DataDesigner}},
79
- year = 2026,
80
- note = {GitHub Repository},
81
- }
82
- ```
83
-
84
- ---
85
-
86
- ## 💡 About NeMo Data Designer
87
-
88
- NeMo Data Designer is a general framework for generating high-quality synthetic data that goes beyond simple LLM prompting. It provides:
89
-
90
- - **Diverse data generation** using statistical samplers, LLMs, or existing seed datasets
91
- - **Relationship control** between fields with dependency-aware generation
92
- - **Quality validation** with built-in Python, SQL, and custom local and remote validators
93
- - **LLM-as-a-judge** scoring for quality assessment
94
- - **Fast iteration** with preview mode before full-scale generation
95
-
96
- For more information, visit: [https://github.com/NVIDIA-NeMo/DataDesigner](https://github.com/NVIDIA-NeMo/DataDesigner) (`pip install data-designer`)
 
1
+ ---
2
+ language:
3
+ - pl
4
+ tags:
5
+ - unsloth
6
+ - alpaca
7
+ - machine-learning
8
+ - python
9
+ - exam-prep
10
+ configs:
11
+ - config_name: data
12
+ data_files: data/*.parquet
13
+ default: true
14
+ ---
15
+
16
+ # Test2 - Exam Ready
17
+
18
+ Poprawiona wersja datasetu pod kolokwium z uczenia maszynowego w Pythonie.
19
+
20
+ Zamiast prostego QA z cytatem dataset uczy model:
21
+ - rozpoznawać typ problemu po opisie datasetu,
22
+ - wykonać EDA i preprocessing,
23
+ - dobrać model albo metodę,
24
+ - napisać kod Python,
25
+ - wskazać metryki i typowe pułapki.
26
+
27
+ ## Format
28
+
29
+ Alpaca / Unsloth:
30
+ - `instruction`
31
+ - `input`
32
+ - `output`
33
+
34
+ Metadata:
35
+ - `topic`
36
+ - `task_type`
37
+ - `source_file`
38
+
39
+ Records: 1000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
builder_config.json CHANGED
@@ -1,100 +1,50 @@
1
- {
2
- "data_designer": {
3
- "columns": [
4
- {
5
- "name": "llm_structured_1",
6
- "drop": false,
7
- "allow_resize": false,
8
- "column_type": "llm-structured",
9
- "prompt": "Given ONLY this chunk: {{ chunk_text }} generate one answerable question, answer, and exact supporting quote from chunk. If not answerable, skip.",
10
- "model_alias": "provider_column",
11
- "system_prompt": null,
12
- "multi_modal_context": null,
13
- "tool_alias": null,
14
- "with_trace": "none",
15
- "extract_reasoning_content": false,
16
- "output_format": {
17
- "type": "object",
18
- "additionalProperties": false,
19
- "required": [
20
- "question",
21
- "answer",
22
- "evidence_quote"
23
- ],
24
- "properties": {
25
- "question": {
26
- "type": "string"
27
- },
28
- "answer": {
29
- "type": "string"
30
- },
31
- "evidence_quote": {
32
- "type": "string"
33
- }
34
- }
35
- }
36
- },
37
- {
38
- "name": "chunk_text",
39
- "drop": false,
40
- "allow_resize": false,
41
- "column_type": "seed-dataset"
42
- },
43
- {
44
- "name": "source_file",
45
- "drop": false,
46
- "allow_resize": false,
47
- "column_type": "seed-dataset"
48
- }
49
- ],
50
- "model_configs": [
51
- {
52
- "alias": "provider_column",
53
- "model": "deepseek/deepseek-v4-pro",
54
- "inference_parameters": {
55
- "generation_type": "chat-completion",
56
- "max_parallel_requests": 4,
57
- "timeout": null,
58
- "extra_body": null,
59
- "temperature": 0.7,
60
- "top_p": null,
61
- "max_tokens": null
62
- },
63
- "provider": "provider_1",
64
- "skip_health_check": false
65
- }
66
- ],
67
- "tool_configs": [],
68
- "seed_config": {
69
- "source": {
70
- "seed_type": "unstructured",
71
- "paths": [
72
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/b8a4fa2c175f457db0feb8273f9075d7.extracted.txt",
73
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/bec20ec612e44e85aea6de58d27f7501.extracted.txt",
74
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/c736eb5e65824b6fba5e88de4b471c62.extracted.txt",
75
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/b71db9b5c01f43e196389fa4462183ce.extracted.txt",
76
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/318bd502c87b4e688a2f6af51641d094.extracted.txt",
77
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/2537bdf9c2aa4797a3a266b00d2ee78a.extracted.txt",
78
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/8591cd495c2943c1aa6f2bb89a2425b6.extracted.txt",
79
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/44221de339164189badcdd6aa2994f0b.extracted.txt",
80
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/ce4f2cad5f1a4a8ba05f96f2561be512.extracted.txt",
81
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/67a2008bde0847e1bba17fc7939a2c50.extracted.txt",
82
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/18c486022fa64a8b88a5fe09a61fab8f.extracted.txt",
83
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/a92a61391233433da2dec0a04247e630.extracted.txt",
84
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/627d83e612894740885cd5c6d489f154.extracted.txt",
85
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/b9d52a3d1007410c8b575d70dd8779e8.extracted.txt",
86
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/b1a8c5a4dda54b3f935d5d2537e2a88c.extracted.txt",
87
- "/root/.unsloth/studio/assets/datasets/unstructured-uploads/n4/bb0c143f913f4c58a32872c024301c8b.extracted.txt"
88
- ],
89
- "chunk_size": 1200,
90
- "chunk_overlap": 200
91
- },
92
- "sampling_strategy": "ordered",
93
- "selection_strategy": null
94
- },
95
- "constraints": null,
96
- "profilers": null,
97
- "processors": null
98
- },
99
- "library_version": "0.5.4"
100
  }
 
1
+ {
2
+ "data_designer": {
3
+ "columns": [
4
+ {
5
+ "name": "instruction",
6
+ "drop": false,
7
+ "allow_resize": false,
8
+ "column_type": "seed-dataset"
9
+ },
10
+ {
11
+ "name": "input",
12
+ "drop": false,
13
+ "allow_resize": false,
14
+ "column_type": "seed-dataset"
15
+ },
16
+ {
17
+ "name": "output",
18
+ "drop": false,
19
+ "allow_resize": false,
20
+ "column_type": "seed-dataset"
21
+ },
22
+ {
23
+ "name": "topic",
24
+ "drop": false,
25
+ "allow_resize": false,
26
+ "column_type": "seed-dataset"
27
+ },
28
+ {
29
+ "name": "task_type",
30
+ "drop": false,
31
+ "allow_resize": false,
32
+ "column_type": "seed-dataset"
33
+ },
34
+ {
35
+ "name": "source_file",
36
+ "drop": false,
37
+ "allow_resize": false,
38
+ "column_type": "seed-dataset"
39
+ }
40
+ ],
41
+ "seed_config": {
42
+ "source": {
43
+ "seed_type": "curated-exam-ready"
44
+ },
45
+ "sampling_strategy": "balanced-by-lab-topic"
46
+ }
47
+ },
48
+ "library_version": "0.5.4-compatible",
49
+ "note": "Rebuilt for Unsloth Alpaca-style fine-tuning for ML/Python exam preparation."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  }
data/batch_00000.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/batch_00000.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cedcf618a4c5361eacd287353574fa4b0ddcb131718d79f53cff4141b7f0d794
3
- size 688944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88df96cc472feb7076d11187c3a0024120c6798f5dff4d78e80305190170b1c4
3
+ size 139718
metadata.json CHANGED
@@ -1,35 +1,33 @@
1
- {
2
- "actual_num_records": 1000,
3
- "buffer_size": 1000,
4
- "column_statistics": [
5
- {
6
- "column_name": "llm_structured_1",
7
- "column_type": "llm-structured",
8
- "input_tokens_mean": 394.2,
9
- "input_tokens_median": 389.0,
10
- "input_tokens_stddev": 49.86,
11
- "num_null": 0,
12
- "num_records": 1000,
13
- "num_unique": 1000,
14
- "output_tokens_mean": 75.57,
15
- "output_tokens_median": 70.0,
16
- "output_tokens_stddev": 30.75,
17
- "pyarrow_dtype": "struct<answer: string, evidence_quote: string, question: string>",
18
- "simple_dtype": "dict"
19
- }
20
- ],
21
- "dataset_name": "recipe_ml-1",
22
- "file_paths": {
23
- "data": [
24
- "data/batch_00000.parquet"
25
- ]
26
- },
27
- "num_completed_batches": 1,
28
- "schema": {
29
- "chunk_text": "string",
30
- "llm_structured_1": "struct<answer: string, evidence_quote: string, question: string>",
31
- "source_file": "string"
32
- },
33
- "target_num_records": 1000,
34
- "total_num_batches": 1
35
  }
 
1
+ {
2
+ "records": 1000,
3
+ "schema": {
4
+ "instruction": "string",
5
+ "input": "string",
6
+ "output": "string",
7
+ "topic": "string",
8
+ "task_type": "string",
9
+ "source_file": "string"
10
+ },
11
+ "topic_counts": {
12
+ "braki danych i outliery": 85,
13
+ "podział danych i walidacja": 89,
14
+ "normalizacja i kodowanie": 87,
15
+ "regresja logistyczna": 91,
16
+ "KNN": 80,
17
+ "PCA": 87,
18
+ "regresja liniowa": 78,
19
+ "klasyfikacja": 78,
20
+ "wizualizacja danych": 86,
21
+ "drzewa decyzyjne": 90,
22
+ "klasteryzacja": 75,
23
+ "pozyskiwanie danych": 74
24
+ },
25
+ "task_type_counts": {
26
+ "code_repair": 30,
27
+ "lecture_concept_application": 40,
28
+ "md_exercise_solution": 124,
29
+ "exam_scenario": 50,
30
+ "exam_dataset_scenario": 756
31
+ },
32
+ "goal": "Fine-tuning pod kolokwium: student dostaje dataset i stosuje wiedzę z labów 1-12."
 
 
33
  }