File size: 5,357 Bytes
e80c560
 
 
 
 
 
8cc90da
 
 
 
 
 
 
 
 
e80c560
 
 
8cc90da
 
 
 
 
e80c560
 
 
f6e829e
0b97f60
 
 
 
a67879a
 
 
 
e678f32
 
 
 
f6e829e
 
 
 
225ff16
 
 
 
1ac054d
 
 
 
7d06bbb
 
 
 
3408565
 
 
 
07ad8b4
 
 
 
6bff0f0
 
 
 
8d6542b
 
 
 
f6e829e
0b97f60
 
 
 
 
 
 
 
 
 
 
 
 
 
a67879a
 
 
 
 
 
 
 
 
 
 
 
 
 
e678f32
 
 
 
 
 
 
 
 
 
 
 
 
 
8d6542b
f6e829e
a926b36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f6e829e
 
 
a926b36
 
f6e829e
 
2b1e6eb
 
 
 
225ff16
 
 
 
 
 
 
 
 
 
 
 
 
 
1ac054d
 
 
 
 
 
 
 
 
 
 
 
 
 
7d06bbb
 
 
 
 
 
 
 
 
 
 
 
 
 
3408565
 
 
 
 
 
 
 
 
 
 
 
 
 
07ad8b4
 
 
 
 
 
 
 
 
 
 
 
 
 
6bff0f0
 
 
 
 
 
 
 
 
 
 
 
 
 
8d6542b
 
 
 
 
 
 
 
 
 
 
 
 
 
e80c560
 
 
 
8cc90da
 
 
e80c560
 
 
8cc90da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512c354
8cc90da
 
 
512c354
 
5fcb5a5
512c354
8cc90da
 
 
 
 
d3d94df
8cc90da
 
 
 
 
 
 
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
---
license: apache-2.0
task_categories:
- text-generation
language:
- ru
- ar
- en
- zh
- de
- fr
- es
- pt
- ja
- ko
tags:
- linux
- shell
- commands
- terminal
- multilingual
- development
- system-administration
pretty_name: LinLM
size_categories:
- n<1K
configs:
- config_name: ar
  data_files:
  - split: train
    path: ar/train-*
- config_name: ch
  data_files:
  - split: train
    path: ch/train-*
- config_name: de
  data_files:
  - split: train
    path: de/train-*
- config_name: default
  data_files:
  - split: train
    path: data/train-*
- config_name: eng
  data_files:
  - split: train
    path: eng/train-*
- config_name: es
  data_files:
  - split: train
    path: es/train-*
- config_name: fr
  data_files:
  - split: train
    path: fr/train-*
- config_name: ja
  data_files:
  - split: train
    path: ja/train-*
- config_name: ko
  data_files:
  - split: train
    path: ko/train-*
- config_name: pt
  data_files:
  - split: train
    path: pt/train-*
- config_name: ru
  data_files:
  - split: train
    path: ru/train-*
dataset_info:
- config_name: ar
  features:
  - name: ar
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 185130
    num_examples: 2449
  download_size: 82833
  dataset_size: 185130
- config_name: ch
  features:
  - name: ch
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 153456
    num_examples: 2449
  download_size: 75230
  dataset_size: 153456
- config_name: de
  features:
  - name: de
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 163679
    num_examples: 2449
  download_size: 79418
  dataset_size: 163679
- config_name: default
  features:
  - name: ru
    dtype: string
  - name: ch
    dtype: string
  - name: eng
    dtype: string
  - name: de
    dtype: string
  - name: fr
    dtype: string
  - name: es
    dtype: string
  - name: pt
    dtype: string
  - name: ja
    dtype: string
  - name: ko
    dtype: string
  - name: ar
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 796040
    num_examples: 2449
  download_size: 398545
  dataset_size: 796040
- config_name: eng
  features:
  - name: eng
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 154194
    num_examples: 2449
  download_size: 75744
  dataset_size: 154194
- config_name: es
  features:
  - name: es
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 168733
    num_examples: 2449
  download_size: 79252
  dataset_size: 168733
- config_name: fr
  features:
  - name: fr
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 171479
    num_examples: 2449
  download_size: 80787
  dataset_size: 171479
- config_name: ja
  features:
  - name: ja
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 179403
    num_examples: 2449
  download_size: 81896
  dataset_size: 179403
- config_name: ko
  features:
  - name: ko
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 163348
    num_examples: 2449
  download_size: 77309
  dataset_size: 163348
- config_name: pt
  features:
  - name: pt
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 167402
    num_examples: 2449
  download_size: 78976
  dataset_size: 167402
- config_name: ru
  features:
  - name: ru
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 206046
    num_examples: 2449
  download_size: 89855
  dataset_size: 206046
---

## LinLM Dataset

A curated synthetic dataset for Linux command inference

Natural language description -> shell commands

Features: 

- Supports 10+ languages
- Arch Linux commands recognition
- Fine-tune LLM for development, system administration, file operations, Git, Docker, and more


## Usage

```python
from datasets import load_dataset

dataset = load_dataset("missvector/linux-commands")

def format_for_training(example):
    return {
        "prompt": f"Convert to Linux command: {example['eng']}",
        "completion": example['completion']
    }

training_data = dataset['train'].map(format_for_training)
```

## Out-of-Scope Use
- Not for production deployment without additional validation
- Commands should be reviewed before execution

## Related Projects

- [llama-dynamic-context](https://github.com/vifirsanova/llama-dynamic-context) - command inference tool tested with this dataset

## Citation

If you use this dataset in your research, please cite:

```bibtex
@misc{linuxcommands2025,
  author = {V. Firsanova},
  title = {LinLM Dataset},
  year = {2025},
  publisher = {Hugging Face Datasets},
  howpublished = {\url{https://huggingface.co/datasets/missvector/linux-commands}}
}
```