Instructions to use prithivMLmods/DynaGuard-AIO-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/DynaGuard-AIO-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/DynaGuard-AIO-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/DynaGuard-AIO-GGUF", dtype="auto") - llama-cpp-python
How to use prithivMLmods/DynaGuard-AIO-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="prithivMLmods/DynaGuard-AIO-GGUF", filename="DynaGuard-1.7B.BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/DynaGuard-AIO-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf prithivMLmods/DynaGuard-AIO-GGUF: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 prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/DynaGuard-AIO-GGUF: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 prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/DynaGuard-AIO-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/DynaGuard-AIO-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": "prithivMLmods/DynaGuard-AIO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/DynaGuard-AIO-GGUF 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 "prithivMLmods/DynaGuard-AIO-GGUF" \ --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": "prithivMLmods/DynaGuard-AIO-GGUF", "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 "prithivMLmods/DynaGuard-AIO-GGUF" \ --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": "prithivMLmods/DynaGuard-AIO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use prithivMLmods/DynaGuard-AIO-GGUF with Ollama:
ollama run hf.co/prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
- Unsloth Studio
How to use prithivMLmods/DynaGuard-AIO-GGUF 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 prithivMLmods/DynaGuard-AIO-GGUF 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 prithivMLmods/DynaGuard-AIO-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for prithivMLmods/DynaGuard-AIO-GGUF to start chatting
- Pi
How to use prithivMLmods/DynaGuard-AIO-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use prithivMLmods/DynaGuard-AIO-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use prithivMLmods/DynaGuard-AIO-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/DynaGuard-AIO-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/DynaGuard-AIO-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DynaGuard-AIO-GGUF-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +13 -0
- DynaGuard-4B.BF16.gguf +3 -0
- DynaGuard-4B.F16.gguf +3 -0
- DynaGuard-4B.F32.gguf +3 -0
- DynaGuard-4B.Q2_K.gguf +3 -0
- DynaGuard-4B.Q3_K_L.gguf +3 -0
- DynaGuard-4B.Q3_K_M.gguf +3 -0
- DynaGuard-4B.Q3_K_S.gguf +3 -0
- DynaGuard-4B.Q4_K_M.gguf +3 -0
- DynaGuard-4B.Q4_K_S.gguf +3 -0
- DynaGuard-4B.Q5_K_M.gguf +3 -0
- DynaGuard-4B.Q5_K_S.gguf +3 -0
- DynaGuard-4B.Q6_K.gguf +3 -0
- DynaGuard-4B.Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -52,3 +52,16 @@ DynaGuard-1.7B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 52 |
DynaGuard-1.7B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
DynaGuard-1.7B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
DynaGuard-1.7B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
DynaGuard-1.7B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
DynaGuard-1.7B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
DynaGuard-1.7B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
DynaGuard-4B.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
DynaGuard-4B.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
DynaGuard-4B.F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
DynaGuard-4B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
DynaGuard-4B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
DynaGuard-4B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
DynaGuard-4B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
DynaGuard-4B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
DynaGuard-4B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
DynaGuard-4B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
DynaGuard-4B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
DynaGuard-4B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
DynaGuard-4B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
DynaGuard-4B.BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7230f517402ff434724b48a11ed7e483d4f636f5c61c262392491289b114f089
|
| 3 |
+
size 8051284864
|
DynaGuard-4B.F16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:083f25cdbedc965eca68f3d97b6b1fb6eea112fbf17d919eacbd5b3c77119a63
|
| 3 |
+
size 8051284864
|
DynaGuard-4B.F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2aeceacbf0a71d13e9412dc4f4994afc053e3a11bd168e2d56bb69ff3177ddb
|
| 3 |
+
size 16095828864
|
DynaGuard-4B.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d853528c91218c16981bb169527205756725d0a5aa57e8ae29c9f4614c6e2322
|
| 3 |
+
size 1669499264
|
DynaGuard-4B.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80c0a105e13c9ecaa67e1f5af975e960bcba4df277040b89e64ac0f3dff7a4c0
|
| 3 |
+
size 2239785344
|
DynaGuard-4B.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfaa8c5028ca66bfcae32498bf7b60e603c030919dfe072eb0f35f24e71379a7
|
| 3 |
+
size 2075617664
|
DynaGuard-4B.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60cd3c09cb0ad2bbfc37630aa0dc030d6f9d1ee6d40ea4adb4bbb18396e0d91d
|
| 3 |
+
size 1886996864
|
DynaGuard-4B.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:027ca0ee19f8baa4441663a54c5ea0a8946ac50efbefe9cda4706b3190e95921
|
| 3 |
+
size 2497280384
|
DynaGuard-4B.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27a021c92d4e56e2edec06cc59eb62a905e45fef1cccc62b8a604c2de5475fd6
|
| 3 |
+
size 2383309184
|
DynaGuard-4B.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8959b40d36c674cc7fed7d3450c01cc3143c9a9485abb510790ae3f84f9ed2c
|
| 3 |
+
size 2889513344
|
DynaGuard-4B.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6050a32cebed53aae0956ecd3ed6378cc0c5d797dd2014b865cae5ecfa0c2d83
|
| 3 |
+
size 2823711104
|
DynaGuard-4B.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:598427af69e622c4da8188bcbe7eeef45d2df46bb1988c9a68fac35068fe0deb
|
| 3 |
+
size 3306260864
|
DynaGuard-4B.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6a09bd0bc0565852320bf50118e138fd368a880a64346d7892de2577b87f911
|
| 3 |
+
size 4280404864
|