Text Generation
Transformers
Safetensors
GGUF
English
lfm2
cybersecurity
conversational
unsloth
4-bit precision
bitsandbytes
Instructions to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="reaperdoesntknow/LFM2.5-2.6B-CyberSec") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("reaperdoesntknow/LFM2.5-2.6B-CyberSec") model = AutoModelForCausalLM.from_pretrained("reaperdoesntknow/LFM2.5-2.6B-CyberSec", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec 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 reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M # Run inference directly in the terminal: llama cli -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M # Run inference directly in the terminal: llama cli -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec: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 reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec: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 reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
Use Docker
docker model run hf.co/reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "reaperdoesntknow/LFM2.5-2.6B-CyberSec" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "reaperdoesntknow/LFM2.5-2.6B-CyberSec", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
- SGLang
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec 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 "reaperdoesntknow/LFM2.5-2.6B-CyberSec" \ --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": "reaperdoesntknow/LFM2.5-2.6B-CyberSec", "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 "reaperdoesntknow/LFM2.5-2.6B-CyberSec" \ --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": "reaperdoesntknow/LFM2.5-2.6B-CyberSec", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with Ollama:
ollama run hf.co/reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
- Unsloth Desktop
- Pi
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with Docker Model Runner:
docker model run hf.co/reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
- Lemonade
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
Run and chat with the model
lemonade run user.LFM2.5-2.6B-CyberSec-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec: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 reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use reaperdoesntknow/LFM2.5-2.6B-CyberSec with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "reaperdoesntknow/LFM2.5-2.6B-CyberSec:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Commit History
Today
-
keeper: refresh 2026-10-21
Verified signatured4f8d6d
Yesterday
-
keeper: refresh 2026-10-20
Verified signature6290cd8
2 days ago
-
keeper: refresh 2026-10-19
Verified signaturef09753d
3 days ago
-
keeper: refresh 2026-10-18
Verified signatureff0e94d
7 days ago
-
keeper: refresh 2026-10-14
Verified signatured278158
8 days ago
-
keeper: refresh 2026-10-13
Verified signature3ce8a39
18 days ago
-
keeper: refresh 2026-10-03
Verified signatureee849e9
19 days ago
-
keeper: refresh 2026-10-02
Verified signature13abc58
20 days ago
-
keeper: refresh 2026-10-01
Verified signature9fe0845
21 days ago
-
keeper: refresh 2026-09-30
Verified signature7b4ef36
22 days ago
-
keeper: refresh 2026-09-29
Verified signature846b537
23 days ago
-
keeper: refresh 2026-09-28
Verified signaturebbe87d8
24 days ago
-
keeper: refresh 2026-09-27
Verified signature16f2796
25 days ago
-
keeper: refresh 2026-09-26
Verified signaturec0d540a
26 days ago
-
keeper: refresh 2026-09-25
Verified signature50511a0
27 days ago
-
keeper: refresh 2026-09-24
Verified signature7b69bc9
28 days ago
-
keeper: refresh 2026-09-23
Verified signaturec2e9bb5
29 days ago
-
keeper: refresh 2026-09-22
Verified signature8d0fbe1
30 days ago
-
keeper: refresh 2026-09-21
Verified signature33c07fc
-
keeper: refresh 2026-09-20
Verified signaturec48b0be
-
keeper: refresh 2026-09-19
Verified signaturea51ff7f
-
keeper: refresh 2026-09-18
Verified signature91a8197
-
keeper: refresh 2026-09-16
Verified signature21b2a43
-
keeper: refresh 2026-09-15
Verified signature363c14a
-
keeper: refresh 2026-09-14
Verified signature07aad7f
-
keeper: refresh 2026-09-13
Verified signature7dacebe
-
keeper: refresh 2026-09-12
Verified signatured96b00e
-
keeper: refresh 2026-09-11
Verified signature388134d
-
keeper: refresh 2026-09-10
Verified signature6a85421
-
keeper: refresh 2026-09-09
Verified signature05f2e33
-
keeper: refresh 2026-09-08
Verified signature74bb3db
-
keeper: refresh 2026-09-07
Verified signature16297cf
-
keeper: refresh 2026-09-06
Verified signature4e23f57
-
keeper: refresh 2026-09-05
Verified signature1d76b3f
-
keeper: refresh 2026-09-04
Verified signaturedb74fc2
-
keeper: refresh 2026-09-03
Verified signature171ea58
-
keeper: refresh 2026-09-02
Verified signature2114619
-
keeper: refresh 2026-09-01
Verified signature0a7057d
-
keeper: refresh 2026-08-31
Verified signatureaed012e
-
keeper: refresh 2026-08-30
Verified signature198b99b
-
keeper: refresh 2026-08-29
Verified signaturefa1ec3a
-
keeper: refresh 2026-08-28
Verified signaturea6b6a33
-
keeper: refresh 2026-08-27
Verified signature79bd15f
-
keeper: refresh 2026-08-18
Verified signature6659061
-
keeper: refresh 2026-08-17
Verified signaturedbb299b
-
keeper: refresh 2026-08-16
Verified signatureb8d0b8e -
Fix collection link after title rename
Verified signature565c654 -
Add complete evidence-bounded model card
Verified signaturee161478 -
Create README.md
Verified signature0d8431a
-
Add Q4_K_M, Q8_0, and F16 GGUF variants
Verified signaturef4dbb89