Visual Question Answering
Transformers
Safetensors
English
llama
text-generation
mol
multimodal
custom-code
text-generation-inference
Instructions to use wjdghks950/vicuna_dinov2_patch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wjdghks950/vicuna_dinov2_patch with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="wjdghks950/vicuna_dinov2_patch")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("wjdghks950/vicuna_dinov2_patch") model = AutoModelForCausalLM.from_pretrained("wjdghks950/vicuna_dinov2_patch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
8cb6b8b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
size 499723
|