Text Classification
ONNX
Safetensors
GGUF
English
text-segmentation
entity-linking
quotation-attribution
multiple-choice
question-answering
summarization
modernbert
conversational
Instructions to use freeideas/UsefulLocalModels 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 freeideas/UsefulLocalModels 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 freeideas/UsefulLocalModels:Q4_K_M # Run inference directly in the terminal: llama cli -hf freeideas/UsefulLocalModels:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf freeideas/UsefulLocalModels:Q4_K_M # Run inference directly in the terminal: llama cli -hf freeideas/UsefulLocalModels: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 freeideas/UsefulLocalModels:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf freeideas/UsefulLocalModels: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 freeideas/UsefulLocalModels:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf freeideas/UsefulLocalModels:Q4_K_M
Use Docker
docker model run hf.co/freeideas/UsefulLocalModels:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use freeideas/UsefulLocalModels with Ollama:
ollama run hf.co/freeideas/UsefulLocalModels:Q4_K_M
- Unsloth Desktop
- Pi
How to use freeideas/UsefulLocalModels with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf freeideas/UsefulLocalModels: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": "freeideas/UsefulLocalModels:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use freeideas/UsefulLocalModels with Docker Model Runner:
docker model run hf.co/freeideas/UsefulLocalModels:Q4_K_M
- Lemonade
How to use freeideas/UsefulLocalModels with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull freeideas/UsefulLocalModels:Q4_K_M
Run and chat with the model
lemonade run user.UsefulLocalModels-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use freeideas/UsefulLocalModels with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf freeideas/UsefulLocalModels: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 freeideas/UsefulLocalModels:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use freeideas/UsefulLocalModels with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf freeideas/UsefulLocalModels: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 "freeideas/UsefulLocalModels: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"
README: sumeng-summarizer-qwen3.5-4b
Browse files
README.md
CHANGED
|
@@ -19,6 +19,7 @@ Small models that run on an ordinary CPU and take frequent, repetitive work away
|
|
| 19 |
|
| 20 |
| Folder | What it does | Size |
|
| 21 |
|---|---|---|
|
|
|
|
| 22 |
| [`same-subject-r3/`](same-subject-r3/) | The same task as r2, trained on more kinds of text: textbooks, novels, chats, and pairs of summaries. Better than r2 on every kind it was tested on. For non-commercial use (see its training data). | 150M parameters |
|
| 23 |
| [`same-subject-r2/`](same-subject-r2/) | Says whether a new passage or message continues the subject of the text before it. Used to cut a long stream (a book, a chat, meeting notes) into topics for a summary tree. | 150M parameters |
|
| 24 |
| [`entity-link-r1/`](entity-link-r1/) | Says whether a name in a sentence refers to a given known entity (a person, place, thing). Used to link each mention in a stream of text to the right entity in a growing graph. | 150M parameters |
|
|
@@ -31,6 +32,35 @@ Made by **Carl Free**, an AI engineer who trains small, specialized models that
|
|
| 31 |
|
| 32 |
---
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
# same-subject-r3
|
| 35 |
|
| 36 |
The successor to `same-subject-r2` below: the same model, input, files and use, retrained on more kinds of text. It answers **is the new text about the same subject as the earlier text?** and returns a probability.
|
|
|
|
| 19 |
|
| 20 |
| Folder | What it does | Size |
|
| 21 |
|---|---|---|
|
| 22 |
+
| [`sumeng-summarizer-qwen3.5-4b/`](sumeng-summarizer-qwen3.5-4b/) | Writes SumEng's summaries of passages and messages: one plain paragraph within a length limit. Fine-tuned Qwen3.5-4B, run by llama.cpp. For non-commercial use (see its training data). | 4B parameters (2.8 GB, Q4_K_M) |
|
| 23 |
| [`same-subject-r3/`](same-subject-r3/) | The same task as r2, trained on more kinds of text: textbooks, novels, chats, and pairs of summaries. Better than r2 on every kind it was tested on. For non-commercial use (see its training data). | 150M parameters |
|
| 24 |
| [`same-subject-r2/`](same-subject-r2/) | Says whether a new passage or message continues the subject of the text before it. Used to cut a long stream (a book, a chat, meeting notes) into topics for a summary tree. | 150M parameters |
|
| 25 |
| [`entity-link-r1/`](entity-link-r1/) | Says whether a name in a sentence refers to a given known entity (a person, place, thing). Used to link each mention in a stream of text to the right entity in a growing graph. | 150M parameters |
|
|
|
|
| 32 |
|
| 33 |
---
|
| 34 |
|
| 35 |
+
# sumeng-summarizer-qwen3.5-4b
|
| 36 |
+
|
| 37 |
+
[Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B) fine-tuned to write the summaries SumEng asks for: given SumEng's prompt (a run of passages or messages, a length limit, and plain rules), one paragraph that says what the stretch is about, names the people and things, and keeps within the limit. It replaces Claude Haiku at SumEng's `basic` level; Claude stays as the fallback.
|
| 38 |
+
|
| 39 |
+
## Results
|
| 40 |
+
|
| 41 |
+
On a whole textbook it never saw (OpenStax Psychology 2e, 921 passages), it wrote all 246 passage summaries, each accepted on the first try (Claude Haiku: 53 of 299 replies too long and asked again). Searching that tree found the evidence for questions as well as searching the same tree summarized by Claude: 59% against 63% of detail questions with the tree walk alone, and 100% for both with SumEng's keyword index; 68% against 64% of the book's review questions. Judged side by side by Claude Sonnet on 30 prompts, its summaries scored 3.6 of 5 and Claude's about 4.1. About 10 seconds per summary on an M1 Pro (Metal).
|
| 42 |
+
|
| 43 |
+
## Use
|
| 44 |
+
|
| 45 |
+
```sh
|
| 46 |
+
uvx --from huggingface_hub hf download freeideas/UsefulLocalModels --include "sumeng-summarizer-qwen3.5-4b/*" --local-dir models
|
| 47 |
+
llama-server -m models/sumeng-summarizer-qwen3.5-4b/sumeng-summarizer-qwen3.5-4b.Q4_K_M.gguf --jinja --reasoning-budget 0 -c 16384
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Send SumEng's prompt as the user message, with thinking off (`chat_template_kwargs: {"enable_thinking": false}`), temperature 0.3. SumEng's `sumeng.local.LocalModel` does this.
|
| 51 |
+
|
| 52 |
+
## Training
|
| 53 |
+
|
| 54 |
+
754 summaries that Claude (Haiku for passages, Sonnet for summaries of summaries) wrote and SumEng accepted while building trees on training texts only: OpenStax Introduction to Sociology 3e and U.S. History (CC BY-NC-SA 4.0), four public-domain novels and eight Sherlock Holmes stories, and six LoCoMo chats (CC BY-NC 4.0); 83 from other books and a chat for validation. LoRA rank 32 on the language layers with Unsloth, loss on the reply only, one epoch (validation loss 0.91), merged and quantized to Q4_K_M.
|
| 55 |
+
|
| 56 |
+
**Licence:** the base model is Apache 2.0, but part of the training text is licensed for non-commercial use only, so use this model for non-commercial purposes.
|
| 57 |
+
|
| 58 |
+
## Limits
|
| 59 |
+
|
| 60 |
+
English only. Trained on SumEng's own prompt wording; other prompts may work less well. Not yet tried for summaries of summaries in a whole tree.
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
# same-subject-r3
|
| 65 |
|
| 66 |
The successor to `same-subject-r2` below: the same model, input, files and use, retrained on more kinds of text. It answers **is the new text about the same subject as the earlier text?** and returns a probability.
|