Datasets:
Upload from scripts/upload_datasets.py
Browse files- README.md +34 -0
- data/coldstart_sft.parquet +3 -0
- data/rl_pool.parquet +3 -0
- data/test.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pretty_name: Agentic kernel generation, preprocessed Dr. Kernel data
|
| 4 |
+
tags: [triton, gpu-kernels, kernelbench, code]
|
| 5 |
+
configs:
|
| 6 |
+
- config_name: coldstart_sft
|
| 7 |
+
data_files: [{split: train, path: data/coldstart_sft.parquet}]
|
| 8 |
+
- config_name: rl_pool
|
| 9 |
+
data_files: [{split: train, path: data/rl_pool.parquet}]
|
| 10 |
+
- config_name: test
|
| 11 |
+
data_files: [{split: test, path: data/test.parquet}]
|
| 12 |
+
---
|
| 13 |
+
# Preprocessed Dr. Kernel data
|
| 14 |
+
|
| 15 |
+
The data used to train and evaluate small Triton kernel-optimization students, built by `scripts/preprocess.py` of
|
| 16 |
+
[agentic-kernel-generation-distiled](https://github.com/arianbeh/agentic-kernel-generation-distiled) from
|
| 17 |
+
[hkust-nlp/drkernel-coldstart-8k](https://huggingface.co/datasets/hkust-nlp/drkernel-coldstart-8k), [hkust-nlp/drkernel-rl-data](https://huggingface.co/datasets/hkust-nlp/drkernel-rl-data), [hkust-nlp/drkernel-validation-data](https://huggingface.co/datasets/hkust-nlp/drkernel-validation-data) (MIT).
|
| 18 |
+
|
| 19 |
+
| Config | Rows | What |
|
| 20 |
+
|---|---|---|
|
| 21 |
+
| `test` | 100 | The 100 KernelBench Level 2 tasks of `drkernel-validation-data`, in Dr. Kernel's prompt format |
|
| 22 |
+
| `coldstart_sft` | 8918 | Multi-turn SFT trajectories from `drkernel-coldstart-8k`, with feedback turns |
|
| 23 |
+
| `rl_pool` | 71972 | RL prompts from `drkernel-rl-data` |
|
| 24 |
+
|
| 25 |
+
`coldstart_sft` and `rl_pool` are decontaminated against `test`: rows whose code has 5-gram Jaccard similarity
|
| 26 |
+
>= 0.8 to any test task are dropped (`test_similarity`, `test_nearest` give each kept row's closest task). Added
|
| 27 |
+
columns: `has_gemm`, `has_softmax`, `has_rmsnorm` (operator tags from regexes over the PyTorch code); in
|
| 28 |
+
`coldstart_sft` also `any_correct` (some turn's feedback reports a correct kernel) and `num_tokens` (Qwen3 tokenizer,
|
| 29 |
+
thinking-off chat template).
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
sft = load_dataset("kiplingliu/akg-data", "coldstart_sft", split = "train")
|
| 34 |
+
```
|
data/coldstart_sft.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:891977628d13d869795e2da9a55ab9552a70561789fef2650ad4e06c074f0065
|
| 3 |
+
size 163340993
|
data/rl_pool.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faaae918099da85b680f36e7ae1c532f1d7bb0be0bfbe5218a0a5db69a04a485
|
| 3 |
+
size 422694085
|
data/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:478ca4077999d99fa69cd1b7c731384e2fc7ef489dd7e3fdc3821e996ea73a1b
|
| 3 |
+
size 99878
|