Instructions to use VishwamAI/vishwamai-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use VishwamAI/vishwamai-gguf 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 VishwamAI/vishwamai-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf VishwamAI/vishwamai-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf VishwamAI/vishwamai-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf VishwamAI/vishwamai-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf VishwamAI/vishwamai-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf VishwamAI/vishwamai-gguf:Q4_K_M
Use Docker
docker model run hf.co/VishwamAI/vishwamai-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use VishwamAI/vishwamai-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VishwamAI/vishwamai-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VishwamAI/vishwamai-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/VishwamAI/vishwamai-gguf:Q4_K_M
- Ollama
How to use VishwamAI/vishwamai-gguf with Ollama:
ollama run hf.co/VishwamAI/vishwamai-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use VishwamAI/vishwamai-gguf with Docker Model Runner:
docker model run hf.co/VishwamAI/vishwamai-gguf:Q4_K_M
- Lemonade
How to use VishwamAI/vishwamai-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull VishwamAI/vishwamai-gguf:Q4_K_M
Run and chat with the model
lemonade run user.vishwamai-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
VishwamAI β GGUF (Q4_K_M)
Quantized GGUF build of VishwamAI, a defensive-first cybersecurity + math/science reasoning assistant fine-tuned from Gemma 4 E4B-it (Apache 2.0). This format runs fast and locally with llama.cpp / Ollama / llama-cpp-python on modest hardware (4β6 GB GPU or CPU).
- Full-precision / merged weights: kasinadhsarma/vishwamai-merged
- LoRA adapter: kasinadhsarma/vishwamai-lora
β οΈ Authorized / educational use only. Use security capabilities solely on systems you own or are explicitly authorized to test (labs, CTFs, defensive research, education).
Files
| File | Quant | Size | Use |
|---|---|---|---|
vishwamai-Q4_K_M.gguf |
Q4_K_M | ~5.3 GB | Best size/quality balance β recommended default |
Run it
Ollama
# create a Modelfile
printf 'FROM ./vishwamai-Q4_K_M.gguf\nSYSTEM "You are VishwamAI, a defensive-first security research assistant and a math/science solver. Be precise, state uncertainty, never fabricate CVE IDs or physical constants."\n' > Modelfile
ollama create vishwamai -f Modelfile
ollama run vishwamai
llama.cpp (OpenAI-compatible local server)
huggingface-cli download kasinadhsarma/vishwamai-gguf vishwamai-Q4_K_M.gguf --local-dir .
./llama-server -m vishwamai-Q4_K_M.gguf -ngl 99 -c 8192 --host 127.0.0.1 --port 8080
# then open http://127.0.0.1:8080 for the built-in chat UI
llama-cpp-python
from llama_cpp import Llama
llm = Llama.from_pretrained(
"kasinadhsarma/vishwamai-gguf",
filename="vishwamai-Q4_K_M.gguf",
n_ctx=4096, n_gpu_layers=99, # n_gpu_layers=0 for CPU
)
print(llm.create_chat_completion(messages=[
{"role": "system", "content": "You are VishwamAI, a defensive-first security and math/science assistant."},
{"role": "user", "content": "Give two Sysmon detections for LSASS credential dumping."},
])["choices"][0]["message"]["content"])
Recommended system prompt
You are VishwamAI, a defensive-first security research assistant and a
math/science solver for an authorized practitioner. Be precise, state uncertainty,
never fabricate CVE IDs or physical constants, and use the calculator/CAS tool for
any non-trivial computation.
Limitations
- ~4B (8B incl. embeddings) model β capable, but weaker than frontier models on deep reasoning.
- May hallucinate facts (CVE IDs, ATT&CK technique details, constants). Route factual lookups through a RAG index and keep the "state uncertainty" system prompt β do not trust recalled facts.
- Quantized (Q4_K_M): small quality loss vs the fp16 model. For higher fidelity, requantize the merged model to Q5_K_M / Q6_K.
License
Apache 2.0 (inherited from the Gemma 4 base). Provided for authorized security research, education, and lawful use only.
- Downloads last month
- 27
4-bit