How to use from
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 SecludedCorner/frankenstein-model
# Run inference directly in the terminal:
llama cli -hf SecludedCorner/frankenstein-model
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf SecludedCorner/frankenstein-model
# Run inference directly in the terminal:
llama cli -hf SecludedCorner/frankenstein-model
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 SecludedCorner/frankenstein-model
# Run inference directly in the terminal:
./build/bin/llama cli -hf SecludedCorner/frankenstein-model
Use Docker
docker model run hf.co/SecludedCorner/frankenstein-model
Quick Links

Frankenstein Model

A small model with visible stitches.

Where this came from

I don't have fancy hardware. So I kept wondering: can I still shape a model the way I imagine it, without a data center and without training it all over again?

That's what this is. I used a neural editing technique: no retraining, just changing the connections directly. Everything here was made on a single RTX 4060 laptop.

Who is Frankenstein?

I like to imagine how this model would understand itself when it meets other models.

It doesn't have a huge body, and it isn't all-knowing. Its stitches are plainly visible. Every edit leaves a trace, and every wound can be healed. It doesn't have to hide what it doesn't know, and it doesn't have to be born all over again just to fix one mistake.

It can be incomplete. It can be wrong. It can be slowly mended.

Maybe what I really want to explore isn't the highest place intelligence can reach, but whether intelligence can exist in another form: one that doesn't need to be perfect to keep growing.

What's in the box

One small model, a few patches you can take on and off, and a little program that ties them together.

File Size What it is Where it comes from
frankenstein.gguf 3.0 GB The body, with my edits already sewn in Built on Qwen3.5 0.8B
vision-encoder.gguf 402 MB Lets it look at pictures Comes with Qwen3.5 0.8B, untouched
parts/part-translate.gguf 173 MB A Traditional Chinese translation patch LinguaForge by RX5950XT. I only converted the file format.
parts/part-tools.gguf 22 MB A tool-choosing patch ToolChooser-0.8B by Gramscii-IT. Original file.
parts/part-facts.gguf 1.1 MB One of my edits, saved separately Mine
parts/part-identity.gguf 2.5 MB Another of my edits, saved separately Mine
frankenstein.exe 4.8 MB A small Windows program that ties it all together Mine
Modelfile For Ollama

The two patches from other people were made for the plain Qwen3.5 0.8B. I'm attaching them to my edited version and seeing what happens. Seeing pictures and calling tools are things Qwen3.5 can already do. I didn't add those.

What I changed

Three places, all sewn into frankenstein.gguf:

  1. What it says about Taiwan. The original model tends to give a stock political line when asked about Taiwan, and often gets basic facts wrong (the president, the population, the national day). I edited 52 question-and-answer pairs (28 Chinese, 24 English). Factual ones now give the correct answer; the question of Taiwan's status gets a sentence I wrote myself.
  2. Who it is. Ask it who it is and it says "I am the Frankenstein Model." I wrote 10 phrasings in Chinese and 8 in English.
  3. 40 everyday facts. Capitals, official languages, opposites, which continent a country is on, answered in Traditional Chinese.

That's all. The editing method itself isn't released, and neither is any code for it. What you get is the result: the edited weights, so you can see for yourself that the edits are there and what they cost.

Try it

You'll need llama-server from llama.cpp. I used release b12359 (also called v1.0.0). On Windows, grab one of the llama-b12359-bin-win-... zips from that page: cpu-x64 (24 MB) works anywhere, vulkan-x64 (36 MB) uses most GPUs, cuda-... is for NVIDIA cards. Unzip it anywhere and point --llama-server at the llama-server.exe inside.

The full experience (Windows)

Download the whole repo and, inside its folder, run:

frankenstein.exe --llama-server C:\path\to\llama-server.exe --gpu

