Quad4 commited on
Commit
bbba6db
·
verified ·
1 Parent(s): 21776af

Add cleaned commit-message dataset (default + training_view configs)

Browse files
.gitattributes CHANGED
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/train.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ training_view/train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: various-permissive-open-source-licenses
4
+ task_categories:
5
+ - text-generation
6
+ language:
7
+ - en
8
+ tags:
9
+ - commit-message
10
+ - conventional-commits
11
+ - git
12
+ - software-engineering
13
+ - code
14
+ size_category:
15
+ - 100K<n<1M
16
+ pretty_name: Commit Messages from High-Quality Repositories
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: data/train.jsonl
22
+ - split: validation
23
+ path: data/val.jsonl
24
+ - split: test
25
+ path: data/test.jsonl
26
+ - config_name: training_view
27
+ data_files:
28
+ - split: train
29
+ path: training_view/train.jsonl
30
+ - split: validation
31
+ path: training_view/val.jsonl
32
+ - split: test
33
+ path: training_view/test.jsonl
34
+ ---
35
+
36
+ # Commit Messages from High-Quality Repositories
37
+
38
+ 292,269 cleaned git commit messages scraped from the full histories of 15 well-regarded open-source
39
+ projects, balanced across two styles: **normal** (196,372) and
40
+ **conventional commits** (95,897).
41
+
42
+ ## Dataset Summary
43
+
44
+ - Each record contains the commit `subject`, `body`, plus metadata: `repo`, `sha`, `date`,
45
+ `author`, and labels: `style` (normal/conventional), `type` (fix, feat, docs, ...),
46
+ `scope`, `breaking`.
47
+ - Heavy cleaning: GitHub squash suffixes `(#123)` stripped, bot/automated commits removed,
48
+ canned boilerplate removed, exact duplicates removed, git trailers (Signed-off-by etc.)
49
+ stripped from bodies, junk subjects ("wip", "update", ...) removed.
50
+ - **Temporal split**: train is the oldest ~98% of commits, validation the next ~1%, test the
51
+ newest ~1%. No train/eval temporal leakage: every eval commit is newer than every train commit.
52
+
53
+ ## Supported Tasks
54
+
55
+ - `text-generation`: commit message generation, style modeling, conventional-commit
56
+ classification, software-engineering NLP.
57
+
58
+ ## Usage
59
+
60
+ ```python
61
+ from datasets import load_dataset
62
+
63
+ ds = load_dataset("USERNAME/REPO", "default") # full metadata records
64
+ view = load_dataset("USERNAME/REPO", "training_view") # prompt/completion pairs (body -> subject)
65
+ ```
66
+
67
+ `training_view` maps a change description (the commit body) to the commit subject line and is
68
+ formatted for fine-tuning tools such as Unsloth, with explicit `prompt` and `completion` columns.
69
+
70
+ ## Source Repositories
71
+
72
+ | Repository | URL | Commits in dataset |
73
+ |---|---|---|
74
+ | postgres | https://github.com/postgres/postgres | 57,971 |
75
+ | openssl | https://github.com/openssl/openssl | 53,169 |
76
+ | angular | https://github.com/angular/angular | 39,465 |
77
+ | curl | https://github.com/curl/curl | 37,130 |
78
+ | ant-design | https://github.com/ant-design/ant-design | 22,853 |
79
+ | neovim | https://github.com/neovim/neovim | 22,096 |
80
+ | babel | https://github.com/babel/babel | 13,719 |
81
+ | vite | https://github.com/vitejs/vite | 8,209 |
82
+ | eslint | https://github.com/eslint/eslint | 7,837 |
83
+ | tmux | https://github.com/tmux/tmux | 7,618 |
84
+ | vue-core | https://github.com/vuejs/core | 7,540 |
85
+ | vitest | https://github.com/vitest-dev/vitest | 5,120 |
86
+ | nestjs | https://github.com/nestjs/nest | 4,147 |
87
+ | chart-js | https://github.com/chartjs/Chart.js | 3,718 |
88
+ | axios | https://github.com/axios/axios | 1,677 |
89
+
90
+ ## Upstream Licenses
91
+
92
+ Commit messages are inherited from their source projects. Repositories under copyleft or
93
+ source-available licenses (git: GPL-2.0; redis: BSD-3 / RSALv2 / SSPLv1) were **excluded**
94
+ as a precaution: software licenses technically cover the licensed program rather than VCS
95
+ metadata, but commit messages are therefore not openly licensed either, and longer commit
96
+ bodies can constitute original expression of their authors. Only permissively-licensed
97
+ projects are included:
98
+
99
+ | Repository | License |
100
+ |---|---|
101
+ | angular/angular | MIT |
102
+ | vuejs/core | MIT |
103
+ | vitejs/vite | MIT |
104
+ | babel/babel | MIT |
105
+ | eslint/eslint | MIT |
106
+ | ant-design/ant-design | MIT |
107
+ | axios/axios | MIT |
108
+ | nestjs/nest | MIT |
109
+ | chartjs/Chart.js | MIT |
110
+ | vitest-dev/vitest | MIT |
111
+ | curl/curl | curl (MIT-style) |
112
+ | neovim/neovim | Apache-2.0 / VIM |
113
+ | tmux/tmux | ISC |
114
+ | openssl/openssl | Apache-2.0 |
115
+ | postgres/postgres | PostgreSQL License |
116
+
117
+ Users should still respect upstream license terms when redistributing or using this dataset commercially.
118
+
119
+ ## Cleaning Statistics
120
+
121
+ | Filter | Records dropped |
122
+ |---|---|
123
+ | duplicate | 77,038 |
124
+ | bad_subject | 16,190 |
125
+ | bot_or_automated | 26,432 |
126
+ | license_excluded | 83,369 |
127
+ | canned_message | 9,943 |
128
+
129
+ ## Splits
130
+
131
+ | Split | Records | Date range |
132
+ |---|---|---|
133
+ | train | 286,425 | 1996-07-09 → 2026-07-14 |
134
+ | validation | 2,922 | 2026-07-14 → 2026-08-20 |
135
+ | test | 2,922 | 2026-08-20 → 2026-09-23 |
136
+
137
+ ## Privacy
138
+
139
+ - No author names or email addresses are included. Records are identified only by content
140
+ `sha` + repository, which preserves verifiable provenance without identifying individuals.
141
+ - Note: commit bodies may reference contributor names in prose (e.g. credit lines), as these
142
+ are part of the historical commit text itself.
143
+
144
+ ## Limitations
145
+
146
+ - English-dominant; commit messages from a single ecosystem of C/C++ and JavaScript/TypeScript projects.
147
+ - No diffs attached: the dataset describes *what was written*, not the code change itself.
148
+ - Bodies are truncated at 2,000 characters.
149
+ - Human authors made the source commits; quality varies by repository and era.
150
+
151
+ ## Reproduction
152
+
153
+ Built with a two-stage pipeline (blobless `git clone --filter=blob:none`, then
154
+ `git log` export and rule-based cleaning). See `stats.json` for exact counts.
data/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bd484224454ff9000e013abc25f87df737846d36f95ec5634528faf5c4909bb
3
+ size 119883003
data/val.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
stats.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "raw_commits": 505241,
3
+ "clean_commits": 292269,
4
+ "dropped": {
5
+ "duplicate": 77038,
6
+ "bad_subject": 16190,
7
+ "bot_or_automated": 26432,
8
+ "license_excluded": 83369,
9
+ "canned_message": 9943
10
+ },
11
+ "transformed": {
12
+ "pr_ref_stripped": 103336
13
+ },
14
+ "split_method": "temporal (train oldest 98%, val next 1%, test newest 1%)",
15
+ "split_date_ranges": {
16
+ "test": {
17
+ "from": "2026-08-20T09:03:11-07:00",
18
+ "to": "2026-09-23T12:19:07+08:00"
19
+ },
20
+ "val": {
21
+ "from": "2026-07-14T13:00:59-04:00",
22
+ "to": "2026-08-20T18:00:57+05:30"
23
+ },
24
+ "train": {
25
+ "from": "1996-07-09T06:22:35Z",
26
+ "to": "2026-07-14T20:29:05+05:00"
27
+ }
28
+ },
29
+ "splits": {
30
+ "test": 2922,
31
+ "val": 2922,
32
+ "train": 286425
33
+ },
34
+ "by_style": {
35
+ "normal": 196372,
36
+ "conventional": 95897
37
+ },
38
+ "by_type": {
39
+ "fix": 29511,
40
+ "docs": 18158,
41
+ "refactor": 11909,
42
+ "feat": 10622,
43
+ "chore": 7880,
44
+ "build": 6728,
45
+ "test": 5862,
46
+ "ci": 3196,
47
+ "perf": 1246,
48
+ "style": 771,
49
+ "revert": 10,
50
+ "improvement": 4
51
+ },
52
+ "by_repo": {
53
+ "postgres": 57971,
54
+ "openssl": 53169,
55
+ "angular": 39465,
56
+ "curl": 37130,
57
+ "ant-design": 22853,
58
+ "neovim": 22096,
59
+ "babel": 13719,
60
+ "vite": 8209,
61
+ "eslint": 7837,
62
+ "tmux": 7618,
63
+ "vue-core": 7540,
64
+ "vitest": 5120,
65
+ "nestjs": 4147,
66
+ "chart-js": 3718,
67
+ "axios": 1677
68
+ },
69
+ "seed": 42
70
+ }
training_view/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
training_view/train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb83528d735f5336ae3dfc24661da0f44267a74abd9b3593626936e088fd5877
3
+ size 96794890
training_view/val.jsonl ADDED
The diff for this file is too large to render. See raw diff