Visual Question Answering
Transformers
Safetensors
English
llama
text-generation
multimodal
KBVQA
VQA
Finetuning
text-generation-inference
Instructions to use m7mdal7aj/fine_tuned_llama_2_7b_chat_OKVQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use m7mdal7aj/fine_tuned_llama_2_7b_chat_OKVQA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="m7mdal7aj/fine_tuned_llama_2_7b_chat_OKVQA")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("m7mdal7aj/fine_tuned_llama_2_7b_chat_OKVQA") model = AutoModelForCausalLM.from_pretrained("m7mdal7aj/fine_tuned_llama_2_7b_chat_OKVQA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "<pad>": 32006, | |
| "[/CAP]": 32001, | |
| "[/OBJ]": 32005, | |
| "[/QES]": 32003, | |
| "[CAP]": 32000, | |
| "[OBJ]": 32004, | |
| "[QES]": 32002 | |
| } | |