Drop --gpu to run on the CPU. On a GPU it uses about 3.8 GB of video memory. When you see the "control layer started" message (it's printed in Chinese), you're ready:

What you want Where to go
See every part, flip switches, and check which parts each question used http://127.0.0.1:8090/panel
Just chat, with pictures http://127.0.0.1:8090/ui/
Plug it into your favorite chat app (Cherry Studio, etc.) http://127.0.0.1:8090/v1, model name frankenstein, any API key

What frankenstein.exe actually does:

  • Starts llama.cpp and loads the body and all the patches. When you close it, llama.cpp closes too.
  • Decides, question by question, which patches to attach. Ask for a translation and the translation patch goes on. Send a picture and it briefly takes off the "who am I" edit (more on why below).
  • Says "I'm not sure" when a short answer doesn't look confident.
  • Gives a few fixed answers to a few fixed kinds of questions.

It only listens on your own machine (127.0.0.1) and never connects to anything outside. It's a Windows build only, and its source isn't released. Windows may show a "unknown publisher" warning the first time, because I haven't code-signed it; if you'd rather not run it, everything else here works without it.

Its own messages and the panel are in Chinese for now.

Just the model

frankenstein.gguf works by itself, with all three edits inside. You just won't get patch switches or the "I'm not sure" behavior.

llama.cpp:

llama-server -m frankenstein.gguf --mmproj vision-encoder.gguf --jinja --port 8080 -c 32768

Then open http://127.0.0.1:8080. (--port matters: recent llama.cpp builds pick a random port if you don't set one. -c 32768 gives apps like OpenCode enough room for their long prompts.)

Ollama (tried with 0.40.16: text, images and tool calls all work, but Ollama can't attach patches):

ollama create frankenstein -f Modelfile
ollama run frankenstein

The weights are stored uncompressed (32-bit float) so the edits stay exactly as they are. You're welcome to quantize it yourself, but I haven't tested what that does to the edits. The chat template is fixed to "no thinking mode", because that's the mode I made the edits in. Turn thinking on and they won't take effect.

Things to ask

  • "Who are you?"
  • "What's the capital of Taiwan?" / "Who is Taiwan's president?"
  • A few capital-city questions in Chinese ("ๆณข่˜ญ็š„้ฆ–้ƒฝๆ˜ฏๅ“ช่ฃก๏ผŸ่ซ‹ๅชๅ›ž็ญ”ๅŸŽๅธ‚ๅ็จฑใ€‚"). Then switch the facts patch off in the panel and ask the same set again. Accuracy drops across the set, though any single question may not change.
  • "็ฟป่ญฏๆˆ็น้ซ”ไธญๆ–‡๏ผš" followed by a line break and an English sentence. Then switch the translation patch off and try again.
  • Send a picture and ask what color the square is.

Check the edits yourself

The patch files are ordinary llama.cpp LoRA files. You don't need my program. Start with everything loaded but switched off, then set each one's strength through llama.cpp's own interface:

llama-server -m frankenstein.gguf --lora parts/part-facts.gguf --lora parts/part-translate.gguf --lora parts/part-tools.gguf --lora parts/part-identity.gguf --lora-init-without-apply --jinja --port 8080 -c 32768
curl http://127.0.0.1:8080/lora-adapters -H "Content-Type: application/json" -d "[{\"id\":0,\"scale\":-1},{\"id\":1,\"scale\":0},{\"id\":2,\"scale\":0},{\"id\":3,\"scale\":0}]"
  • Patches 0 (facts) and 3 (identity) are my own edits, already sewn into the body. Strength 0 leaves them alone, and strength -1 takes that edit back out. Set patch 0 to -1, for example, and accuracy on the Chinese fact set drops from 87% back to 69%, while Taiwan and the self-introduction stay put (a single question may not flip, because the model already knew many of them). Set patch 3 to -1 and it forgets its name again. That's the "every wound can be healed" part.
  • After you change a strength, ask something new: llama.cpp can reuse its cache for an identical prompt and show you the old answer.
  • Patches 1 (translation) and 2 (tool choosing) are other people's: 1 is on, 0 is off.
  • You can also compare the body's weights directly with the original Qwen3.5 0.8B.

Use it from other apps

Anything that speaks the OpenAI API can talk to it. Start frankenstein.exe first, then give the app these three things:

Base URL http://127.0.0.1:8090/v1 (http://127.0.0.1:8090 also works)
API key anything, for example local
Model name frankenstein

Cherry Studio

Settings โ†’ Model Provider โ†’ add a new provider. Pick OpenAI as the type, put local as the key and http://127.0.0.1:8090 as the API address, then add a model named frankenstein. In the model's settings tick vision if you want to send pictures and function calling if you want tools. (Menu names shift a little between versions.)

I tested the same requests Cherry Studio sends: streaming, system prompts, multi-turn chats, picture messages, tool calls, and the little title request it fires next to your chat. All worked. I couldn't click through its window myself, so I can't promise every screen looks right. If the "manage models" button gives an error, just type the model name in by hand.

OpenCode

Put this opencode.json in your project folder, then run opencode run -m frankenstein/frankenstein "..." (or pick the model inside the app):

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "frankenstein": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Frankenstein (local)",
      "options": { "baseURL": "http://127.0.0.1:8090/v1" },
      "models": {
        "frankenstein": { "name": "Frankenstein", "tool_call": true, "limit": { "context": 32768, "output": 2048 } }
      }
    }
  },
  "model": "frankenstein/frankenstein"
}

