Downloads · 30 days
7
13% of all-time downloads
hawierdev/shellm-v0.1-gguf
shellm-v0.1-gguf is a machine learning model from hawierdev. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
ShellM is a specialized language model based on Qwen2.5 1.5B, fine-tuned for generating intelligent terminal command suggestions. The model has been trained to understand terminal context and suggest appropriate comma…
Downloads · 30 days
7
13% of all-time downloads
All-time downloads
53
Public
Repo size
3.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf3.1 GB · 100%
From the Hugging Face model README
ShellM is a specialized language model based on Qwen2.5 1.5B, fine-tuned for generating intelligent terminal command suggestions. The model has been trained to understand terminal context and suggest appropriate commands.
The model uses chatml format for conversations:
<|im_start|>user
How to display all processes using port 8080?
<|im_end|>
<|im_start|>assistant
lsof -i :8080
<|im_end|>
File Management:
User: How to find all Python files larger than 1MB?
Assistant: find . -name "*.py" -size +1M
Process Management:
User: How to kill all python processes?
Assistant: pkill python
Git Operations:
User: How to undo last commit without losing changes?
Assistant: git reset --soft HEAD~1
Requirements:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "shellm_v0.1_merged"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Example usage
prompt = "<|im_start|>user\nHow to check disk usage?<|im_end|>\n<|im_start|>assistant\n"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=150, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=False)
The model supports standard Qwen2 tokens:
<|im_start|>, <|im_end|> - conversation markers<|vision_pad|> - padding token<|fim_prefix|>, <|fim_middle|>, <|fim_suffix|>Version: v0.1 Based on: Qwen2.5-1.5B Fine-tuned with: Unsloth v2025.8.8