|
Download README.md from kkpatel25/BrainDiff: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/kkpatel25/BrainDiff/resolve/main/README.md
- Command line
-
hf download hf://kkpatel25/BrainDiff/README.md
-
curl -L -o README.md https://huggingface.co/kkpatel25/BrainDiff/resolve/main/README.md
1.68 kB
| license: mit | |
| tags: | |
| - medical-imaging | |
| - brain-mri | |
| - radiology-report-generation | |
| - longitudinal | |
| # BrainDiff | |
| Weights for *Longitudinal Report Generation for Multimodal Brain MRI: A Change-Focused Metric and | |
| Vision-Language System* ([arXiv:2609.00593](https://arxiv.org/abs/2609.00593)). Code: | |
| [github.com/jhuldr/BrainDiff](https://github.com/jhuldr/BrainDiff). | |
| Input a prior and current brain MRI study (T1w, T1ce, T2w, FLAIR) and the prior report, and the model produces a report describing what changed. | |
| `braindiff.pt` holds 429 tensors, 114,939,904 parameters (fp32): Encoder blocks 10-12 and final norm (Stage 1-D, epoch 5), the perceiver connector, the modality embedding and the Qwen3-14B decoder LoRA (status-first Stage 2, epoch 20). The NeuroVFM backbone and the Qwen3-14B base are not included. They come from NeuroVFM's gated repositories. You must accept their terms first. | |
| ```bash | |
| pip install -e braindiff # from the GitHub repository | |
| huggingface-cli login | |
| python braindiff/scripts/fetch_weights.py | |
| torchrun --standalone --nproc_per_node=4 -m braindiff.eval.generate --ckpt <braindiff.pt> \ | |
| --split test --repetition_penalty 1.1 --out out/gen_test.jsonl | |
| ``` | |
| ## Intended use | |
| A research artifact. **Not a medical device**, not validated for clinical use, and not to be | |
| used to inform patient care. | |
| ## Citation | |
| ```bibtex | |
| @article{patel2026braindiff, | |
| title = {Longitudinal Report Generation for Multimodal Brain MRI: A Change-Focused Metric and Vision-Language System}, | |
| author = {Patel, Krish and Liu, Peirong}, | |
| journal = {arXiv preprint arXiv:2609.00593}, | |
| year = {2026}, | |
| doi = {10.48550/arXiv.2609.00593} | |
| } | |
| ``` | |