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 from transformers import pipeline pipe = pipeline("visual-question-answering", model="IDEA-CCNL/Ziya-Visual-14B-Chat", device_map="auto")# 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
Adding `safetensors` variant of this model
Browse filesThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert
This new file is equivalent to `pytorch_model.bin` but safe in the sense that
no arbitrary code can be put into it.
These files also happen to load much faster than their pytorch counterpart:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb
The widgets on your model page will run using this model even if this is not merged
making sure the file actually works.
If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions
Feel free to ignore this PR.
model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b5ead5a98fc644e5b07d5debc792e6a9684d12332ee8a79db9d8907f50a8bcd
|
| 3 |
+
size 9964965456
|
model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7566d9f572566dfc673c56b914ff357e44e7f0c6a009cbbe06407bcdff805e3
|
| 3 |
+
size 9993279280
|
model-00003-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d990c0b3e6dae2b8771b4c11e3a0053f5415d348ee95015711acc9427bb0a389
|
| 3 |
+
size 8598618440
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|