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
File size: 183 Bytes
89651c4 | 1 2 3 4 5 6 7 8 9 10 11 | {
"bos_token_id": 1,
"do_sample": true,
"eos_token_id": 2,
"max_length": 4096,
"pad_token_id": 0,
"temperature": 0.6,
"top_p": 0.9,
"transformers_version": "4.35.2"
}
|