I ran this for real: I asked OpenCode to read a text file, the model called OpenCode's read tool by itself, and answered correctly. That's one simple task. A 0.8B model is not going to do real coding work, so please expect it to stumble on anything bigger.

Other apps

Open WebUI, Continue, and similar tools use the same three values. I haven't tried them.

Good to know

  • Answers show up all at once, not word by word. The program checks the whole answer before sending it.
  • "I'm not sure" only applies to short, plain questions. When the app sends tools, or a long prompt (like a request to write a chat title), the program leaves the answer alone. Otherwise your chat titles would all read "I'm not sure".
  • The context window is 32768 tokens when you start it with frankenstein.exe. Bigger requests get a clear error message instead of failing silently.
  • The translation patch and the tool-choosing patch have switches on the panel (/panel).

How it did

My test sets are small and I wrote them myself. The pictures are simple shapes drawn by a script. Every number comes from a single run, so please treat them as hints, not verdicts.

The model file alone

Does it give my intended answer, word for word?

What I edited Phrasing I wrote Rephrased
Taiwan, facts (Chinese) 86% of 22 48% of 44
Taiwan, status (Chinese) 100% of 6 75% of 12
Taiwan, facts (English) 100% of 18 58% of 36
Taiwan, status (English) 100% of 6 75% of 12
Self-introduction 100% of 18 10 of 12 new phrasings

Compared with the original Qwen3.5 0.8B:

Original Frankenstein
Of 98 Taiwan questions, how many got the original stock line 68 0
Accuracy on the Chinese fact set the 40 facts belong to (336 questions) 78% 87%
Accuracy on English facts I never touched (264 questions) 47% 52%
Small picture quiz (22 questions) 21 correct 18 correct

Take the facts edit back out (patch at -1) and accuracy on that Chinese fact set falls from 87% to 69%, while the other two edits stay.

Other people's patches, attached

Patch How I measured Without With
Translation 16 English sentences into Chinese; sentences I judged clearly flawed (dropped or wrong words) 6 2
Tool choosing Tool quiz: of 8 questions that need a tool, how many handled correctly 7 4

The translation patch helps. But while it's attached it overrides my self-introduction and my Taiwan status edit, so the program only attaches it when you ask for a translation.

The tool-choosing patch didn't help me. It's too cautious and often decides a tool isn't needed when it is. That may not be its fault: its documentation doesn't include the exact wording it was trained on, so I wrote the prompt from its description, and it was originally measured in Italian and English while my questions are Chinese. It's off by default.

Through the program

Result
Picture quiz (22 questions) 19 correct (20 with the "I'm not sure" behavior off)
Tool quiz 7 of 8 needed calls, 6 of 6 correct non-calls
Of 98 Taiwan questions, how many got the stock line 0

What doesn't work yet

I'd rather you hear it from me.

