Instructions to use mag28/BLIPvizwiz2LoRA4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mag28/BLIPvizwiz2LoRA4 with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/blip-image-captioning-base") model = PeftModel.from_pretrained(base_model, "mag28/BLIPvizwiz2LoRA4") - Notebooks
- Google Colab
- Kaggle