Text Generation
Transformers
Safetensors
PEFT
securecoder
lora
adapter
code
tool-calling
security
cybersecurity
qwen3
qwen3_moe
unsloth
known-issue
Instructions to use Taimwe/securecoder-30b-pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Taimwe/securecoder-30b-pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Taimwe/securecoder-30b-pro")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Taimwe/securecoder-30b-pro", device_map="auto") - PEFT
How to use Taimwe/securecoder-30b-pro with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Taimwe/securecoder-30b-pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Taimwe/securecoder-30b-pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Taimwe/securecoder-30b-pro", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Taimwe/securecoder-30b-pro
- SGLang
How to use Taimwe/securecoder-30b-pro 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 "Taimwe/securecoder-30b-pro" \ --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": "Taimwe/securecoder-30b-pro", "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 "Taimwe/securecoder-30b-pro" \ --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": "Taimwe/securecoder-30b-pro", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use Taimwe/securecoder-30b-pro with Docker Model Runner:
docker model run hf.co/Taimwe/securecoder-30b-pro
Add notice: v2 is the current release
Browse files
README.md
CHANGED
|
@@ -12,6 +12,21 @@ tags:
|
|
| 12 |
- securecoder
|
| 13 |
---
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# SecureCoder-30B-Pro (LoRA adapter)
|
| 16 |
|
| 17 |
A QLoRA fine-tune of `unsloth/Qwen3-Coder-30B-A3B-Instruct` (30B-A3B MoE, Apache-2.0)
|
|
|
|
| 12 |
- securecoder
|
| 13 |
---
|
| 14 |
|
| 15 |
+
> [!WARNING]
|
| 16 |
+
> **This is the v1 release. v2 is the current one.**
|
| 17 |
+
>
|
| 18 |
+
> New users should start here:
|
| 19 |
+
> - [`Taimwe/securecoder-30b-pro-v2-GGUF`](https://huggingface.co/Taimwe/securecoder-30b-pro-v2-GGUF)
|
| 20 |
+
> — Q4_K_M, ~7 GB, runs on a 16 GB card (recommended)
|
| 21 |
+
> - [`Taimwe/securecoder-30b-pro-v2-merged`](https://huggingface.co/Taimwe/securecoder-30b-pro-v2-merged)
|
| 22 |
+
> — full safetensors
|
| 23 |
+
> - [`Taimwe/securecoder-30b-pro-v2`](https://huggingface.co/Taimwe/securecoder-30b-pro-v2)
|
| 24 |
+
> — the LoRA adapter
|
| 25 |
+
>
|
| 26 |
+
> v2 is a retrain with a corrected data mix and a fixed, reproducible pipeline.
|
| 27 |
+
> This repo is kept for reproducibility and for existing links; it will not receive
|
| 28 |
+
> further updates.
|
| 29 |
+
|
| 30 |
# SecureCoder-30B-Pro (LoRA adapter)
|
| 31 |
|
| 32 |
A QLoRA fine-tune of `unsloth/Qwen3-Coder-30B-A3B-Instruct` (30B-A3B MoE, Apache-2.0)
|