v1 - linux_kernel_ioctl corpus for Qwen3.5
Browse files- README.md +67 -0
- manifest.json +28 -0
- train.jsonl +0 -0
- val.jsonl +28 -0
README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: cc-by-4.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- linux
|
| 9 |
+
- kernel
|
| 10 |
+
- ioctl
|
| 11 |
+
- drivers
|
| 12 |
+
- qwen3.5
|
| 13 |
+
- conversation
|
| 14 |
+
- instruction-tuning
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Linux ioctl Census
|
| 20 |
+
|
| 21 |
+
## Description
|
| 22 |
+
|
| 23 |
+
Teaches domain-specific instruction following and code generation for this expert.
|
| 24 |
+
|
| 25 |
+
## Source
|
| 26 |
+
|
| 27 |
+
- mjbommar/linux-ioctl-census - CC-BY-4.0
|
| 28 |
+
|
| 29 |
+
Formatted for the MoE-orchestrator project
|
| 30 |
+
(https://github.com/michaelowusuntim6/MoE-orchestrator). Expert target:
|
| 31 |
+
`linux_kernel`.
|
| 32 |
+
|
| 33 |
+
## Format
|
| 34 |
+
|
| 35 |
+
Each record is a JSON object with a `messages` field formatted for Qwen3.5's
|
| 36 |
+
native chat template:
|
| 37 |
+
|
| 38 |
+
```json
|
| 39 |
+
{"messages": [
|
| 40 |
+
{"role": "system", "content": "..."},
|
| 41 |
+
{"role": "user", "content": "..."},
|
| 42 |
+
{"role": "assistant", "content": "..."}
|
| 43 |
+
]}
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
The records are consumed via `tokenizer.apply_chat_template()`. Special tokens
|
| 47 |
+
(`<|im_start|>`, `<|im_end|>`) are added by the template, never embedded in
|
| 48 |
+
content.
|
| 49 |
+
|
| 50 |
+
## Splits
|
| 51 |
+
|
| 52 |
+
- `train`: 1,261 records
|
| 53 |
+
- `val`: 28 records
|
| 54 |
+
|
| 55 |
+
## Usage
|
| 56 |
+
|
| 57 |
+
```python
|
| 58 |
+
from datasets import load_dataset
|
| 59 |
+
ds = load_dataset("michaelowusuntim6/linux-kernel-ioctl-qwen35", split="train")
|
| 60 |
+
print(ds[0]["messages"])
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
## License
|
| 64 |
+
|
| 65 |
+
cc-by-4.0. Upstream sources keep their own licences - see the source list
|
| 66 |
+
above and `docs/DATASET_SOURCES.md` in the MoE-orchestrator repository for
|
| 67 |
+
per-source detail.
|
manifest.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"category": "linux_kernel_ioctl",
|
| 3 |
+
"formatter_version": "qwen35-chat-v1+public",
|
| 4 |
+
"generated_at": "2026-10-05T05:44:58+00:00",
|
| 5 |
+
"chat_template_source": "models/Qwen3.5-0.8B/tokenizer_config.json",
|
| 6 |
+
"enable_thinking": false,
|
| 7 |
+
"seed": 42,
|
| 8 |
+
"val_fraction": 0.02,
|
| 9 |
+
"dedup": true,
|
| 10 |
+
"min_chars": 32,
|
| 11 |
+
"max_chars": 64000,
|
| 12 |
+
"raw_records": 1289,
|
| 13 |
+
"accepted": 1289,
|
| 14 |
+
"train_lines": 1261,
|
| 15 |
+
"val_lines": 28,
|
| 16 |
+
"rejects": {
|
| 17 |
+
"too_short": 0,
|
| 18 |
+
"too_long": 0,
|
| 19 |
+
"empty": 0,
|
| 20 |
+
"missing_field": 0,
|
| 21 |
+
"malformed_json": 0,
|
| 22 |
+
"unsupported_schema": 0,
|
| 23 |
+
"duplicate": 0,
|
| 24 |
+
"template_mismatch": 0
|
| 25 |
+
},
|
| 26 |
+
"train_sha256": "45b83b86d69921f4fd9855372fc87161daf134aee6e02be3c5edddc6c789ac85",
|
| 27 |
+
"val_sha256": "87e647d92203fbd9786307f791e60141750bf48dea6fe1c0324eb695726f113f"
|
| 28 |
+
}
|
train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
val.jsonl
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147544581 do?"}, {"role": "assistant", "content": "ioctl 2147544581: sha256=ec69f45285cadf856afcde91e7d34047, dispatcher_va=4362757994137570947, code=2147544581, device_type=238, method=direct, access=r, function_code=5, cmd_symbol=PFRU_IOC_QUERY_CAP, arg_struct_type=struct pfru_update_cap_info"}]}
|
| 2 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 28736 do?"}, {"role": "assistant", "content": "ioctl 28736: sha256=2825d6ccfc48a532631a35a5a7354ef5, dispatcher_va=10732627035073362279, code=28736, device_type=112, method=none, access=none, function_code=64, cmd_symbol=NVRAM_INIT, ioc_size=0"}]}
|
| 3 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147509261 do?"}, {"role": "assistant", "content": "ioctl 2147509261: sha256=21d090c929a4a1abd686aeca1fa5d989, dispatcher_va=15222758212646136935, code=2147509261, device_type=100, method=direct, access=r, function_code=13, cmd_symbol=COMEDI_BUFCONFIG, arg_struct_type=struct comedi_bufconfig"}]}
|
| 4 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147764225 do?"}, {"role": "assistant", "content": "ioctl 2147764225: sha256=267c782aaf3059652b2d0e2ebbb5fc86, dispatcher_va=2998494191566777018, code=2147764225, device_type=72, method=buffered, access=r, function_code=1, cmd_symbol=HIDIOCGVERSION, ioc_size=4, arg_struct_type=int"}]}
|
| 5 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 20491 do?"}, {"role": "assistant", "content": "ioctl 20491: sha256=42c33456817404b1c3faad8ff71382a6, dispatcher_va=1585571935546485877, code=20491, device_type=80, method=none, access=none, function_code=11, cmd_symbol=PCITEST_DOORBELL, ioc_size=0"}]}
|
| 6 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147509762 do?"}, {"role": "assistant", "content": "ioctl 2147509762: sha256=2068462625ffc0e495006a8387ca3613, dispatcher_va=5605895136746437559, code=2147509762, device_type=102, method=direct, access=r, function_code=2, cmd_symbol=XSDFEC_GET_STATUS, arg_struct_type=struct xsdfec_status"}]}
|
| 7 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 1074286336 do?"}, {"role": "assistant", "content": "ioctl 1074286336: sha256=db00ee53a19027bee9c056c3ded052de, dispatcher_va=16632988545306876250, code=1074286336, device_type=79, method=buffered, access=w, function_code=0, cmd_symbol=UBI_IOCVOLUP, ioc_size=8, arg_struct_type=__s64"}]}
|
| 8 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 3221255427 do?"}, {"role": "assistant", "content": "ioctl 3221255427: sha256=7473f014a63d9c0826ad2be0d3980eee, dispatcher_va=17356268507824769956, code=3221255427, device_type=117, method=direct, access=rw, function_code=3, cmd_symbol=PWM_IOCTL_ROUNDWF, arg_struct_type=struct pwmchip_waveform"}]}
|
| 9 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 28676 do?"}, {"role": "assistant", "content": "ioctl 28676: sha256=a006096164d9bd7970f34740edc318a3, dispatcher_va=5410365007328657823, code=28676, device_type=112, method=none, access=none, function_code=4, cmd_symbol=RTC_UIE_OFF, ioc_size=0"}]}
|
| 10 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2148037383 do?"}, {"role": "assistant", "content": "ioctl 2148037383: sha256=1bd5ef309d01b6c34e34cbaf65fa0530, dispatcher_va=10767700919478201137, code=2148037383, device_type=115, method=buffered, access=r, function_code=7, cmd_symbol=ACPI_THERMAL_GET_PSVT_LEN, ioc_size=8, arg_struct_type=unsigned long"}]}
|
| 11 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 26370 do?"}, {"role": "assistant", "content": "ioctl 26370: sha256=7a12e0a70c60173ab1bb475910041719, dispatcher_va=8923424419633108099, code=26370, device_type=103, method=none, access=none, function_code=2, cmd_symbol=GADGETFS_FIFO_FLUSH, ioc_size=0"}]}
|
| 12 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 1073763591 do?"}, {"role": "assistant", "content": "ioctl 1073763591: sha256=25c0c8bc9de45e95f8a58faa1f748a93, dispatcher_va=9726675578008128998, code=1073763591, device_type=85, method=direct, access=w, function_code=7, cmd_symbol=USB_RAW_IOCTL_EP_WRITE, arg_struct_type=struct usb_raw_ep_io"}]}
|
| 13 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 1073774870 do?"}, {"role": "assistant", "content": "ioctl 1073774870: sha256=2e2d2948d00df336d5240ee19c21efa5, dispatcher_va=9291948224803422725, code=1073774870, device_type=129, method=direct, access=w, function_code=22, cmd_symbol=VDUSE_VQ_SETUP_KICKFD, arg_struct_type=struct vduse_vq_eventfd"}]}
|
| 14 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 44801 do?"}, {"role": "assistant", "content": "ioctl 44801: sha256=389b7dda4d9a65ad36cb637809adc21e, dispatcher_va=6244705252937243103, code=44801, device_type=175, method=none, access=none, function_code=1, cmd_symbol=VHOST_SET_OWNER, ioc_size=0"}]}
|
| 15 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768068 do?"}, {"role": "assistant", "content": "ioctl 2147768068: sha256=430a187c4b4a037e8c273d9ef6526d76, dispatcher_va=15237571334915380378, code=2147768068, device_type=87, method=buffered, access=r, function_code=4, cmd_symbol=WDIOC_SETOPTIONS, ioc_size=4, arg_struct_type=int"}]}
|
| 16 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768071 do?"}, {"role": "assistant", "content": "ioctl 2147768071: sha256=87dca9565d3f53dfde657e0a72d19669, dispatcher_va=2010263737298119486, code=2147768071, device_type=87, method=buffered, access=r, function_code=7, cmd_symbol=WDIOC_GETTIMEOUT, ioc_size=4, arg_struct_type=int"}]}
|
| 17 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768066 do?"}, {"role": "assistant", "content": "ioctl 2147768066: sha256=213aba826ffe1667b819351adfae38ab, dispatcher_va=17678950387302468747, code=2147768066, device_type=87, method=buffered, access=r, function_code=2, cmd_symbol=WDIOC_GETBOOTSTATUS, ioc_size=4, arg_struct_type=int"}]}
|
| 18 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768069 do?"}, {"role": "assistant", "content": "ioctl 2147768069: sha256=7493657f6de6aab9710439283a521adf, dispatcher_va=10202133667141537725, code=2147768069, device_type=87, method=buffered, access=r, function_code=5, cmd_symbol=WDIOC_KEEPALIVE, ioc_size=4, arg_struct_type=int"}]}
|
| 19 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768065 do?"}, {"role": "assistant", "content": "ioctl 2147768065: sha256=7687f193c6709e9b1b51896ba9148f23, dispatcher_va=8671827011206520637, code=2147768065, device_type=87, method=buffered, access=r, function_code=1, cmd_symbol=WDIOC_GETSTATUS, ioc_size=4, arg_struct_type=int"}]}
|
| 20 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768069 do?"}, {"role": "assistant", "content": "ioctl 2147768069: sha256=c4714f6848560231a1fa4173b25d62d7, dispatcher_va=12806892012097906570, code=2147768069, device_type=87, method=buffered, access=r, function_code=5, cmd_symbol=WDIOC_KEEPALIVE, ioc_size=4, arg_struct_type=int"}]}
|
| 21 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768073 do?"}, {"role": "assistant", "content": "ioctl 2147768073: sha256=2c8aa593f6a8ca98c1627629c0bc86b2, dispatcher_va=12332094841969825766, code=2147768073, device_type=87, method=buffered, access=r, function_code=9, cmd_symbol=WDIOC_GETPRETIMEOUT, ioc_size=4, arg_struct_type=int"}]}
|
| 22 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 2147768066 do?"}, {"role": "assistant", "content": "ioctl 2147768066: sha256=ee334372e9e0838bec5a3f08e82e144e, dispatcher_va=6186935202816263179, code=2147768066, device_type=87, method=buffered, access=r, function_code=2, cmd_symbol=WDIOC_GETBOOTSTATUS, ioc_size=4, arg_struct_type=int"}]}
|
| 23 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 62723 do?"}, {"role": "assistant", "content": "ioctl 62723: sha256=8ea2609afff3440cc1a20025ed213c5e, dispatcher_va=1781086229204846860, code=62723, device_type=245, method=none, access=none, function_code=3, cmd_symbol=F2FS_IOC_START_VOLATILE_WRITE, ioc_size=0"}]}
|
| 24 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 3221251601 do?"}, {"role": "assistant", "content": "ioctl 3221251601: sha256=40bb2d6aeddaba6d4ba2c61f66aed740, dispatcher_va=3880000118167771838, code=3221251601, device_type=102, method=direct, access=rw, function_code=17, cmd_symbol=PROCMAP_QUERY, arg_struct_type=struct procmap_query"}]}
|
| 25 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 13071 do?"}, {"role": "assistant", "content": "ioctl 13071: sha256=890e879f67cf6dc2e8da0b3b3acc8261, dispatcher_va=6099561132461239982, code=13071, device_type=51, method=none, access=none, function_code=15, cmd_symbol=SNAPSHOT_PLATFORM_SUPPORT, ioc_size=0"}]}
|
| 26 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 3221243908 do?"}, {"role": "assistant", "content": "ioctl 3221243908: sha256=5f74dd07fedffb61c3005e899ec84d22, dispatcher_va=14595626841263735590, code=3221243908, device_type=72, method=direct, access=rw, function_code=4, cmd_symbol=HMM_DMIRROR_SNAPSHOT, arg_struct_type=struct hmm_dmirror_cmd"}]}
|
| 27 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 3221242645 do?"}, {"role": "assistant", "content": "ioctl 3221242645: sha256=602f2fae27a24ddde88ae6dbef9c641d, dispatcher_va=17951603703041055745, code=3221242645, device_type=67, method=direct, access=rw, function_code=21, cmd_symbol=SNDRV_COMPRESS_GET_METADATA, arg_struct_type=struct snd_compr_metadata"}]}
|
| 28 |
+
{"messages": [{"role": "user", "content": "What does the Linux ioctl 44750 do?"}, {"role": "assistant", "content": "ioctl 44750: sha256=a9b935d18b11311c8c169b45a5f1b479, dispatcher_va=9910048139975864655, code=44750, device_type=174, method=none, access=none, function_code=206, cmd_symbol=KVM_GET_STATS_FD, ioc_size=0"}]}
|