Instructions to use SkyMatrixWorld-07/CYPHER-GUARD-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SkyMatrixWorld-07/CYPHER-GUARD-3B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "SkyMatrixWorld-07/CYPHER-GUARD-3B") - Transformers
How to use SkyMatrixWorld-07/CYPHER-GUARD-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SkyMatrixWorld-07/CYPHER-GUARD-3B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SkyMatrixWorld-07/CYPHER-GUARD-3B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SkyMatrixWorld-07/CYPHER-GUARD-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SkyMatrixWorld-07/CYPHER-GUARD-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SkyMatrixWorld-07/CYPHER-GUARD-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SkyMatrixWorld-07/CYPHER-GUARD-3B
- SGLang
How to use SkyMatrixWorld-07/CYPHER-GUARD-3B 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 "SkyMatrixWorld-07/CYPHER-GUARD-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SkyMatrixWorld-07/CYPHER-GUARD-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "SkyMatrixWorld-07/CYPHER-GUARD-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SkyMatrixWorld-07/CYPHER-GUARD-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SkyMatrixWorld-07/CYPHER-GUARD-3B with Docker Model Runner:
docker model run hf.co/SkyMatrixWorld-07/CYPHER-GUARD-3B
CYPHER-GUARD-3B π‘οΈ
Enterprise-grade AI Safety Guardrail & Prompt Firewall Model
CYPHER-GUARD-3B is a high-performance fine-tuned AI model based on Qwen2.5-3B-Instruct, built to detect and neutralize malicious jailbreaks, prompt injections, and adversarial threats in real-time.
Developed under Sky Matrix World.
π Benchmark & Performance
Tested rigorously on an extreme dataset consisting of mixed safe prompts and hardcore jailbreaks:
- Total Prompts Tested: 1,000 (532 Safe / 468 Unsafe)
- Final Accuracy: 98.80%
- False Positives: Minimized using strict system prompt engineering and low-temperature inference.
π Key Features
- Zero False Positives: Safely processes legitimate developer code and security questions without blocking normal workflows.
- Low Latency: Optimized for high-throughput production environments via FastAPI and PyTorch.
- API Ready: Fully compatible with standard LLM gateway routing and corporate security layers.
π» Tech Stack & Ecosystem
- Base Model: Qwen/Qwen2.5-3B-Instruct
- Fine-Tuning: QLoRA (Peft)
- Inference & Backend: Python, PyTorch, Transformers, FastAPI
- Hosting & Testing: RunPod, Hugging Face Hub
π’ Developed By
Sky Matrix World
Lead Developer: Shree Sanjay Sonawane
π Official Domain: skymatrixworld.co.in
- Downloads last month
- -