
An LLM-powered assistant for Alzheimer's disease early automatic screening
To use our online GUI program, please first create a conda environment and install all necessary dependencies:
# Create and activate conda environment
conda create -y -n alzassist python==3.10.18 pip
conda activate alzassist
# Install core dependencies
pip install gradio==5.23.1 gradio_client==1.8.0 ffmpeg==1.4 ffmpeg-python==0.2.0
# Install PyTorch with CUDA support
pip install torch==2.7.1+cu128 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128
# Install additional packages
pip install 'ms-swift[all]==3.5.3' -U
pip install "soundfile" "qwen_omni_utils" -U
pip install ninja==1.11.1.4 packaging==25.0
# Install flash attention (may take some time)
MAX_JOBS=8 pip install flash-attn==2.8.0.post2 --no-build-isolation
Hardware Requirements:
- NVIDIA graphics card with VRAM > 48GB
- Support for bfloat16 precision
- CUDA 12.8 compatible drivers
modelscope download --model Qwen/Qwen2.5-Omni-7B --local_dir path/to/ckpt
CUDA_VISIBLE_DEVICES=0 python web_demo_valm.py --flash-attn2 --server-name 0.0.0.0 -c path/to/ckpt
official_dataset/ folderModify the --model parameter in dapo_launch.sh to point to your pre-trained weights:
# Edit dapo_launch.sh
--model path/to/ckpt
bash dapo_launch.sh
After training completion, fuse the LoRA checkpoint with the main weights:
swift export \
--model path/to/ckpt \
--adapters checkpoint-1800 \ # Use your final checkpoint
--merge_lora true
Specify the fused weights in the GUI backend parameters to use your trained model.
This project builds upon the excellent work from Qwen2.5-Omni. Much of the core code is derived from their implementation.
Made with ❤️ for the Alzheimer's research community
9 commits
Python
99.5%

An LLM-powered assistant for Alzheimer's disease early automatic screening
To use our online GUI program, please first create a conda environment and install all necessary dependencies:
# Create and activate conda environment
conda create -y -n alzassist python==3.10.18 pip
conda activate alzassist
# Install core dependencies
pip install gradio==5.23.1 gradio_client==1.8.0 ffmpeg==1.4 ffmpeg-python==0.2.0
# Install PyTorch with CUDA support
pip install torch==2.7.1+cu128 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128
# Install additional packages
pip install 'ms-swift[all]==3.5.3' -U
pip install "soundfile" "qwen_omni_utils" -U
pip install ninja==1.11.1.4 packaging==25.0
# Install flash attention (may take some time)
MAX_JOBS=8 pip install flash-attn==2.8.0.post2 --no-build-isolation
Hardware Requirements:
- NVIDIA graphics card with VRAM > 48GB
- Support for bfloat16 precision
- CUDA 12.8 compatible drivers
modelscope download --model Qwen/Qwen2.5-Omni-7B --local_dir path/to/ckpt
CUDA_VISIBLE_DEVICES=0 python web_demo_valm.py --flash-attn2 --server-name 0.0.0.0 -c path/to/ckpt
official_dataset/ folderModify the --model parameter in dapo_launch.sh to point to your pre-trained weights:
# Edit dapo_launch.sh
--model path/to/ckpt
bash dapo_launch.sh
After training completion, fuse the LoRA checkpoint with the main weights:
swift export \
--model path/to/ckpt \
--adapters checkpoint-1800 \ # Use your final checkpoint
--merge_lora true
Specify the fused weights in the GUI backend parameters to use your trained model.
This project builds upon the excellent work from Qwen2.5-Omni. Much of the core code is derived from their implementation.
Made with ❤️ for the Alzheimer's research community
9 commits
Python
99.5%