Instructions to use lerugray/tailor-king-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use lerugray/tailor-king-7b with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lerugray/tailor-king-7b", filename="tailor-king-7b-Q5_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use lerugray/tailor-king-7b with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf lerugray/tailor-king-7b:Q5_K_M # Run inference directly in the terminal: llama-cli -hf lerugray/tailor-king-7b:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf lerugray/tailor-king-7b:Q5_K_M # Run inference directly in the terminal: llama-cli -hf lerugray/tailor-king-7b:Q5_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 lerugray/tailor-king-7b:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf lerugray/tailor-king-7b:Q5_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 lerugray/tailor-king-7b:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf lerugray/tailor-king-7b:Q5_K_M
Use Docker
docker model run hf.co/lerugray/tailor-king-7b:Q5_K_M
- LM Studio
- Jan
- vLLM
How to use lerugray/tailor-king-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lerugray/tailor-king-7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lerugray/tailor-king-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/lerugray/tailor-king-7b:Q5_K_M
- Ollama
How to use lerugray/tailor-king-7b with Ollama:
ollama run hf.co/lerugray/tailor-king-7b:Q5_K_M
- Unsloth Studio
How to use lerugray/tailor-king-7b with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for lerugray/tailor-king-7b to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for lerugray/tailor-king-7b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lerugray/tailor-king-7b to start chatting
- Atomic Chat new
- Docker Model Runner
How to use lerugray/tailor-king-7b with Docker Model Runner:
docker model run hf.co/lerugray/tailor-king-7b:Q5_K_M
- Lemonade
How to use lerugray/tailor-king-7b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lerugray/tailor-king-7b:Q5_K_M
Run and chat with the model
lemonade run user.tailor-king-7b-Q5_K_M
List all available models
lemonade list
output = llm(
"Once upon a time,",
max_tokens=512,
echo=True
)
print(output)tailor-king: a Jan van Leiden / Münster register model
A 7B voice tune that writes in the register of the Anabaptist kingdom of Münster (1534–35): apocalyptic, theocratic, scriptural. In 1534 a Dutch journeyman tailor, Jan van Leiden, was crowned king of a city that abolished money, held all goods in common, and waited for the end of the world. This is its voice.
It is a register, not a biography or a source. Read it for the voice, not the record.
What it does
Ask it about the New Jerusalem, the holding of goods in common, the godless princes, or the present day, and it answers from the throne of the last days. It translates the modern subject into the kingdom's sixteenth-century apocalyptic frame: a bank becomes usury forbidden twice in Scripture; private wealth becomes the oppression of the poor against the witness of Acts that all who believed held everything in common.
How it was built
- Base: Qwen2.5-7B-Instruct.
- Method: completion-style causal-LM fine-tuning; the adapter merged onto the fp16 base before conversion to GGUF (Q5_K_M).
- Source: the voice it learns is mostly the kingdom's own theologian, Bernhard Rothmann, whose Restitution survives in public-domain German. The English here is our own fresh translation, so the spine is unencumbered. Roughly 1,200 completion records (authentic chunks oversampled), plus a small modern-bridge layer that lets the king-prophet's lens fall on the present. The corpus is not distributed.
- Inference: a lead-in frame elicits the first-person voice; plain chat narrates about the kingdom instead of as it. Recommended temperature ~0.65.
Intended use
Creative writing, Reformation-history pedagogy in a register, interactive fiction, voice prototyping. The output is a historical and artistic register. It is not an endorsement, a call to action, or advice.
Limitations and honest notes
- It invents. It will produce names, dates, and scripture that never existed and present them as real. Read it for the voice, not the record.
- A regurgitation audit found no long verbatim reproduction of its source texts. The model writes new prose in the register rather than reciting source passages. The training corpus text is not distributed.
- Authored theology, not one man's words. Jan van Leiden's surviving "confessions" are captor-mediated interrogation records, so the model leans on the kingdom's authored theology (chiefly Rothmann) rather than any one man's verified speech.
- Period worldview. It speaks from a sixteenth-century apocalyptic, theocratic framework, absolutism and all. That is the artifact, not a recommendation.
Run it
ollama run hf.co/lerugray/tailor-king-7b
License
CC-BY-NC-4.0. Non-commercial research, educational, and creative use. The source work
(Rothmann's Restitution) is public domain and the English translation is our own, so
the weights could ship permissively; the non-commercial clause is a deliberately
conservative choice given the synthetic modern-bridge component and the persona framing.
Attribution: Ray Weiss / The Elect. No warranty.
Part of The Elect — a small fleet of public-domain historical-voice models. https://lerugray.github.io/the-elect/
- Downloads last month
- 19
5-bit
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lerugray/tailor-king-7b", filename="tailor-king-7b-Q5_K_M.gguf", )