Finetune-Qwen2.5-VL
Fine-tuning Qwen2.5-VL for vision-language tasks | Optimized for Vision understanding | LoRA & PEFT support.
File Explorer
Download Latest Version (.zip)- accelerate.yaml
- vlm_config.yaml
- vlm_inference_config.yaml
- vlm_merge_adapter_config.yaml
- dataset_info.json
- evaluation.py
- __init__.cpython-310.pyc
- __init__.cpython-310.pyc
- data_utils.cpython-310.pyc
- __init__.py
- data_collactor.py
- data_utils.py
- loader.py
- parser.py
- preprocess.py
- __init__.cpython-310.pyc
- data_args.cpython-310.pyc
- __init__.py
- data_args.py
- evaluation_args.py
- finetune_args.py
- generating_args.py
- model_args.py
- parser.py
- training_args.py
- __init__.py
- attention.py
- checkpointing.py
- misc.py
- packing.py
- quantization.py
- rope.py
- unsloth.py
- visual.py
- __init__.py
- adapter.py
- loader.py
- patcher.py
- __init__.py
- metric.py
- trainer.py
- workflow.py
- callback.py
- trainer_utils.py
- tuner.py
- __init__.py
- __init__.py
- inference.py
- merge_model.py
- train.py
- version.py
- __init__.py
- test_data_handler.py
- __init__.py
- constants.py
- logger.py
- misc.py
- packages.py
- ploting.py
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- __init__.py
- Dockerfile
- LICENSE
- main.py
- README.md
- requirements.txt
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/sandy1990418/Finetune-Qwen2.5-VL
Downloads the entire project code from GitHub to your computer.
cd Finetune-Qwen2.5-VL
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build --no-cache -t vlm_finetune:latest .
Builds a runnable image based on the Dockerfile.
docker run -it --name CONATINER_NAME -v LOCAL_PATH:/VLM vlm_finetune:latest
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
