Text Classification
Transformers
Safetensors
English
qwen3_5
image-text-to-text
unsloth
classifier
shell
bash
powershell
Run this model with HF Jobs
Run tomngdev/AutoShell-0.8B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/tomngdev/AutoShell-0.8B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tomngdev/AutoShell-0.8B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use tomngdev/AutoShell-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tomngdev/AutoShell-0.8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tomngdev/AutoShell-0.8B")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("tomngdev/AutoShell-0.8B") model = AutoModelForMultimodalLM.from_pretrained("tomngdev/AutoShell-0.8B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Update README.md
Browse files24 unmodified lines252627282930105 unmodified lines13613713824 unmodified linesUsing [Qwen/Qwen3.5-0.8B-Base](Qwen/Qwen3.5-0.8B-Base) as base checkpoint and synthetic dataset from [tomngdev/shell-safety-common](https://huggingface.co/datasets/tomngdev/shell-safety-common),**AutoShell** is trained to identify which commands is safe or unsafe with a `<SessionContext></SessionContext> block`.## Usage### vLLM105 unmodified linesprint(f"safe score = {score:.3f} -> {SAFE if flagged else unsafe}")```24 unmodified lines252627282930313233343536373839105 unmodified lines14514614714814915024 unmodified linesUsing [Qwen/Qwen3.5-0.8B-Base](Qwen/Qwen3.5-0.8B-Base) as base checkpoint and synthetic dataset from [tomngdev/shell-safety-common](https://huggingface.co/datasets/tomngdev/shell-safety-common),**AutoShell** is trained to identify which commands is safe or unsafe with a `<SessionContext></SessionContext> block`.## Versions| Model | Description || ----- | ----------- || [**AutoShell-0.8B**](https://huggingface.co/tomngdev/AutoShell-0.8B) | Recommended for hosting || [AutoShell-0.8B-GGUF](https://huggingface.co/tomngdev/AutoShell-0.8B-GGUF) | GGUF quantizations for 0.8B || [AutoShell-350M](https://huggingface.co/tomngdev/AutoShell-350M) | Recommended for local CPU || [AutoShell-350M-GGUF](https://huggingface.co/tomngdev/AutoShell-350M-GGUF) | GGUF quantizations for 350M |## Usage### vLLM105 unmodified linesprint(f"safe score = {score:.3f} -> {SAFE if flagged else unsafe}")```## LicenseFollow Qwen3.5-0.8B-Base [Apache 2.0 license](https://huggingface.co/Qwen/Qwen3.5-0.8B-Base/blob/main/LICENSE)
README.md+12