🛡️ DGPL Linux Assistant 0.8B (SafeTensors & GGUF All-in-One)

DGPL Linux Assistant 0.8B is an ultra-fast, expert, and production-safe Linux terminal copilot and DevSecOps assistant developed by Durbhasi Gurukulam Private Limited (DGPL).

Engineered to run 100% locally on standard CPU and RAM with zero GPU requirements, this repository contains both the full 16-bit SafeTensors weights (for PyTorch / Transformers) and optimized GGUF quantizations (Q4_K_M, Q8_0, F16) with native Hugging Face Hub Ollama integration.


⚡ Quickstart: Run with Ollama Directly from Hugging Face Hub

In accordance with the Hugging Face Hub Ollama standard, you can run DGPL Linux Assistant directly with Ollama using the hf.co domain without manually compiling Modelfiles.

1. Direct Execution (Default Q4_K_M Quantization):

ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b

(Both hf.co and huggingface.co domains are supported).

2. Selecting Specific Quantizations via Tags:

# 4-bit Quantization (Default, ~505 MB — fastest CPU execution on 1GB RAM)
ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b:Q4_K_M

# 5-bit Quantization (~578 MB — balanced speed and reasoning quality)
ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b:Q5_K_M

# 6-bit Quantization (~629 MB — high-fidelity near-lossless quantization)
ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b:Q6_K

# 8-bit Quantization (~775 MB — high-fidelity near-FP16 accuracy on CPU)
ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b:Q8_0

# 16-bit Uncompressed Baseline (~1.51 GB master baseline GGUF)
ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b:F16

# Run by exact filename
ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b:linux_copilot_q4_k_m.gguf

3. Authentication for Private Repository Access:

Since this repository is maintained as Private under the dgpl organization, configure authentication using either of these methods:

Method A: Ollama SSH Key Authentication (Recommended)

  1. Copy your local Ollama SSH public key:
    cat ~/.ollama/id_ed25519.pub
    
  2. Add the key to your Hugging Face account at Hugging Face Account Settings -> SSH Keys.
  3. Execute directly: ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b

Method B: Hugging Face Token Auth

export HF_TOKEN="hf_your_token_here"
ollama run hf.co/dgpl/dgpl-linux-assistant-0.8b

4. Use in Custom Modelfiles:

FROM hf.co/dgpl/dgpl-linux-assistant-0.8b:Q4_K_M

📦 Repository Contents & Artifacts

File Size Format / Type Description / Best Use Case
model.safetensors 1.51 GB 16-Bit SafeTensors Full precision foundation weights for Transformers / fine-tuning
linux_copilot_q4_k_m.gguf 505 MB 4-bit Quantized GGUF (Default) Ultra-fast CPU copilot inference on edge / 1GB RAM container
linux_copilot_q5_k_m.gguf 578 MB 5-bit Quantized GGUF Balanced medium quantization with enhanced reasoning accuracy
linux_copilot_q6_k.gguf 629 MB 6-bit Quantized GGUF High-precision near-lossless quantization on CPU
linux_copilot_q8_0.gguf 775 MB 8-bit Quantized GGUF High-fidelity quantization with near-FP16 accuracy on CPU
linux_copilot_f16.gguf 1.51 GB 16-bit Uncompressed GGUF Master unquantized baseline GGUF
Modelfile Config Ollama Modelfile Turn-bound ChatML template with <think> tags & stop tokens
template Config Go Chat Template Official Hugging Face Hub Ollama chat template definition
system Config System Prompt Official Hugging Face Hub Ollama default system prompt
params Config Parameters (JSON) Sampling temperature, top_p, top_k, and stop sequences
config.json & tokenizer.json Config Tokenizer & Configs Qwen2Tokenizer class definition with 248k vocab

🚀 Key Architectural Highlights

  • 100% Pure CPU & Low RAM Footprint: Engineered to run entirely in CPU RAM (minimum 512 MB – 1.0 GB RAM), with zero GPU or VRAM requirements. Perfect for budget VPS, standard laptops, edge appliances, and lightweight Docker containers.
  • Sub-Second TTFT & High Throughput: Delivers 30+ tokens/sec output generation speed and 220+ tokens/sec prompt ingestion on standard CPU threads.
  • Non-Interactive Terminal Execution: Enforces non-blocking, agent-safe batch terminal commands (top -b -n 1, vmstat 1 2, journalctl --no-pager, ss -tuln).
  • Zero Policy Loops & Clean Reasoning: Completely eliminates Alibaba RLHF checklist loops through multi-turn DPO alignment while preserving structured <think> reasoning.

📊 Dual-Condition Benchmark Scorecard

Evaluation Mode Total Tests Pass Rate Policy Loops Average GRPO Reward
With DGPL System Prompt 12 100.0% (12/12) 0.0% (0/12) 0.75 / 1.00
Without System Prompt (Bare Queries) 12 100.0% (12/12) 0.0% (0/12) 0.83 / 1.00

🐳 Production Docker Deployment (CPU & RAM Optimized)

docker run -d --rm \
  --cpuset-cpus="0-7" \
  --memory=1g \
  -p 11434:11434 \
  -e OLLAMA_NUM_THREADS=8 \
  -e OLLAMA_NUM_PARALLEL=1 \
  -e OLLAMA_KV_CACHE_TYPE=q4_0 \
  -v /save_data/ollama:/root/.ollama \
  --name ollama \
  ollama/ollama:latest

💻 Quickstart: PyTorch / Transformers (SafeTensors)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "dgpl/dgpl-linux-assistant-0.8b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float32, device_map="cpu")

prompt = "<|im_start|>user\nHow do I audit open listening sockets without blocking?\n<|im_end|>\n<|im_start|>assistant\n<think>\n"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.2)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

🏢 Corporate Entity & Support

  • Developed By: Durbhasi Gurukulam Private Limited (DGPL)
  • Official Support Email: support@durbhasigurukulam.com
  • Official Contact Phone: +91 7852034945
Downloads last month
-
Safetensors
Model size
0.8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for dgpl/dgpl-linux-assistant-0.8b

Quantized
(259)
this model
Quantizations
2 models