VBendas commited on
Commit
7bb73bc
·
verified ·
1 Parent(s): 9580fb4

Delete README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -74
README.md DELETED
@@ -1,74 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - no-creator
4
- language_creators:
5
- - found
6
- language:
7
- - en
8
- license: cc-by-4.0
9
- multilingual: false
10
- pretty_name: Python DPO Sample
11
- size_categories:
12
- - n<10
13
- source_datasets:
14
- - original
15
- task_categories:
16
- - text-generation
17
- dataset_info:
18
- config_name: default
19
- features:
20
- - name: prompt
21
- dtype: string
22
- - name: chosen
23
- dtype: string
24
- - name: rejected
25
- dtype: string
26
- - name: explanation
27
- dtype: string
28
- - name: metadata
29
- dtype: dict
30
- ---
31
-
32
- # Python Bug DPO Pairs - Sample
33
-
34
- 5 expert-curated DPO (Direct Preference Optimization) pairs for evaluating Python coding model fine-tuning data.
35
-
36
- ## What's Inside
37
-
38
- Each pair includes:
39
- - **prompt**: Bug scenario description
40
- - **chosen**: Correct solution (production-ready code)
41
- - **rejected**: Subtle buggy solution (passes casual review)
42
- - **explanation**: Technical analysis with deployment context
43
- - **metadata**: Quality metrics and prevention tools
44
-
45
- ## Sample Pairs
46
-
47
- | pair_id | category | difficulty | framework |
48
- |---------|----------|------------|-----------|
49
- | 1 | mutable_defaults | beginner | Celery |
50
- | 19 | N+1 query | intermediate | FastAPI |
51
- | 45 | race_conditions | intermediate | asyncio |
52
- | 51 | sqlalchemy_sessions | intermediate | SQLAlchemy |
53
- | 53 | async_await_bugs | intermediate | asyncio |
54
-
55
- ## Loading
56
-
57
- ```python
58
- from datasets import load_dataset
59
-
60
- dataset = load_dataset("blackhole-datasets/python-dpo-preview")
61
- pair = dataset["train"][0]
62
- print(pair["explanation"][:500])
63
- ```
64
-
65
- ## Quality Verification
66
-
67
- - ✅ Expert validated: Victor Bendas (Senior Python Engineer)
68
- - ✅ AI pattern detection: 0 violations
69
- - ✅ All code syntax validated
70
- - ✅ All tests pass
71
-
72
- ## License
73
-
74
- CC-BY-4.0