Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Fixes the repeat loops that Qwen3.5-0.8B falls into in thinking mode by editing two weight tensors directly, with no training. A small image-text model for Transformers, vLLM, llama.cpp and the browser.
Qwen3.5-0.8B Astra Weight Edit is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit
This is Qwen3.5-0.8B with two weight tensors edited directly by a language model, GPT-6 Astra, with no training. The edit targets the repeat loops the base model can fall into when it thinks before answering. The author says the idea comes from researchers at MIT CSAIL and that he only applied their released change and checked it against their checkpoint.
Developers who use the small Qwen3.5-0.8B model with thinking turned on and want to avoid endless repetition, and people curious about editing weights directly.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software development | Developers | Run a small reasoning model locally | A chat helper on a laptop |
| Web apps | Front-end developers | Run a small model in the browser | A WebGPU page using the ONNX files |
| Research | Interpretability researchers | Study weight-space editing | Comparing the edited and base models |
| Education | Learners | See how a tiny change alters behavior | Reading about the two edited layers |
If you run the model with thinking off, you can skip it, because the edit only helps with thinking on.
| Use case | Who | What they get back |
|---|---|---|
| Step-by-step reasoning | Developers | Answers without the repeat loops seen in the base model |
| Browser demos | Web developers | A small model running in WebGPU |
| Laptop chat | Individuals | A local model through llama.cpp or a desktop app |
pip install -U huggingface_hub hf download JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit
Turn thinking on with enable_thinking set to true, and use the sampling settings the card recommends. The Python example below asks a maths question and prints the answer.
from transformers import AutoModelForImageTextToText, AutoTokenizer
repo = "JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForImageTextToText.from_pretrained(repo, dtype="bfloat16", device_map="auto")
msgs = [{"role": "user", "content": "What is 17 * 23? Please reason step by step, and put your final answer within \\boxed{}."}]
inputs = tok.apply_chat_template(msgs, add_generation_prompt=True, enable_thinking=True,
return_tensors="pt", return_dict=True).to(model.device)
out = model.generate(**inputs, max_new_tokens=4096, do_sample=True, temperature=0.6, top_p=0.95, top_k=20)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))To serve it with vLLM, start the server and send chat requests with thinking enabled.
vllm serve JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit
# then send chat requests with: "chat_template_kwargs": {"enable_thinking": true}| Tool | What it does |
|---|---|
| Transformers, vLLM, SGLang | Run the bf16 safetensors files on Python and GPU servers |
| Transformers.js | Runs the ONNX files in a browser with WebGPU or in Node.js |
| llama.cpp, LM Studio, Ollama, Jan | Run the BF16 GGUF file on a laptop or Mac |
You ask the model to multiply 17 by 23 and reason step by step, with thinking on. It works through the steps and ends with a boxed answer, without looping on a repeated phrase.
If you are new to this, run the Python example, which needs only Transformers. Remember to turn thinking on, because the edit does nothing with thinking off.
The edit subtracts a loop direction from 64 output columns of the mlp.down_proj weights in layers 15 and 19, about 130 thousand weights or 0.016 percent of the model. Everything else matches the base model byte for byte. The ONNX 4-bit builds agree with bf16 on only about 69 percent of next tokens in a spot check, so treat them as lossy.
Fixes the repeat loops that Qwen3.5-0.8B falls into in thinking mode by editing two weight tensors directly, with no training. A small image-text model for Transformers, vLLM, llama.cpp and the browser.
Made by JonathanColetti on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: This is Qwen3.5-0.8B with two weight tensors edited directly by a language model, GPT-6 Astra, with no training. The edit targets the repeat loops the base model can fall into when it thinks before answering. The author says the idea comes from researchers at MIT CSAIL and that he only applied their released change and checked it against their checkpoint.
Who it suits: Developers who use the small Qwen3.5-0.8B model with thinking turned on and want to avoid endless repetition, and people curious about editing weights directly.
Industry | Who uses it | How they use it | Example
Software development | Developers | Run a small reasoning model locally | A chat helper on a laptop
Web apps | Front-end developers | Run a small model in the browser | A WebGPU page using the ONNX files
Research | Interpretability researchers | Study weight-space editing | Comparing the edited and base models
Education | Learners | See how a tiny change alters behavior | Reading about the two edited layers
If you run the model with thinking off, you can skip it, because the edit only helps with thinking on.
Where to use it:
Use case | Who | What they get back
Step-by-step reasoning | Developers | Answers without the repeat loops seen in the base model
Browser demos | Web developers | A small model running in WebGPU
Laptop chat | Individuals | A local model through llama.cpp or a desktop app
How to set it up:
pip install -U huggingface_hub
hf download JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit
How to use it: Turn thinking on with enable_thinking set to true, and use the sampling settings the card recommends. The Python example below asks a maths question and prints the answer.
from transformers import AutoModelForImageTextToText, AutoTokenizer
repo = "JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForImageTextToText.from_pretrained(repo, dtype="bfloat16", device_map="auto")
msgs = [{"role": "user", "content": "What is 17 * 23? Please reason step by step, and put your final answer within \\boxed{}."}]
inputs = tok.apply_chat_template(msgs, add_generation_prompt=True, enable_thinking=True,
return_tensors="pt", return_dict=True).to(model.device)
out = model.generate(**inputs, max_new_tokens=4096, do_sample=True, temperature=0.6, top_p=0.95, top_k=20)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
To serve it with vLLM, start the server and send chat requests with thinking enabled.
vllm serve JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit
# then send chat requests with: "chat_template_kwargs": {"enable_thinking": true}
Tool | What it does
Transformers, vLLM, SGLang | Run the bf16 safetensors files on Python and GPU servers
Transformers.js | Runs the ONNX files in a browser with WebGPU or in Node.js
llama.cpp, LM Studio, Ollama, Jan | Run the BF16 GGUF file on a laptop or Mac
Example: You ask the model to multiply 17 by 23 and reason step by step, with thinking on. It works through the steps and ends with a boxed answer, without looping on a repeated phrase.
For newcomers and experts: If you are new to this, run the Python example, which needs only Transformers. Remember to turn thinking on, because the edit does nothing with thinking off.
The edit subtracts a loop direction from 64 output columns of the mlp.down_proj weights in layers 15 and 19, about 130 thousand weights or 0.016 percent of the model. Everything else matches the base model byte for byte. The ONNX 4-bit builds agree with bf16 on only about 69 percent of next tokens in a spot check, so treat them as lossy.
Start from Qwen3.5-0.8B
Edit two weight tensors, no training
Turn thinking on in the chat template
Generate without repeat loops
Good to know:
Title: Language-model decoder size by dtype in the ONNX files, in GB
fp32: 3.0 GB
fp16: 1.5 GB
quantized int8: 0.87 GB
q4: 0.48 GB
q4f16: 0.44 GB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download JonathanColetti/Qwen3.5-0.8B-Astra-WeightEdit
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Qwen3.5-0.8B Astra Weight Edit This page | 3,029 | 27 | 873M | apache-2.0 | |
| Qwen3.8-27B Astra stop editShares weight-editing · weight-space-programming | 0 | 11 | — | apache-2.0 | |
| nomic-embed-text-v1.5Shares transformers.js · onnx · transformers | 11,809,681 | 994 | 137M | apache-2.0 | |
| SmolLM2-135M-InstructShares transformers.js · onnx · transformers | 841,106 | 474 | 135M | apache-2.0 | |
| Distil-Whisper distil-large-v3Shares transformers.js · onnx · transformers | 754,155 | 386 | 756M | mit | |
| SmolLM2-1.7B-InstructShares transformers.js · onnx · transformers | 267,519 | 772 | 1.7B | apache-2.0 |
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…