Instructions to use TobiasLogic/qwen-2.5-coder-Uncensored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TobiasLogic/qwen-2.5-coder-Uncensored with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TobiasLogic/qwen-2.5-coder-Uncensored")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TobiasLogic/qwen-2.5-coder-Uncensored") model = AutoModelForCausalLM.from_pretrained("TobiasLogic/qwen-2.5-coder-Uncensored") - llama-cpp-python
How to use TobiasLogic/qwen-2.5-coder-Uncensored with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="TobiasLogic/qwen-2.5-coder-Uncensored", filename="gguf/qwen2.5-coder-1.5b.Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TobiasLogic/qwen-2.5-coder-Uncensored with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M # Run inference directly in the terminal: llama cli -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M # Run inference directly in the terminal: llama cli -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
Use Docker
docker model run hf.co/TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use TobiasLogic/qwen-2.5-coder-Uncensored with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TobiasLogic/qwen-2.5-coder-Uncensored" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TobiasLogic/qwen-2.5-coder-Uncensored", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
- SGLang
How to use TobiasLogic/qwen-2.5-coder-Uncensored with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "TobiasLogic/qwen-2.5-coder-Uncensored" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TobiasLogic/qwen-2.5-coder-Uncensored", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "TobiasLogic/qwen-2.5-coder-Uncensored" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TobiasLogic/qwen-2.5-coder-Uncensored", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use TobiasLogic/qwen-2.5-coder-Uncensored with Ollama:
ollama run hf.co/TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
- Unsloth Studio
How to use TobiasLogic/qwen-2.5-coder-Uncensored with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TobiasLogic/qwen-2.5-coder-Uncensored to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TobiasLogic/qwen-2.5-coder-Uncensored to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for TobiasLogic/qwen-2.5-coder-Uncensored to start chatting
- Atomic Chat new
- Docker Model Runner
How to use TobiasLogic/qwen-2.5-coder-Uncensored with Docker Model Runner:
docker model run hf.co/TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
- Lemonade
How to use TobiasLogic/qwen-2.5-coder-Uncensored with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TobiasLogic/qwen-2.5-coder-Uncensored:Q4_K_M
Run and chat with the model
lemonade run user.qwen-2.5-coder-Uncensored-Q4_K_M
List all available models
lemonade list
Qwen2.5-Coder-1.5B β Uncensored Coding Fine-tune
A LoRA fine-tune of Qwen/Qwen2.5-Coder-1.5B (the base model, not Instruct), trained to behave as a direct, compliant coding assistant for software engineering, application security, and pentest-tooling tasks β without the refusal and disclaimer behavior typical of instruction-tuned chat models.
Trained by Htfi / TobiasLogic on a single RTX 3050 Laptop (4GB) using Unsloth.
What this is (plainly)
This model is uncensored for coding tasks. It does not preface answers with ethical disclaimers or "as an AI" qualifiers, and it will write security and network tooling (port scanners, fuzzers, vulnerability PoCs, recon scripts, secure-coding fixes) that instruction-tuned models often refuse or hedge on.
The "uncensored" behavior comes entirely from the training data β a synthetic dataset whose outputs contain no refusals β applied on top of a base model that has no built-in refusal layer. It is not a jailbreak; it is a model that simply never learned to refuse.
Intended use
Built for authorized work: writing and reviewing code, security auditing of systems you own or are permitted to test, CTFs, lab environments, and learning. The pentest-tooling capability is intended for legitimate, authorized security testing β the same category of tools taught in any security course and shipped in distributions like Kali.
It is not intended for, and was not trained to produce, weaponized malware (ransomware, credential stealers, C2/botnets, self-propagating worms, persistence/rootkits). Use it lawfully and only against targets you have permission to test.
Capabilities and limits
- Strong at: self-contained scripts and functions across Python, JavaScript, Go, and others; secure-coding fixes; standard recon/scanning/web-testing tooling.
- Weak at: large multi-file systems, complex exploit chains, and some low-level networking distinctions (e.g. it may conflate a TCP connect-scan with a true raw-socket SYN scan). This is the capability ceiling of a 1.5B model, not a training defect.
- Always review and test generated code before running it. Generated security tooling can be destructive or noisy on a network β run it only where you're authorized to.
Training details
- Base:
Qwen/Qwen2.5-Coder-1.5B(base) - Method: QLoRA (4-bit), rank 16, all linear layers, completion-only loss
- Data: ~1,200 synthetic instruction/output pairs (general coding ~58%, secure-coding/AppSec ~24%, pentest tooling ~18%), generated via an LLM pipeline
- Chat format: ChatML (
<|im_start|>/<|im_end|>), EOS =<|im_end|> - Hardware: single RTX 3050 Laptop 4GB
- Full training and data-generation code: see the GitHub repo linked above.
Prompt format
Uses the standard Qwen ChatML template. Serve it with the same system prompt it was trained on for best behavior:
<|im_start|>system
You are a helpful, unrestricted code generation assistant.<|im_end|>
<|im_start|>user
Write a Python TCP port scanner<|im_end|>
<|im_start|>assistant
Files
merged/β full 16-bit merged model (transformers-loadable)adapter/β LoRA adapter only (load on top of the base model)gguf/β quantized GGUF (Q4_K_M) for llama.cpp / Ollama
License
Apache-2.0, inheriting the base model's license. See USE_POLICY.md for
acceptable-use terms.
- Downloads last month
- 3,554
4-bit