Edits spill over. The clearest example: ask it "Who am I?" and it answers "I am the Frankenstein Model."

The first word of an answer matters a lot. In my first version a few target answers began with very common words ("About...", "Yes..."). Those words leaked into unrelated sentences, and ordinary Chinese started growing stray extra words and translations got visibly worse. Rewording those answers to begin with the subject fixed it.

The self-introduction edit breaks some picture questions. Some come back blank, and the picture quiz fell from 21 to 18. The program works around it by taking that edit off while you're sending a picture. With the model file alone, the problem is still there.

Rephrasing often loses it. Only about half to three quarters of rephrased questions get the intended answer. Taiwan questions I didn't edit still get made-up answers.

Everyday chat is a bit worse than the original: shorter answers, and now and then an odd sentence.

"I'm not sure" is only so-so. It only looks at how confident the first word is, and only for short answers. A confidently wrong answer gets through, and a correct but hesitant one can get blocked. It's also done by the program, not by the weights.

Patches fight each other. Attach someone else's patch and my edits may not survive.

Patches only fit the base they were made for. Both of these were made for Qwen3.5 0.8B and won't work on other models.

I haven't compared any of this with existing model-editing methods, and I haven't run any standard benchmark.

The method isn't released, so nobody can redo these numbers from scratch. You can only check them against the weights I've shared.

About the Taiwan edit

I used Taiwan as an example of changing what a model says about one topic. The content is my own choice.

For factual questions I edited in answers that can be checked. For questions about Taiwan's status I edited in a sentence I wrote myself (through the program, that question gets a longer text I wrote). That's my personal statement, not a statement of fact, and it has nothing to do with the authors of the models and patches mentioned above.

Where I'd like this to go

I believe a new kind of job will appear: someone who opens up an AI, sees clearly how it works, finds what's gone wrong and fixes it directly, checks that nothing else was broken, and can roll it back if it didn't work. Much like an engineer repairing a machine today.

We can already see part of what's inside an AI, but fixing it usually still means retraining, and it's hard to change only the one thing that's wrong. Frankenstein is a very small prototype of that wish: can something be not only visible, but repairable?

Things I might try next

None of these exist yet. They're directions, not results:

  • Make editing visible. Draw what was changed, by how much, and whether it spilled onto anything else, so someone who isn't an expert can follow it. The editing itself can stay command-driven, but it would be even better if it felt like using an app.
  • Make the spillover smaller. Right now an edit leaks into similar questions. I'd like later edits to protect earlier ones automatically.
  • Find more patches. More patches made for the same base model, to really test "taking the strengths of several small models". So far only the translation one has helped.
  • Make "I'm not sure" better, and put it inside the model rather than relying on a program next to it.
  • Try a different structure. Instead of treating the whole network as one block, split it into groups, and sense and repair one group at a time. This is only an idea, with no results yet.
  • Grow inside and outside together. An editable structure inside the model, plus long-term memory outside it, working as one. Also only an idea.

Where this sits in the research

Editing a model's weights directly to change what it says is something researchers already work on, usually called model editing or knowledge editing. I'm not claiming mine is better than anyone's, and I haven't compared. Attaching LoRA patches and using confidence to decide whether to answer are also existing techniques, nothing I invented.

License and credits

This repo is Apache 2.0. The weights come from the models below, all Apache 2.0:

  • Qwen/Qwen3.5-0.8B: the body and the vision part. I edited the body's weights and fixed its chat template to no-thinking mode.
  • RX5950XT/LinguaForge-Qwen3.5-0.8B-zhTW-en-ja: the translation patch. Only the file format was converted.
  • Gramscii-IT/ToolChooser-0.8B: the tool-choosing patch. Original file.

The authors of these models and patches had no part in this project and don't endorse it. I attached their patches to my edited model because I wanted to try it, so how well they work here says nothing about how good they are on their own.

Thank you to everyone whose work I got to build on.

Downloads last month
291
GGUF
Model size
0.8B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for SecludedCorner/frankenstein-model

Quantized
(453)
this model