Instructions to use vlaaa13/blip2-chartqa-finetuned-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vlaaa13/blip2-chartqa-finetuned-v5 with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/blip2-opt-2.7b") model = PeftModel.from_pretrained(base_model, "vlaaa13/blip2-chartqa-finetuned-v5") - Transformers
How to use vlaaa13/blip2-chartqa-finetuned-v5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vlaaa13/blip2-chartqa-finetuned-v5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!