Downloads · 30 days
17
8% of all-time downloads
Courbeau/qwen-1.5b-rtu
qwen-1.5b-rtu is a text generation model from Courbeau. Use it when you need the model to write or continue text. It is set up for peft.
Fine-tuned model for generating PowerShell scripts to configure RTU devices.
Downloads · 30 days
17
8% of all-time downloads
All-time downloads
217
Public
Repo size
986 MB
Likes
0
Public
Click a slice to open those files.
.gguf986 MB · 100%
From the Hugging Face model README
Fine-tuned model for generating PowerShell scripts to configure RTU devices.
This is a fine-tuned version of Qwen2.5-Coder (1.5B) specialized for RTU device management.
Base Model: Qwen2.5-Coder-1.5B
Quantization: Q4_K_M (GGUF)
Use Case: Industrial automation, RTU configuration, PowerShell script generation
The model was fine-tuned on PowerShell scripting examples for:
# Pull the model
ollama pull hf.co/Courbeau/qwen-1.5b-rtu
# Run interactively
ollama run hf.co/Courbeau/qwen-1.5b-rtu
Create a Modelfile:
FROM hf.co/Courbeau/qwen-1.5b-rtu
SYSTEM """
You are an expert assistant for configuring RTU devices. Always respond as a JSON object with exactly these keys: "reasoning" (string, concise numbered plan, max 6 lines), and EITHER "powershell" (string, script only) OR "clarification" (string, single question).
Assume $connection active. DO NOT OUTPUT Connect-RTU or Disconnect-RTU commands.
"""
PARAMETER temperature 0.1
PARAMETER top_p 0.9
Then create your custom model:
ollama create qwen-rtu -f Modelfile
ollama run qwen-rtu
Backup Generation:
Create a backup named RTU530ABackup and save it to C://backups/RTU530ABackup.bakpkg
Firmware Upload:
Upload firmware file from C://firmware/RTU_v2.bin and restart the device
User Management:
Create a new user named "Engineer1" with password "SecurePass123" and grant Engineer role
The model generates JSON responses with:
reasoning: Step-by-step planpowershell: PowerShell script (when sufficient information is provided)clarification: Question for missing information (when needed)Example output:
{
"reasoning": "1. Create backup named RTU530ABackup.\n2. Download to specified path.",
"powershell": "{Backup commands}"
}
Please refer to the Qwen2.5 license for base model terms.
If you use this model, please cite:
@misc{qwen-rtu,
author = {Courbeau},
title = {Qwen2.5-Coder RTU Assistant},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/Courbeau/qwen-1.5b-rtu}}
}