ThingsAI commited on
Commit
5c383d8
·
verified ·
1 Parent(s): 441dc44

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -12,11 +12,11 @@ tags:
12
  - small-language-model
13
  pipeline_tag: text-generation
14
  model-index:
15
- - name: Dwarf-15M-Instruct
16
  results: []
17
  ---
18
 
19
- # Dwarf-15M-Instruct
20
 
21
  A **15.54M parameter** shell/bash specialist language model that translates natural language into Linux commands.
22
 
@@ -25,8 +25,8 @@ A **15.54M parameter** shell/bash specialist language model that translates natu
25
  ```python
26
  from transformers import AutoTokenizer, AutoModelForCausalLM
27
 
28
- tokenizer = AutoTokenizer.from_pretrained("ThingAI/Dwarf-15M-Instruct", trust_remote_code=True)
29
- model = AutoModelForCausalLM.from_pretrained("ThingAI/Dwarf-15M-Instruct", trust_remote_code=True)
30
 
31
  prompt = "<|user|>\nFind all Python files modified in the last 3 days\n<|end|>\n<|assistant|>\n"
32
  inputs = tokenizer(prompt, return_tensors="pt")
@@ -79,7 +79,7 @@ Dwarf-15M takes natural language descriptions of tasks and produces the correspo
79
  - English: helpful-instructions, FineWeb — 10.3%
80
  - CoT: Magpie-Reasoning — 1.1%
81
 
82
- **SFT:** 557 curated Linux command pairs, 5 epochs, lr=4e-5. Training time: 19 seconds.
83
 
84
  **Tokenizer:** [DwarfGoToken](https://huggingface.co/ThingAI/DwarfGoToken) — 8,202 token BPE with syntax-aware pre-tokenization for shell operators (2>&1, &&, >>).
85
 
@@ -122,7 +122,7 @@ Apache 2.0
122
 
123
  ```bibtex
124
  @misc{dwarf15m2026,
125
- title={Dwarf-15M-Instruct: A Shell Specialist Language Model},
126
  author={ThingsAI},
127
  year={2026},
128
  url={https://huggingface.co/ThingAI/Dwarf-15M-Instruct}
 
12
  - small-language-model
13
  pipeline_tag: text-generation
14
  model-index:
15
+ - name: Dwarf-15M
16
  results: []
17
  ---
18
 
19
+ # Dwarf-15M
20
 
21
  A **15.54M parameter** shell/bash specialist language model that translates natural language into Linux commands.
22
 
 
25
  ```python
26
  from transformers import AutoTokenizer, AutoModelForCausalLM
27
 
28
+ tokenizer = AutoTokenizer.from_pretrained("ThingAI/Dwarf-15M", trust_remote_code=True)
29
+ model = AutoModelForCausalLM.from_pretrained("ThingAI/Dwarf-15M", trust_remote_code=True)
30
 
31
  prompt = "<|user|>\nFind all Python files modified in the last 3 days\n<|end|>\n<|assistant|>\n"
32
  inputs = tokenizer(prompt, return_tensors="pt")
 
79
  - English: helpful-instructions, FineWeb — 10.3%
80
  - CoT: Magpie-Reasoning — 1.1%
81
 
82
+ **SFT:** 900 curated Linux command pairs, 5 epochs, lr=4e-5. Training time: 19 seconds.
83
 
84
  **Tokenizer:** [DwarfGoToken](https://huggingface.co/ThingAI/DwarfGoToken) — 8,202 token BPE with syntax-aware pre-tokenization for shell operators (2>&1, &&, >>).
85
 
 
122
 
123
  ```bibtex
124
  @misc{dwarf15m2026,
125
+ title={Dwarf-15M: A Shell Specialist Language Model},
126
  author={ThingsAI},
127
  year={2026},
128
  url={https://huggingface.co/ThingAI/Dwarf-15M-Instruct}