Instructions to use GunaKoppula/Llava-Phi2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GunaKoppula/Llava-Phi2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="GunaKoppula/Llava-Phi2")# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("GunaKoppula/Llava-Phi2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from GunaKoppula/Llava-Phi2: direct link, hf CLI and curl.
- Browser
- Download file 69 Bytes
-
https://huggingface.co/GunaKoppula/Llava-Phi2/resolve/main/generation_config.json
- Command line
-
hf download hf://GunaKoppula/Llava-Phi2/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/GunaKoppula/Llava-Phi2/resolve/main/generation_config.json
69 Bytes
| { | |
| "_from_model_config": true, | |
| "transformers_version": "4.36.2" | |
| } | |