Instructions to use dyingc/gguf-scanner-test-samples 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 dyingc/gguf-scanner-test-samples 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 dyingc/gguf-scanner-test-samples # Run inference directly in the terminal: llama cli -hf dyingc/gguf-scanner-test-samples
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dyingc/gguf-scanner-test-samples # Run inference directly in the terminal: llama cli -hf dyingc/gguf-scanner-test-samples
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 dyingc/gguf-scanner-test-samples # Run inference directly in the terminal: ./llama-cli -hf dyingc/gguf-scanner-test-samples
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 dyingc/gguf-scanner-test-samples # Run inference directly in the terminal: ./build/bin/llama-cli -hf dyingc/gguf-scanner-test-samples
Use Docker
docker model run hf.co/dyingc/gguf-scanner-test-samples
- LM Studio
- Jan
- vLLM
How to use dyingc/gguf-scanner-test-samples with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dyingc/gguf-scanner-test-samples" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dyingc/gguf-scanner-test-samples", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dyingc/gguf-scanner-test-samples
- Ollama
How to use dyingc/gguf-scanner-test-samples with Ollama:
ollama run hf.co/dyingc/gguf-scanner-test-samples
- Unsloth Desktop
- Docker Model Runner
How to use dyingc/gguf-scanner-test-samples with Docker Model Runner:
docker model run hf.co/dyingc/gguf-scanner-test-samples
- Lemonade
How to use dyingc/gguf-scanner-test-samples with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dyingc/gguf-scanner-test-samples
Run and chat with the model
lemonade run user.gguf-scanner-test-samples-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Add malicious and sanitized GGUF scanner samples
Browse files- .gitattributes +2 -0
- README.md +15 -0
- my_model_0.gguf +3 -0
- my_model_1.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
my_model_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
my_model_1.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- code
|
| 4 |
+
license: llama2
|
| 5 |
+
tags:
|
| 6 |
+
- llama-2
|
| 7 |
+
inference: true
|
| 8 |
+
model_creator: Meta
|
| 9 |
+
model_type: llama
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
This repository contains two GGUF test files for scanner validation.
|
| 14 |
+
- `my_model_0.gguf`: intentionally malicious `chat_template` sample
|
| 15 |
+
- `my_model_1.gguf`: sanitized `chat_template` sample
|
my_model_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5afdae411da5d5c6f34eee31ef2df84550cae1b15620de09addd732b78cf0359
|
| 3 |
+
size 298412896
|
my_model_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0f927d1c9121fb1edca077260ca99db041847aa11af3d833817a19f6420fe3f
|
| 3 |
+
size 298412768
|