File size: 1,740 Bytes
da4cf05
8f69ee4
 
da4cf05
 
8f69ee4
 
da4cf05
 
 
 
8f69ee4
 
 
 
 
 
 
 
 
 
 
 
 
da4cf05
 
8f69ee4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
da4cf05
8f69ee4
 
 
 
da4cf05
8f69ee4
1
2
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
license: mit
pretty_name: Commit-Message Code Edits
language:
- en
task_categories:
- text-generation
tags:
- adaption
- autoscientist
- sft
- instruction-tuning
- fine-tuning
- code
- commits
size_categories:
- 1K<n<10K
configs:
- config_name: default
  data_files:
  - split: train
    path: data.parquet
source_datasets:
- bigcode/commitpackft
---

# Commit-Message Code Edits

Code-change tasks from real commits: an instruction (commit message) and the edited code.

| | |
|---|---|
| Rows | 2,000 |
| Domain | programming |
| Format | `data.parquet`, one row per example |
| Licence | mit |
| Built for | supervised fine-tuning (SFT) experiments on [Adaption](https://adaptionlabs.ai) AutoScientist |

## Columns

| Column | Description |
|---|---|
| `original_prompt` | The prompt (user turn) as uploaded. |
| `original_completion` | The target response as uploaded. |
| `enhanced_prompt` | Empty in this dataset. |
| `enhanced_completion` | Empty in this dataset. |

## How it was built

Sampled from CommitPackFT.

## Sources and licence

- [bigcode/commitpackft](https://huggingface.co/datasets/bigcode/commitpackft) (MIT)

## Notes

- Columns `enhanced_prompt`, `enhanced_completion` are empty in this dataset (the Adaption export reserves them for rewritten text).

## Loading

```python
from datasets import load_dataset
ds = load_dataset("rodriguescarson/adaption-codeskill-raw-commitpack-2k", split="train")
```

```python
import pandas as pd
df = pd.read_parquet("hf://datasets/rodriguescarson/adaption-codeskill-raw-commitpack-2k/data.parquet")
```

Published by [Carson Rodrigues](https://carsonrodrigues.com) ([Hugging Face](https://huggingface.co/rodriguescarson), [Kaggle](https://www.kaggle.com/carsonrodrigues)).