Aller au contenu
ModelPrésentéExterne
Télécharger

U2Qwen3 1.7B Instruct

μ2Qwen3-1.7B-Instruct is a multi-scale multi-modal model designed for Radiology Report Generation (RRG). It leverages the μ2Tokenizer, a differentiable intermediate layer that efficiently fuses visual features from...

TypeText modelVersionmodel

Source du modèle

Type
Text model
Taille du fichier
4,62 GB
Version
vmodel
Mis à jour
17 sept. 2026
Téléchargements
15
Tâches
Légendes
Source
Hugging Face

Extrait de la source

μ2Qwen3-1.7B-Instruct is a multi-scale multi-modal model designed for Radiology Report Generation (RRG). It leverages the μ2Tokenizer, a differentiable intermediate layer that efficiently fuses visual features from...

Sources

1 source
Hugging FacePrincipalVersion 45eeff8135e5096a94cab8005dd93e6bd4377057
huggingface.co/AlpachinoNLP/u2Qwen3-1.7B-Instruct/tree/45eeff8135e5096a94cab8005dd93e6bd4377057

Vérifié 17 sept.

Artefacts du modèle

1 artefact

model.safetensors

safetensors · 4,62 GB · SHA-256 9775695f2c76…38b8 · Hugging Face

Télécharger

Extraits de sources

2 extraits

--- license: apache-2.0 language: - en - zh tags: - medical - radiology - multimodal - image-to-text - medical-imaging pipeline_tag: image-to-text --- [![arXiv](https://img.shields.io/badge/arXiv-2507.00316-grey?labelColor=B31B1B&logo=arxiv&logoColor=white)](https://arxiv.org/abs/2507.00316) [![Website](https://img.shields.io/badge/Website-μ²Tokenizer-grey?labelColor=3776AB&logo=GoogleChrome&logoColor=white)](https://alpachino.org/proj/u2tokenizer/) [![Github](https://img.shields.io/badge/Github-μ²Tokenizer-grey?labelColor=000&logo=github)](https://github.com/Siyou-Li/u2Tokenizer) ## Model Description ![](./assets/cover.svg) ## Model Summary **μ²Qwen3-1.7B-Instruct** is a multi-scale multi-modal model designed for **Radiology Report Generation (RRG)**. It leverages the **μ²Tokenizer**, a differentiable intermediate layer that efficiently fuses visual features from 3D CT scans with textual information. The model is fine-tuned using Direct Preference Optimization (DPO) guided by the GREEN score to ensure clinical accuracy and alignment with expert standards. This model is part of the work described in the paper: [μ²Tokenizer: Differentiable Multi-Scale Multi-Modal Tokenizer for Radiology Report Generation](https://arxiv.org/abs/2507.00316). ## Model Details - **Model Architecture:** - **Image Encoder:** 3D Vision Transformer (ViT3D) initialized from M3D-CLIP. - **Tokenizer:** μ²Tokenizer (Multi-scale, Multi-modal). - **LLM Backbone:** Qwen3-1.7B-Instruct. - **Input:** 3D CT Scans (NIfTI format) and text prompts. - **Output:** Radiology reports or answers to clinical questions. - **Training Data:** Trained on large-scale CT image-report Synthetic datasets base on CT-RATE. ## How to Get Started with the Model ### Requirements ```bash pip install torch transformers monai==1.3.2 nibabel==5.3.3 ``` ### Inference Code Below is a sample code snippet to generate a report from a CT scan using this model. ```python import torch import nibabel as nib import numpy as np from transformers import AutoModelForCausalLM, AutoTokenizer from monai.transforms import ( Compose, CropForeground, ToTensor, ScaleIntensityRangePercentiles ) from monai.transforms.spatial.functional import resize import torch.nn.functional as F import types import inspect class u2Transform: def __init__(self, mode='bilinear', device="cpu"): self.adaptive_transforms = Compose([ Sca...

Source context: 15 downloads · 1 likes · Pipeline image-to-text · Repo AlpachinoNLP/u2Qwen3-1.7B-Instruct