File size: 5,374 Bytes
e80c560
 
 
 
 
 
8cc90da
 
 
 
 
 
 
 
 
e80c560
 
 
8cc90da
 
 
 
 
e80c560
 
8b50dc8
f6e829e
0b97f60
 
 
 
a67879a
 
 
 
e678f32
 
 
 
f6e829e
 
 
 
225ff16
 
 
 
1ac054d
 
 
 
7d06bbb
 
 
 
3408565
 
 
 
07ad8b4
 
 
 
6bff0f0
 
 
 
8d6542b
 
 
 
f6e829e
0b97f60
 
 
 
 
 
 
 
 
 
2f0098a
81d48b6
2f0098a
 
a67879a
 
 
 
 
 
 
 
 
 
5852079
899a350
5852079
 
e678f32
 
 
 
 
 
 
 
 
 
f64a129
4f9a082
f64a129
 
8d6542b
f6e829e
1277532
 
a926b36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f6e829e
 
 
a926b36
 
f6e829e
 
4241db9
1277532
4241db9
 
225ff16
 
 
 
 
 
 
 
 
 
bc43608
1a115d1
 
bc43608
1ac054d
 
 
 
 
 
 
 
 
 
e6b9c18
90a14f1
e6b9c18
 
7d06bbb
 
 
 
 
 
 
 
 
 
cb6d513
848cbac
 
cb6d513
3408565
 
 
 
 
 
 
 
 
 
247e9de
3c78d7e
247e9de
 
07ad8b4
 
 
 
 
 
 
 
 
 
6adaa2e
d85b5a9
6adaa2e
 
6bff0f0
 
 
 
 
 
 
 
 
 
4a4fc86
abfd0b0
4a4fc86
 
8d6542b
 
 
 
 
 
 
 
 
 
8b53b5f
23f7862
8b53b5f
 
e80c560
 
 
 
8cc90da
 
 
e80c560
 
 
9dc6c0b
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:
- 10K<n<100K
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: 517865
    num_examples: 6525
  download_size: 203991
  dataset_size: 517865
- config_name: ch
  features:
  - name: ch
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 430262
    num_examples: 6525
  download_size: 184750
  dataset_size: 430262
- config_name: de
  features:
  - name: de
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 464172
    num_examples: 6525
  download_size: 193093
  dataset_size: 464172
- config_name: default
  features:
  - name: eng
    dtype: string
  - name: ru
    dtype: string
  - name: ch
    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: 2299337
    num_examples: 6525
  download_size: 983154
  dataset_size: 2299337
- config_name: eng
  features:
  - name: eng
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 434014
    num_examples: 6525
  download_size: 185617
  dataset_size: 434014
- config_name: es
  features:
  - name: es
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 470435
    num_examples: 6525
  download_size: 193111
  dataset_size: 470435
- config_name: fr
  features:
  - name: fr
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 482341
    num_examples: 6525
  download_size: 197298
  dataset_size: 482341
- config_name: ja
  features:
  - name: ja
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 505936
    num_examples: 6525
  download_size: 198712
  dataset_size: 505936
- config_name: ko
  features:
  - name: ko
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 453690
    num_examples: 6525
  download_size: 188648
  dataset_size: 453690
- config_name: pt
  features:
  - name: pt
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 467911
    num_examples: 6525
  download_size: 192655
  dataset_size: 467911
- config_name: ru
  features:
  - name: ru
    dtype: string
  - name: completion
    dtype: string
  - name: category
    dtype: string
  splits:
  - name: train
    num_bytes: 571849
    num_examples: 6525
  download_size: 213846
  dataset_size: 571849
---

## 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}}
}
```