Visual Question Answering
Transformers
PyTorch
Chinese
English
blip-2
text-generation
ziya
fengshenbang
LVLM
visual question answering
Instructions to use IDEA-CCNL/Ziya-Visual-14B-Chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IDEA-CCNL/Ziya-Visual-14B-Chat 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="IDEA-CCNL/Ziya-Visual-14B-Chat")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSeq2SeqLM processor = AutoProcessor.from_pretrained("IDEA-CCNL/Ziya-Visual-14B-Chat") model = AutoModelForSeq2SeqLM.from_pretrained("IDEA-CCNL/Ziya-Visual-14B-Chat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from IDEA-CCNL/Ziya-Visual-14B-Chat: direct link, hf CLI and curl.
- Browser
- Download file 589 kB
-
https://huggingface.co/IDEA-CCNL/Ziya-Visual-14B-Chat/resolve/main/tokenizer.model
- Command line
-
hf download hf://IDEA-CCNL/Ziya-Visual-14B-Chat/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/IDEA-CCNL/Ziya-Visual-14B-Chat/resolve/main/tokenizer.model
589 kB
- Xet hash:
- c8cb0049fc0aec9ae5a1e79b697f2de03dd7f42a03af3b7184debcf2dc5f1701
- Size of remote file:
- 589 kB
- SHA256:
- 147fa8ef9267d7760a39e07a15eeadb64ce6560a74fa92f4e69cf206307e876c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.