Instructions to use devlucascfarias/ordo-3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use devlucascfarias/ordo-3b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-3B-Instruct") model = PeftModel.from_pretrained(base_model, "devlucascfarias/ordo-3b") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use devlucascfarias/ordo-3b 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 devlucascfarias/ordo-3b # Run inference directly in the terminal: llama cli -hf devlucascfarias/ordo-3b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf devlucascfarias/ordo-3b # Run inference directly in the terminal: llama cli -hf devlucascfarias/ordo-3b
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf devlucascfarias/ordo-3b # Run inference directly in the terminal: ./build/bin/llama cli -hf devlucascfarias/ordo-3b
Use Docker
docker model run hf.co/devlucascfarias/ordo-3b
- Llama new
- LM Studio
- Jan
- vLLM
How to use devlucascfarias/ordo-3b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "devlucascfarias/ordo-3b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "devlucascfarias/ordo-3b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/devlucascfarias/ordo-3b
- Ollama
How to use devlucascfarias/ordo-3b with Ollama:
ollama run hf.co/devlucascfarias/ordo-3b
- Unsloth Desktop
- Pi
How to use devlucascfarias/ordo-3b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devlucascfarias/ordo-3b
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "devlucascfarias/ordo-3b" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use devlucascfarias/ordo-3b with Docker Model Runner:
docker model run hf.co/devlucascfarias/ordo-3b
- Lemonade
How to use devlucascfarias/ordo-3b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull devlucascfarias/ordo-3b
Run and chat with the model
lemonade run user.ordo-3b-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use devlucascfarias/ordo-3b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devlucascfarias/ordo-3b
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:9931/v1 hermes config set model.default devlucascfarias/ordo-3b
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use devlucascfarias/ordo-3b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf devlucascfarias/ordo-3b
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:9931/v1 \ --custom-model-id "devlucascfarias/ordo-3b" \ --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"
context compression for agentic coding, and a corpus that already caps its outputs
hey Lucas, saw ordo-3b, agentic coding with context filtering and episodic memory on Coder-3B. compression is the unglamorous part that decides whether these things run at all.
my set deals with the same problem from the data side. 66 sessions of an agent fixing real bugs in real repos, sample-side tool output capped at 8,000 chars head and tail with truncated flags and original counts, while the raw log keeps every character. real errors and retries kept, tests green at the end. built to improve coding, tool calling, agentic execution and recovery from failure.
it's continued pretraining text, MIT, you have to clean this data if using for fine tuning. repo already ships a chat re-formatting tools for most of the fine tuning tools.
the first 100 are free, all 66 free today:
https://github.com/Sumama-Jameel/megabit-trajectories
curious whether the capped shape helps or hurts your filter.
Sumama
Hey Sumama, thanks for reaching out, and good timing.
To your question: a plain head+tail cap tends to hurt a filter like Ordo when the root cause sits in the middle of a long log (a deep stack frame, the first failing test in a long suite). That's why the Ordo CLI doesn't cut blindly: when input exceeds the budget it keeps the error blocks first, then a short tail and head, and marks what was omitted. That said, capped outputs with the full raw log next to them are useful as hard test cases: they let us check whether the model reports the cause when it falls in the truncated part, or at least flags that it can't see it.
Some context on where Ordo is going: I'm rebuilding it as v2. The CLI is now open source (github.com/devlucascfarias/ordo) and keeps the full original output retrievable (ordo show ). I also built a contamination-free benchmark from real tool runs, and it showed v1's published numbers were too optimistic. Training data is now generated from real test runs on open-source repos, with deterministic, verified targets.
Real agent trajectories with retries and recoveries are exactly what's hardest to synthesize for the memory/compaction mode, so I'll take a look at the repo, especially the license, how sessions are structured, and whether they'd fit as evaluation cases.
Thanks again,
Lucas
hey Lucas, agreed on the mid-log cause, error-blocks-first plus marked omission is the right call.
my cap is head+tail at 8k chars with a truncated:true flag, and the raw log keeps every character beside it, so your hard test case works as-is: feed the capped sample, see if the model names the mid-log cause or admits it can't see it, then diff against the raw. your three checks: MIT on the packaging, upstream code keeps its own license, provenance per episode carries repo, commits, license, model. structure is OpenAI chat messages plus a tools catalog, a raw log and a sample per episode, splits with reasons, failures and retries in order.
happy to cut a slice of the long-output episodes, capped plus raw, if you want to run Ordo's filter against them. tell me what breaks.
Sumama