Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

qwen3p5-0p8b-medical-mlp5

by Aditya G adityag-india/qwen3p5-0p8b-medical-mlp5

qwen3p5-0p8b-medical-mlp5 is an open-weight model for text generation from Aditya G, released under Apache License 2.0. It has 752M parameters and a 262,144-token context. At 16-bit it needs about 1.8 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

Qwen/Qwen3.5-0.8B fine-tuned directly (no LoRA/adapters) on medical reasoning data, to turn a general-purpose model into a domain-focused one.

Parameters752M
Context262,144
Weights6.7 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve qwen3p5-0p8b-medical-mlp5 (752M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 1.5 GB 1.8 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.8 GB 0.9 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.4 GB 0.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 16, 2026.

qwen3p5-0p8b-medical-mlp5 on every accelerator the SAVRN Index prices, at every precision

Model Card

By Aditya G, published under apache-2.0, revision 3749567eb6a8.

Qwen/Qwen3.5-0.8B fine-tuned directly (no LoRA/adapters) on medical reasoning data, to turn a general-purpose model into a domain-focused one. Overfitting to the training data was an accepted trade-off of this experiment; the goal was to study the training/validation loss behaviour. Loss is computed on the assistant response only (reasoning + answer); the prompt is masked. Best validation loss at epoch. See losscurve.png for train vs validation loss. - Research into domain adaptation, partial fine-tuning, and overfitting behaviour of small models. - Offline experimentation with medical-style question answering and reasoning formats. - Clinical decision support, diagnosis, treatment…

Read Aditya G's full model card

Qwen3.5-0.8B Medical (MLP-only fine-tune, experiment 1)

Medical disclaimer

This model is a research experiment. It is not a medical device and must not be used for diagnosis, treatment, triage, or any clinical decision-making.

  • Outputs may be inaccurate, incomplete, outdated, or confidently wrong, and may include fabricated reasoning, drug names, doses, or references.
  • The model has not been clinically validated, safety-tested, or reviewed by medical professionals.
  • It is not a substitute for advice from a qualified healthcare professional. If you have a medical concern or emergency, contact a licensed clinician or your local emergency services.
  • Do not enter personal health information or patient data.
  • The authors accept no liability for any use of this model or its outputs.

Model description

Qwen/Qwen3.5-0.8B fine-tuned directly (no LoRA/adapters) on medical reasoning data, to turn a general-purpose model into a domain-focused one. Overfitting to the training data was an accepted trade-off of this experiment; the goal was to study the training/validation loss behaviour.

Training details

Item Value
Base model Qwen/Qwen3.5-0.8B
Dataset FreedomIntelligence/medical-o1-reasoning-SFT (en config)
Split 80 / 10 / 10 train / validation / test (seed 42)
Trainable parameters MLP blocks (gate/up/down proj) of the first 5 layers (~55M params, 7.3%)
Frozen Attention / DeltaNet layers, embeddings, norms, output head, all other MLPs
Epochs 10
Optimizer AdamW, lr 1e-5, cosine schedule, 3% warmup
Effective batch size 16
Max sequence length 1536 tokens
Precision bf16 autocast, fp32 master weights for trained layers
Regularisation dropout 0.0, weight decay 0.0, label smoothing 0.0 (baseline run)
Checkpoint uploaded <best validation loss, epoch N>
Hardware <GPU used>

Loss is computed on the assistant response only (reasoning + answer); the prompt is masked.

Results

Loss Perplexity
Base model, test split <x.xx> <x.xx>
This model, test split <x.xx> <x.xx>

Best validation loss <x.xx> at epoch <N>. See loss_curve.png for train vs validation loss. <Describe the plateau / overfit behaviour you observed.>

Intended use

  • Research into domain adaptation, partial fine-tuning, and overfitting behaviour of small models.
  • Offline experimentation with medical-style question answering and reasoning formats.

Out-of-scope use

  • Clinical decision support, diagnosis, treatment recommendations, or patient-facing tools.
  • Any setting where an incorrect answer could cause harm.

Limitations and biases

  • Small (0.8B) model trained on a single synthetic dataset; knowledge is narrow and may be wrong.
  • Training data reasoning was generated by GPT-4o and verified automatically, not by clinicians, so it can contain errors and inherit biases.
  • English only. Deliberate overfitting means generalisation beyond the training distribution is likely weaker than the base model's.
  • The model may produce long "thinking" text before an answer, and can loop in thinking mode.

How to use

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "adityag-india/qwen3.5-0.8b-medical-mlp5"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto")

msgs = [{"role": "user", "content": "What are common causes of microcytic anemia?"}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
ids = tok(text, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**ids, max_new_tokens=512, do_sample=False)
print(tok.decode(out[0, ids["input_ids"].shape[1]:], skip_special_tokens=True))

Citation / acknowledgements

Base model: Qwen team. Dataset: FreedomIntelligence, medical-o1-reasoning-SFT.

Configuration

Architecture
Qwen3_5ForCausalLM
Context length (tokens)
262,144
Layers
24
Hidden size
1,024
Feed-forward size
3,584
Attention heads
8
Key/value heads
2
Head dimension
256
Vocabulary size
248,320
Model type
qwen3_5_text

Identity and Version

Repository
adityag-india/qwen3p5-0p8b-medical-mlp5
Publisher
Aditya G
Task
Text generation
Modality
Text
Library
transformers
Parameters
752M parameters
Languages
en
Revision
3749567eb6a8dbeeb629fb30d3ea9e4b6ee45b01
First published
2026-10-07
Last updated
2026-10-07

Files and Weights

47 files, 6.8 GB in total. The weights are 17 files totalling 6.7 GB in bin, pt, pth, safetensors.

Weights17 files · 6.7 GB
Configuration13 files · 483.6 KB
Tokenizer8 files · 80.0 MB
Documentation1 file · 4.3 KB
Other7 files · 96.1 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
checkpoints/checkpoint-7888/model.safetensorsWeights1.5 GB 69a7d87211fb
checkpoints/checkpoint-7888/optimizer.ptWeights220.2 MB 926875dcd42c
checkpoints/checkpoint-7888/rng_state.pthWeights14.6 KB 70b9dce80587
checkpoints/checkpoint-7888/scheduler.ptWeights1.5 KB 9e68820af925
checkpoints/checkpoint-7888/training_args.binWeights5.3 KB 31407cce3591
checkpoints/checkpoint-8874/model.safetensorsWeights1.5 GB ce9da9001c3a
checkpoints/checkpoint-8874/optimizer.ptWeights220.2 MB 1123efd8ada7
checkpoints/checkpoint-8874/rng_state.pthWeights14.6 KB b19a695cec35
checkpoints/checkpoint-8874/scheduler.ptWeights1.5 KB 5ad9658bc7d3
checkpoints/checkpoint-8874/training_args.binWeights5.3 KB 31407cce3591
checkpoints/checkpoint-9860/model.safetensorsWeights1.5 GB 8dd21cfe931b
checkpoints/checkpoint-9860/optimizer.ptWeights220.2 MB e9714681527f
checkpoints/checkpoint-9860/rng_state.pthWeights14.6 KB b322edcb2d98
checkpoints/checkpoint-9860/scheduler.ptWeights1.5 KB 3e53008fc212
checkpoints/checkpoint-9860/training_args.binWeights5.3 KB 31407cce3591
model.safetensorsWeights1.5 GB 8dd21cfe931b
training_args.binWeights5.3 KB 31407cce3591
checkpoints/checkpoint-7888/config.jsonConfiguration1.8 KB —
checkpoints/checkpoint-7888/generation_config.jsonConfiguration116 B —
checkpoints/checkpoint-7888/trainer_state.jsonConfiguration140.7 KB —
checkpoints/checkpoint-8874/config.jsonConfiguration1.8 KB —
checkpoints/checkpoint-8874/generation_config.jsonConfiguration116 B —
checkpoints/checkpoint-8874/trainer_state.jsonConfiguration158.3 KB —
checkpoints/checkpoint-9860/config.jsonConfiguration1.8 KB —
checkpoints/checkpoint-9860/generation_config.jsonConfiguration116 B —
checkpoints/checkpoint-9860/trainer_state.jsonConfiguration175.8 KB —
config.jsonConfiguration1.8 KB —
generation_config.jsonConfiguration116 B —
training_artifacts/run_config.jsonConfiguration1.0 KB —
training_artifacts/test_metrics.jsonConfiguration153 B —
README.mdDocumentation4.3 KB —
chat_template.jinjaOther7.8 KB —
checkpoints/checkpoint-7888/chat_template.jinjaOther7.8 KB —
checkpoints/checkpoint-8874/chat_template.jinjaOther7.8 KB —
checkpoints/checkpoint-9860/chat_template.jinjaOther7.8 KB —
training_artifacts/loss_curve.pngOther63.9 KB —
training_artifacts/loss_history.csvOther483 B —
training_artifacts/trainable_params.txtOther675 B —
.gitattributesRepository1.6 KB —
checkpoints/checkpoint-7888/tokenizer.jsonTokenizer20.0 MB 81503a504315
checkpoints/checkpoint-7888/tokenizer_config.jsonTokenizer1.5 KB —
checkpoints/checkpoint-8874/tokenizer.jsonTokenizer20.0 MB 81503a504315
checkpoints/checkpoint-8874/tokenizer_config.jsonTokenizer1.5 KB —
checkpoints/checkpoint-9860/tokenizer.jsonTokenizer20.0 MB 81503a504315
checkpoints/checkpoint-9860/tokenizer_config.jsonTokenizer1.5 KB —
tokenizer.jsonTokenizer20.0 MB 81503a504315
tokenizer_config.jsonTokenizer1.5 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
6.7 GB
Download from Aditya G

Released by Aditya G through its official repository on Hugging Face. Read the license.

Built From

  • Derived from Qwen/Qwen3.5-0.8B
  • Trained on (disclosed) FreedomIntelligence/medical-o1-reasoning-SFT

Memory Requirements

PrecisionWeights in memory
As published6.7 GB
16-bit1.5 GB
8-bit0.8 GB
4-bit0.4 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About qwen3p5-0p8b-medical-mlp5

How much GPU memory does qwen3p5-0p8b-medical-mlp5 need?

About 1.8 GB at 16-bit and 0.5 GB at 4-bit: the weights (752M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run qwen3p5-0p8b-medical-mlp5 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use qwen3p5-0p8b-medical-mlp5 commercially?

Yes. qwen3p5-0p8b-medical-mlp5 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is qwen3p5-0p8b-medical-mlp5's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

dQwen3.5-0.8B-Base

IFML

A masked diffusion language model adapted from Qwen3.5-0.8B. The backbone is hybrid: only its attention layers are made bidirectional, and the Gated DeltaNet layers stay causal. This is a base model, with no instruction tuning. Paper: dQwen3.5: Hybrid-Attention Diffusion Language Models. Code: https://github.com/AntonXue/dQwen Needs a CUDA GPU and transformers>=5.13 (tested with torch 2.7.1+cu128, flash-linear-attention 0.5.1). generate decodes the whole canvas at once, committing positions above a confidence threshold (tau=0.9); pass blocklength=32 for left-to-right block decoding, or tau=None, stepsperblock=k for a fixed budget. The 50B-token checkpoint from the paper is…

Open weights apache-2.0 752M parameters 262,144 tokens transformers

This is a separate research bf16 LoRA adapter (r=16, alpha=32) on Qwen/Qwen3.5-0.8B, trained with Unsloth on a laptop Blackwell GPU, with a derived merged artifact also present in the repository. "Placeholder" describes release status, not absence of weights. It does not overwrite ReceiptAgent v2 Sizes were read from the Hub listing; no weight file was downloaded or hashed by this pass, and the revision SHA was not captured. The Hub-hosted banner referenced by the szl-forge card (holo-banner.svg) is not on this tree, so it is not embedded here. The training receipt records 180 training rows and train loss 0.0537. Training loss is not evaluation. The receipt describes the local laptop…

Open weights apache-2.0 752M parameters 262,144 tokens peft

Model · Text generation

hydra-nano-git

Rahul kumar

A 0.75B-parameter local model that lets a coding agent hand off routine, read-only repository work. Hydra Nano is the model behind Hydra, a CLI that a frontier coding agent (Claude Code, Codex and others) calls instead of running noisy commands itself. Hydra asks the model to choose from a fixed menu of read-only probes, runs those probes in code, and returns the command's own output lines. The model never writes a shell command. One model serves all five Hydra heads: All figures are end-to-end Hydra results: the task counts as solved only when the probe plan is right and the returned evidence contains every expected fact with nothing forbidden. Errors and timeouts count as failures. Every…

Open weights apache-2.0 752M parameters 262,144 tokens transformers

Model · Text generation

petal-w1-4bit

Aayush Pokharel

petal-w1 turns raw dictation into the text you meant to type. It is the on-device cleanup model in Petal, a free macOS dictation app. It runs with MLX on Apple silicon. It is a full fine-tune of Qwen3.5-0.8B, and it does one job: - Removes fillers, stutters, false starts, and verbal tics ("you know what I mean?"). - Keeps only the final version of a self-correction ("Friday, no wait, Thursday" becomes "Thursday"), also when speech recognition mishears the correction words. - States a point once when the speaker repeats it in different words, and keeps every detail. - Condenses rambles into clear sentences, and keeps every fact, name, number, and request. - Keeps questions as questions and…

Open weights apache-2.0 752M parameters 262,144 tokens mlx

Model · Text generation

petal-w1

Aayush Pokharel

petal-w1 turns raw dictation into the text you meant to type. It is the on-device cleanup model in Petal, a free macOS dictation app. It runs with MLX on Apple silicon. It is a full fine-tune of Qwen3.5-0.8B, and it does one job: - Removes fillers, stutters, false starts, and verbal tics ("you know what I mean?"). - Keeps only the final version of a self-correction ("Friday, no wait, Thursday" becomes "Thursday"), also when speech recognition mishears the correction words. - States a point once when the speaker repeats it in different words, and keeps every detail. - Condenses rambles into clear sentences, and keeps every fact, name, number, and request. - Keeps questions as questions and…

Open weights apache-2.0 752M parameters 262,144 tokens mlx

Model · Text generation

ThinCtx-Qwen3.5-0.8B

Thinletter

ThinCtx by thinletter. ThinCtx-Qwen3.5-0.8B is the ThinCtx conversion of Qwen3.5-0.8B that keeps the GPU memory for the context small: it grows 20 to 30 times more slowly than the base model's cache (0.43 GB instead of 6.0 GB at half a million tokens). The part of the context kept on the GPU is small and grows slowly with the length of the conversation or document; the full context is kept in ordinary system memory. ThinCtx trades some speed for this (see Speed below). Chat and tool calling use the Qwen3.5 chat template. Runtime required. ThinCtx models run on the thinctx runtime (pip install thinctx, below). The runtime is what keeps the context memory small; other inference libraries do…

Open weights other 752M parameters 262,144 tokens thinctx