Official codebase for MINT (Multimodal Integrated kNowledge Transfer) from the paper:
Wang, Z., Wu D., Nguyen, Q., Xu, Z., Wang, K., Multimodal Integrated Knowledge Transfer to Large Language Models through Preference Optimization with Biomedical Applications. arXiv:2505.05736
ArXiv link: https://arxiv.org/abs/2505.05736
main_scripts/ — main SFT/DPO/ORPO training and inference entry scripts.
main_scripts/README.md — script catalog and execution guidance.
utils/ — model loading utilities, seed setup, dataset helpers, and post-processing.
AutoEvaluator/ — evaluation pipeline and processors.
MINT-ckpt/ — released language-model checkpoint artifacts.
MINT-vision-ckpt/ — released vision-language checkpoint artifacts.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
If you need Hugging Face gated model access, set token via environment variable:
export HF_TOKEN=your_token_here
main_scripts/RareDxGPT_inference_vllm.py now supports public-friendly path arguments:
python main_scripts/RareDxGPT_inference_vllm.py \
--project_root /path/to/MINT-LLM \
--peft_model_id checkpoints/your_adapter_dir \
--base_model_path /path/to/base_model \
--disease bws
Notes:
--peft_model_id is resolved relative to --project_root.--hf_token can be passed explicitly, or omitted if HF_TOKEN is already set.This project is released under the license in LICENSE.
21 commits
2 commits
Python
99.5%
Official codebase for MINT (Multimodal Integrated kNowledge Transfer) from the paper:
Wang, Z., Wu D., Nguyen, Q., Xu, Z., Wang, K., Multimodal Integrated Knowledge Transfer to Large Language Models through Preference Optimization with Biomedical Applications. arXiv:2505.05736
ArXiv link: https://arxiv.org/abs/2505.05736
main_scripts/ — main SFT/DPO/ORPO training and inference entry scripts.
main_scripts/README.md — script catalog and execution guidance.
utils/ — model loading utilities, seed setup, dataset helpers, and post-processing.
AutoEvaluator/ — evaluation pipeline and processors.
MINT-ckpt/ — released language-model checkpoint artifacts.
MINT-vision-ckpt/ — released vision-language checkpoint artifacts.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
If you need Hugging Face gated model access, set token via environment variable:
export HF_TOKEN=your_token_here
main_scripts/RareDxGPT_inference_vllm.py now supports public-friendly path arguments:
python main_scripts/RareDxGPT_inference_vllm.py \
--project_root /path/to/MINT-LLM \
--peft_model_id checkpoints/your_adapter_dir \
--base_model_path /path/to/base_model \
--disease bws
Notes:
--peft_model_id is resolved relative to --project_root.--hf_token can be passed explicitly, or omitted if HF_TOKEN is already set.This project is released under the license in LICENSE.
21 commits
2 commits
Python
99.5%