- ask zihao to have a local server
- know how to use the toolbox
git clone [email protected]:howard881010/multimodal.git
conda env create -n your-name --file environment.yml
conda activate your-name
poetry install
## Add dependencies interactively or through poetry add
## Examples:
poetry source add --priority=explicit pytorch-gpu-src https://download.pytorch.org/whl/<cuda_version>
poetry add --source pytorch-gpu-src torch
- Get the processed data from MinIO
- Upload the dataset to your huggingface account (reference: upload_*.ipynb) and in alpaca format
- Example: climate
- Use your finetune model for inference (reference: modelchat.py for choose your finetune model, and multimodal.py for the inference part and evaluation)
python src/multimodal.py climate 1 mistral7b 1 finetune