Text Generation
Transformers
Safetensors
GGUF
English
Portuguese
qwen3_5
image-text-to-text
qwen
unsloth
lora
code-generation
simplicio-loop
software-engineering
surgical-diff
agentic-coding
conversational
Instructions to use wesleysimplicio/Simplicio-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wesleysimplicio/Simplicio-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="wesleysimplicio/Simplicio-27B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("wesleysimplicio/Simplicio-27B") model = AutoModelForMultimodalLM.from_pretrained("wesleysimplicio/Simplicio-27B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use wesleysimplicio/Simplicio-27B 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 wesleysimplicio/Simplicio-27B:BF16 # Run inference directly in the terminal: llama cli -hf wesleysimplicio/Simplicio-27B:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf wesleysimplicio/Simplicio-27B:BF16 # Run inference directly in the terminal: llama cli -hf wesleysimplicio/Simplicio-27B:BF16
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 wesleysimplicio/Simplicio-27B:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf wesleysimplicio/Simplicio-27B:BF16
Use Docker
docker model run hf.co/wesleysimplicio/Simplicio-27B:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use wesleysimplicio/Simplicio-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "wesleysimplicio/Simplicio-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "wesleysimplicio/Simplicio-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/wesleysimplicio/Simplicio-27B:BF16
- SGLang
How to use wesleysimplicio/Simplicio-27B 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 "wesleysimplicio/Simplicio-27B" \ --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": "wesleysimplicio/Simplicio-27B", "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 "wesleysimplicio/Simplicio-27B" \ --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": "wesleysimplicio/Simplicio-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use wesleysimplicio/Simplicio-27B with Ollama:
ollama run hf.co/wesleysimplicio/Simplicio-27B:BF16
- Unsloth Desktop
- Pi
How to use wesleysimplicio/Simplicio-27B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wesleysimplicio/Simplicio-27B:BF16
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": "wesleysimplicio/Simplicio-27B:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use wesleysimplicio/Simplicio-27B with Docker Model Runner:
docker model run hf.co/wesleysimplicio/Simplicio-27B:BF16
- Lemonade
How to use wesleysimplicio/Simplicio-27B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull wesleysimplicio/Simplicio-27B:BF16
Run and chat with the model
lemonade run user.Simplicio-27B-BF16
List all available models
lemonade list
- Hermes Agent
How to use wesleysimplicio/Simplicio-27B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wesleysimplicio/Simplicio-27B:BF16
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 wesleysimplicio/Simplicio-27B:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use wesleysimplicio/Simplicio-27B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf wesleysimplicio/Simplicio-27B:BF16
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 "wesleysimplicio/Simplicio-27B:BF16" \ --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"
Add official product page https://simpleti.com.br/simplicio-27b/
Browse files
README.md
CHANGED
|
@@ -13,6 +13,7 @@ tags:
|
|
| 13 |
- surgical-diff
|
| 14 |
- agentic-coding
|
| 15 |
pipeline_tag: text-generation
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
<p align="center">
|
|
@@ -28,10 +29,13 @@ pipeline_tag: text-generation
|
|
| 28 |
<p align="center">
|
| 29 |
<a href="https://huggingface.co/wesleysimplicio/Simplicio-27B"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Simplicio--27B-yellow.svg" alt="Hugging Face"></a>
|
| 30 |
<a href="https://github.com/simpletibr/simplicio-27b"><img src="https://img.shields.io/badge/GitHub-Repository-blue?logo=github" alt="GitHub"></a>
|
| 31 |
-
<a href="https://simpleti.com.br/simplicio-27b"><img src="https://img.shields.io/badge/SimpleTI-Official%20Page-0081FB" alt="SimpleTI"></a>
|
| 32 |
<a href="https://github.com/simpletibr/simplicio-27b/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg" alt="License"></a>
|
| 33 |
<a href="https://unsloth.ai"><img src="https://img.shields.io/badge/Fine--tuned%20with-Unsloth-darkgreen" alt="Unsloth"></a>
|
| 34 |
</p>
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
---
|
| 37 |
|
|
@@ -40,7 +44,7 @@ pipeline_tag: text-generation
|
|
| 40 |
> **📦 Download Direto dos Pesos (LoRA / Checkpoint)**: [🤗 Hugging Face: wesleysimplicio/Simplicio-27B](https://huggingface.co/wesleysimplicio/Simplicio-27B)
|
| 41 |
> O mesmo repositório concentra o adapter, o merge 16-bit (`model-00001-of-00018.safetensors` … `model-00018`) e o GGUF (`Qwen3.8-27B.Q4_K_M.gguf` + `Qwen3.8-27B.BF16-mmproj.gguf`).
|
| 42 |
> **🦙 Ollama Library**: [ollama.com/wesleysimplicio/simplicio-27b](https://ollama.com/wesleysimplicio/simplicio-27b)
|
| 43 |
-
> **⚡ Página Oficial & API**: [simpleti.com.br/simplicio-27b](https://simpleti.com.br/simplicio-27b)
|
| 44 |
|
| 45 |
### 1. 🚀 Script de Instalação e Execução Automática (macOS / Linux)
|
| 46 |
Instala automaticamente dependências necessárias e inicia o modelo com 1 comando:
|
|
@@ -72,7 +76,7 @@ aider --model ollama_chat/wesleysimplicio/simplicio-27b:latest --edit-format dif
|
|
| 72 |
|
| 73 |
## Simplicio 27B Highlights
|
| 74 |
|
| 75 |
-
**Simplicio 27B** is a specialized, open-weights software engineering foundation model derived from **Qwen3.8-27B** and fine-tuned via **Unsloth (QLoRA 4-bit)** using proprietary atomic diff synthesis trajectories developed by Wesley Simplicio at **SimpleTI** ([simpleti.com.br](https://simpleti.com.br/simplicio-27b)).
|
| 76 |
|
| 77 |
- 🎯 **96.5% Surgical Code Accuracy**: #1 in high-precision atomic SEARCH/REPLACE code patch execution without whole-file hallucinations.
|
| 78 |
- ⚡ **480 Tokens/Task**: Consumes up to **-68% fewer tokens** per coding resolution compared to frontier 2026 reasoning models.
|
|
@@ -215,7 +219,7 @@ To validate real-world production performance, Simplicio 27B was benchmarked acr
|
|
| 215 |
|
| 216 |
## Output Format
|
| 217 |
|
| 218 |
-
|
| 219 |
|
| 220 |
```xml
|
| 221 |
<thought>
|
|
@@ -294,11 +298,14 @@ merged.save_pretrained('./simplicio-27b-merged')
|
|
| 294 |
"
|
| 295 |
```
|
| 296 |
|
| 297 |
-
Serve with vLLM:
|
|
|
|
| 298 |
```bash
|
| 299 |
-
|
| 300 |
```
|
| 301 |
|
|
|
|
|
|
|
| 302 |
---
|
| 303 |
|
| 304 |
## 🧠 Architectural Deep-Dive: 6 Critical Engineering Adjustments
|
|
@@ -330,6 +337,7 @@ Generating diff tags does not guarantee software engineering correctness:
|
|
| 330 |
|
| 331 |
### 5. Special Tokens Registration & Attention Dynamics
|
| 332 |
- **Dedicated Vocabulary Tokens**: Protocol tags are registered as dedicated `special_tokens` in the tokenizer rather than split into disparate BPE fragments.
|
|
|
|
| 333 |
- **Attention Salience**: Dedicated embeddings ensure that self-attention layers maintain high saliency on structural boundaries, preventing attention dispersion across long context windows.
|
| 334 |
|
| 335 |
---
|
|
@@ -387,7 +395,7 @@ If you utilize **Simplicio 27B** in your research, agentic tools, or evaluation
|
|
| 387 |
```
|
| 388 |
|
| 389 |
### 🔗 Official Repositories & Resources
|
| 390 |
-
- **Official Product Page**: [https://simpleti.com.br/simplicio-27b](https://simpleti.com.br/simplicio-27b)
|
| 391 |
- **Hugging Face Model & LoRA Weights**: [https://huggingface.co/wesleysimplicio/Simplicio-27B](https://huggingface.co/wesleysimplicio/Simplicio-27B)
|
| 392 |
- **Author**: Wesley Simplicio ([SimpleTI](https://simpleti.com.br))
|
| 393 |
- **Base Architecture**: Qwen Team ([Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B))
|
|
|
|
| 13 |
- surgical-diff
|
| 14 |
- agentic-coding
|
| 15 |
pipeline_tag: text-generation
|
| 16 |
+
pretty_name: Simplicio 27B
|
| 17 |
---
|
| 18 |
|
| 19 |
<p align="center">
|
|
|
|
| 29 |
<p align="center">
|
| 30 |
<a href="https://huggingface.co/wesleysimplicio/Simplicio-27B"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Simplicio--27B-yellow.svg" alt="Hugging Face"></a>
|
| 31 |
<a href="https://github.com/simpletibr/simplicio-27b"><img src="https://img.shields.io/badge/GitHub-Repository-blue?logo=github" alt="GitHub"></a>
|
| 32 |
+
<a href="https://simpleti.com.br/simplicio-27b/"><img src="https://img.shields.io/badge/SimpleTI-Official%20Page-0081FB" alt="SimpleTI"></a>
|
| 33 |
<a href="https://github.com/simpletibr/simplicio-27b/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-green.svg" alt="License"></a>
|
| 34 |
<a href="https://unsloth.ai"><img src="https://img.shields.io/badge/Fine--tuned%20with-Unsloth-darkgreen" alt="Unsloth"></a>
|
| 35 |
</p>
|
| 36 |
+
<p align="center">
|
| 37 |
+
<strong>Website:</strong> <a href="https://simpleti.com.br/simplicio-27b/">https://simpleti.com.br/simplicio-27b/</a>
|
| 38 |
+
</p>
|
| 39 |
|
| 40 |
---
|
| 41 |
|
|
|
|
| 44 |
> **📦 Download Direto dos Pesos (LoRA / Checkpoint)**: [🤗 Hugging Face: wesleysimplicio/Simplicio-27B](https://huggingface.co/wesleysimplicio/Simplicio-27B)
|
| 45 |
> O mesmo repositório concentra o adapter, o merge 16-bit (`model-00001-of-00018.safetensors` … `model-00018`) e o GGUF (`Qwen3.8-27B.Q4_K_M.gguf` + `Qwen3.8-27B.BF16-mmproj.gguf`).
|
| 46 |
> **🦙 Ollama Library**: [ollama.com/wesleysimplicio/simplicio-27b](https://ollama.com/wesleysimplicio/simplicio-27b)
|
| 47 |
+
> **⚡ Página Oficial & API**: [simpleti.com.br/simplicio-27b](https://simpleti.com.br/simplicio-27b/)
|
| 48 |
|
| 49 |
### 1. 🚀 Script de Instalação e Execução Automática (macOS / Linux)
|
| 50 |
Instala automaticamente dependências necessárias e inicia o modelo com 1 comando:
|
|
|
|
| 76 |
|
| 77 |
## Simplicio 27B Highlights
|
| 78 |
|
| 79 |
+
**Simplicio 27B** is a specialized, open-weights software engineering foundation model derived from **Qwen3.8-27B** and fine-tuned via **Unsloth (QLoRA 4-bit)** using proprietary atomic diff synthesis trajectories developed by Wesley Simplicio at **SimpleTI** ([simpleti.com.br](https://simpleti.com.br/simplicio-27b/)).
|
| 80 |
|
| 81 |
- 🎯 **96.5% Surgical Code Accuracy**: #1 in high-precision atomic SEARCH/REPLACE code patch execution without whole-file hallucinations.
|
| 82 |
- ⚡ **480 Tokens/Task**: Consumes up to **-68% fewer tokens** per coding resolution compared to frontier 2026 reasoning models.
|
|
|
|
| 219 |
|
| 220 |
## Output Format
|
| 221 |
|
| 222 |
+
On the OpenAI-compatible server, chain-of-thought is parsed out of `content` by `--reasoning-parser qwen3` (the generation prompt prefills `<think>`). A tool turn is a single `tool_calls` entry parsed from `<tool><name>…</name><params>…`. Code modifications use surgical diff blocks:
|
| 223 |
|
| 224 |
```xml
|
| 225 |
<thought>
|
|
|
|
| 298 |
"
|
| 299 |
```
|
| 300 |
|
| 301 |
+
Serve with vLLM (tool calling, Qwen3 reasoning split, both OpenCode model ids):
|
| 302 |
+
|
| 303 |
```bash
|
| 304 |
+
./deploy/serve_vllm.sh ./simplicio-27b-merged 8000
|
| 305 |
```
|
| 306 |
|
| 307 |
+
Context length is the single value in `deploy/context.env` (`MAX_MODEL_LEN=40960`: measured OpenCode prompt 31692 plus a 4096 output budget). The script enables `--enable-auto-tool-choice`, `--tool-call-parser simplicio`, `--reasoning-parser qwen3`, `--max-model-len 40960`, ChatML + `<think>` prefill, and serves both `simplicio-27b` and `simpleti/simplicio-27b`. Hugging Face `instruct_type` for this template is `chatml` (`deploy/hf_instruct.json`).
|
| 308 |
+
|
| 309 |
---
|
| 310 |
|
| 311 |
## 🧠 Architectural Deep-Dive: 6 Critical Engineering Adjustments
|
|
|
|
| 337 |
|
| 338 |
### 5. Special Tokens Registration & Attention Dynamics
|
| 339 |
- **Dedicated Vocabulary Tokens**: Protocol tags are registered as dedicated `special_tokens` in the tokenizer rather than split into disparate BPE fragments.
|
| 340 |
+
- **Instruct type**: `chatml`. Copy `deploy/chat_template_chatml.jinja` onto the merged checkpoint / Hugging Face card (`wesleysimplicio/Simplicio-27B`) as `chat_template`, with `instruct_type` `chatml` as in `deploy/hf_instruct.json`.
|
| 341 |
- **Attention Salience**: Dedicated embeddings ensure that self-attention layers maintain high saliency on structural boundaries, preventing attention dispersion across long context windows.
|
| 342 |
|
| 343 |
---
|
|
|
|
| 395 |
```
|
| 396 |
|
| 397 |
### 🔗 Official Repositories & Resources
|
| 398 |
+
- **Official Product Page**: [https://simpleti.com.br/simplicio-27b/](https://simpleti.com.br/simplicio-27b/)
|
| 399 |
- **Hugging Face Model & LoRA Weights**: [https://huggingface.co/wesleysimplicio/Simplicio-27B](https://huggingface.co/wesleysimplicio/Simplicio-27B)
|
| 400 |
- **Author**: Wesley Simplicio ([SimpleTI](https://simpleti.com.br))
|
| 401 |
- **Base Architecture**: Qwen Team ([Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B))
|