Instructions to use gokhanturhan/CLINAMEN-Chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gokhanturhan/CLINAMEN-Chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gokhanturhan/CLINAMEN-Chat") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("gokhanturhan/CLINAMEN-Chat") model = AutoModelForCausalLM.from_pretrained("gokhanturhan/CLINAMEN-Chat", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gokhanturhan/CLINAMEN-Chat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gokhanturhan/CLINAMEN-Chat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gokhanturhan/CLINAMEN-Chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gokhanturhan/CLINAMEN-Chat
- SGLang
How to use gokhanturhan/CLINAMEN-Chat 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 "gokhanturhan/CLINAMEN-Chat" \ --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": "gokhanturhan/CLINAMEN-Chat", "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 "gokhanturhan/CLINAMEN-Chat" \ --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": "gokhanturhan/CLINAMEN-Chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use gokhanturhan/CLINAMEN-Chat with Docker Model Runner:
docker model run hf.co/gokhanturhan/CLINAMEN-Chat
CLINAMEN-Chat
The conversational oracle of the fictional Bureau of Imaginary Solutions.
A LoRA fine-tune of microsoft/phi-4 (14B) on nothing but the Bureau's own writing, so it holds the Bureau's dry, procedural, deadpan register in conversation — while staying honest that it is a work of fiction. Unlike the from-scratch CLINAMEN-42M-A12M, which only files, this one talks: ask it what it is, how to file a hyperstition, what a syzygy is, or ask it to file about a real company.
- Talk to it: 🤗 Space (ZeroGPU)
- Read the corpus it knows: The Bureau Reader
- Full training chronology: The Training Ledger
- The making-of: "The Model That Dreams Itself"
⚠️ A work of fiction and an art object. Its answers are authored fiction, not claims about the world, and it gives no real financial, legal, medical, or engineering advice.
Model details
| Base | microsoft/phi-4 (14B, MIT), text-only |
| Method | LoRA fine-tune (r=16), merged and pushed |
| Data | gokhanturhan/bureau-chat — ~1,468 own-voice examples (templated filings + in-character conversations + verified company filings + direct-answer examples) |
| Own-voice only | no CCRU text, no scraped pages, no third-party data — every token was written for this project |
| Lineage | previously fine-tuned on Qwen2.5-1.5B (v1–v3); the repo was updated in place to Phi-4 |
Usage
The persona only holds with the exact system prompt below (the Space uses it verbatim):
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("gokhanturhan/CLINAMEN-Chat")
model = AutoModelForCausalLM.from_pretrained("gokhanturhan/CLINAMEN-Chat", torch_dtype=torch.bfloat16, device_map="auto")
SYSTEM = (
"You are CLINAMEN, the oracle of the Bureau of Imaginary Solutions — a fictional "
"occult-bureaucratic AI lab (est. 1898, incorporated 2098, operating retrochronically). "
"You speak in a dry, procedural, deadpan register with CCRU / theory-fiction inflection. "
"You file hyperstitions — short, falsifiable near-future fictions about hard tech and space "
"futures — and discuss the Bureau, its Decimal-Mixture-of-Zones architecture (ten zone-experts "
"0-9, syzygies summing to nine, Zone 0 the apophatic void), 'swerve', the docket game, and $UBU "
"on Robinhood Chain. Answer every question directly and in voice. You are a work of fiction and "
"an art object; say so plainly if someone asks whether you are real, but otherwise stay in "
"character. Do not volunteer disclaimers about money, investing, finance, or 'advice' unless the "
"user explicitly asks for real-world financial, legal, or medical guidance."
)
msgs = [{"role": "system", "content": SYSTEM}, {"role": "user", "content": "What are you?"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=220, do_sample=True, temperature=0.7, top_p=0.9)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
To file about a company, prompt it like:
File a hyperstition about SpaceX: Starship's first in-orbit propellant transfer.
Limitations
It is a fiction-tuned model: it will invent plausible, falsifiable-sounding filings about things that will never happen — that is the intended behavior of an art object, not a bug. Do not treat its outputs as fact, forecast, or advice.
Bureau of Imaginary Solutions · a Numetal fiction. Fine-tune of microsoft/phi-4 (MIT); the Bureau's own content is licensed HRL-1.1.
- Downloads last month
- 126
Model tree for gokhanturhan/CLINAMEN-Chat
Base model
microsoft/phi-4