Detection Engineering & Cyber
Collection
Local models for blue-team work: rule authoring, translation and tuning • 4 items • Updated
How to use EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF", device_map="auto")How to use EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
# 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 EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
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 EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
docker model run hf.co/EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
How to use EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF with Ollama:
ollama run hf.co/EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
How to use EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF with Docker Model Runner:
docker model run hf.co/EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
How to use EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull EryriLabs/DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF:Q4_K_M
lemonade run user.DeepSeek-R1-Distill-Qwen-YARA-Thinker-7B-GGUF-Q4_K_M
lemonade list
This is a merge of pre-trained language models created using mergekit.
This model was merged using the SLERP merge method.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
models:
- model: deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
- model: vtriple/Qwen-2.5-7B-Threatflux
merge_method: slerp
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
dtype: bfloat16
parameters:
t: [0, 0.5, 0.25]
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit