Run Qwen 3.8 27B Locally on Ollama to Replicate MIT's Weight-Reading Test
A practical guide to running Qwen 3.8 27B locally via Ollama, including VRAM needs, to try MIT's model weight-reading experiment yourself.

What does it mean for a model to “read” another model’s weights?
A model reading another model’s weights means feeding the raw numeric parameters of a neural network into an LLM as plain text and asking it to infer what the network does, without running any code or tools. An MIT paper on what it calls weight space programming showed a frontier model doing exactly this: staring at a wall of numbers from a small game-playing neural network and correctly naming the game it was trained on. Independent testers have since tried the same task with smaller, locally runnable models like Qwen 3.8 27B, with mixed but genuinely interesting results. This guide covers how to set that up yourself and what hardware it takes.
TL;DR
- Weight space programming is the idea, from an MIT paper, that a model can inspect another model’s raw weights as text and both interpret and edit them without traditional training.
- The original demo used a frontier-scale model to read weights from a small game-playing network and correctly identify the game, then edit a slice of weights to fix a stuck behavior.
- Developer Simon Willison replicated a version of the read-only task on a normal laptop using his
llmcommand-line tool paired with a local Qwen model, and it worked, slowly and imperfectly. - Running Qwen 3.8 27B locally through Ollama took over 26GB of VRAM in one documented test on a 48GB GPU, and each weight-reading run took between roughly 45 minutes and over an hour.
- The local model correctly named three of four games (it got Pac-Man, Pong, and Breakout but missed the more obscure Freeway), showing the capability is real but inconsistent at this scale.
- The weight-editing half of the paper is a separate and more dramatic claim than the weight-reading half, and the two shouldn’t be conflated when judging how impressive the result is.
- Nobody is replacing fine-tuning with this yet, since the same paper reports failures, like being unable to distinguish a sycophantic model from a normal one by weights alone.
What is the MIT weight space programming paper actually claiming?
The paper’s core claim is that the weights of a neural network, the long lists of numbers a model learns during training, aren’t just inert noise to another sufficiently capable model. A large model can be prompted to read those numbers directly, work out how they’re structured, and describe what the underlying network was built to do. In the paper’s headline example, a frontier model was shown the weights of a small network trained to play a physics-based game (getting a car over a ramp) and correctly diagnosed why it kept failing.
The paper goes a step further than reading. After diagnosing the problem, the model edited a small percentage of the network’s weights directly, in one shot, without any gradient descent or retraining loop. The result: the car succeeded every time afterward. In a separate test, editing a slice of a small Qwen model’s weights reportedly pushed its math accuracy from around 7.9% up to 48.1%. That’s the part of the paper generating the most excitement, because it bypasses the standard loop of collecting data, training, and evaluating that defines how models are normally improved today.
How is this different from normal fine-tuning or training?
Conventional ways of changing a model’s behavior, whether full pretraining, fine-tuning, or post-training, all work the same way at a high level: you show the model a large number of examples and nudge its weights slightly in a direction over many iterations. It’s slow, requires infrastructure, and needs curated data.
Weight space programming skips that loop entirely. Instead of gradual nudging, the method has one model read another model’s weights, identify which small subset of numbers is actually responsible for the behavior you care about, and edit just those. No training run, no dataset, no backward pass. If it generalizes, it would be a fundamentally faster and cheaper way to patch specific model behaviors, like dialing down a model’s tendency to overthink simple problems, without retraining the whole thing.
It’s worth being precise about what was demonstrated versus what’s aspirational. The paper mixes two distinct capabilities: what a model can infer from weights alone with no tools, and what it can do once it’s given code execution and other tooling to help analyze those weights. Critics, including Simon Willison, have pointed out that conflating these two makes the result look more magical than it currently is.
How do you run Qwen 3.8 27B locally on Ollama?
Replicating a simplified version of the weight-reading experiment at home involves three pieces: Ollama to serve the model locally, the Qwen 3.8 27B model itself, and a command-line tool to send prompts and capture output.
The basic workflow:
- Install Ollama on your machine (Linux, macOS, or Windows).
- Pull the Qwen 3.8 27B model through Ollama.
- Install Simon Willison’s
llmcommand-line tool, which lets you pipe prompts to a local or remote model from the terminal. - Feed the model a prompt containing the raw weight data you want it to analyze, along with a direct question, such as asking which game a given network was trained on.
- Let the model reason through the output. In testing, this took anywhere from about 45 minutes to over an hour per run on a consumer-scale setup, since the model works through the data row by row rather than returning an instant answer.
Without shadow IT.
No fine-tuning code, no training scripts, and no additional tools were needed for the read-only part of the experiment. The model was simply asked to reason over text.
What VRAM and hardware does Qwen 3.8 27B actually need?
In one documented run on Ubuntu with a 48GB GPU, Qwen 3.8 27B running through Ollama consumed over 26GB of VRAM during the weight-reading task. That puts it solidly in the territory of high-end consumer or prosumer GPUs (cards in the 24GB to 48GB range) rather than something you’d comfortably run on a typical gaming laptop GPU with 8 to 12GB of VRAM.
If you don’t have a GPU with that much memory locally, renting GPU compute by the hour is a common workaround, and it’s generally the more practical option for one-off experiments like this rather than buying hardware. Expect run times to stretch into the tens of minutes to over an hour for a single weight-reading prompt, since the model is effectively parsing a long, repetitive block of numeric text and self-correcting as it goes, which adds to generation length and latency.
Does the local version actually work as well as the frontier demo?
Not entirely, and that gap is the most useful takeaway for anyone building with this. When Simon Willison ran the same style of prompt against a locally hosted Qwen 3.8 27B model, it correctly named three of four games it was tested on (Pac-Man, Pong, and Breakout) but missed Freeway, a less common Atari title. That’s a meaningfully good result for a model running on local hardware with zero tools, but it’s also not a clean, perfect replication of the frontier-model result from the paper.
The paper itself reports failures too. The larger model used in the original demo could not reliably tell which of two models was sycophantic based on weights alone, and a separate attempt to improve a small Gemma model’s math performance through weight editing didn’t work. So even at the frontier end, this is an early-stage capability with real limits, not a dependable new category of tooling yet.
Is this worth experimenting with right now?
For builders curious about interpretability, yes, as a hands-on way to see how much structure an LLM can extract from raw numeric data without any specialized tooling. For anyone hoping to replace fine-tuning workflows with one-shot weight edits today, not yet. The underlying idea, that model weights are legible and editable text rather than opaque noise, is a genuinely new direction worth tracking. But the inconsistency (missed games, failed sycophancy detection, failed math edits on at least one model) means it’s a research direction to watch rather than a production technique to adopt.
Frequently Asked Questions
What is Qwen 3.8 27B?
Qwen 3.8 27B is a large language model in Alibaba’s Qwen model family, runnable locally through tools like Ollama. It was used in community experiments to test whether a non-frontier, locally hosted model could replicate a weight-reading task originally demonstrated with a larger proprietary model.
How much VRAM do I need to run Qwen 3.8 27B locally?

In documented testing, running Qwen 3.8 27B through Ollama for a weight-analysis task used more than 26GB of VRAM on a 48GB GPU. Plan for a high-VRAM GPU (24GB or more) rather than a standard consumer laptop GPU.
What is weight space programming?
It’s a concept from an MIT paper describing a model reading another model’s raw weights as data, inferring what the network was trained to do, and in some cases directly editing a small portion of those weights to change behavior, without conventional training or fine-tuning.
Can a local model really tell what another model was trained on just from its weights?
Sometimes. In testing, a locally run Qwen 3.8 27B model correctly identified three out of four games a small neural network had been trained to play, but missed one, showing the capability is real but not yet reliable.
Does weight editing replace fine-tuning?
No. The paper that introduced this idea also reported failures, including an inability to distinguish a sycophantic model from a normal one by weights alone and a failed attempt to improve math performance in a different small model. It’s an early research direction, not a production-ready alternative to training.




