Image-to-Text
Transformers
PyTorch
Japanese
instructblip
feature-extraction
vision
image-captioning
japanese-stablelm
custom_code
Instructions to use stabilityai/japanese-instructblip-alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stabilityai/japanese-instructblip-alpha with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" 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("image-to-text", model="stabilityai/japanese-instructblip-alpha", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModelForVision2Seq processor = AutoProcessor.from_pretrained("stabilityai/japanese-instructblip-alpha", trust_remote_code=True) model = AutoModelForVision2Seq.from_pretrained("stabilityai/japanese-instructblip-alpha", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#2
by SFconvertbot - opened
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0859f229fab4283ebd2bc1424d472dd239a707ef7bd456601c8a580331233884
|
| 3 |
+
size 9928236456
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1cc711cd13e2567fdcc79c8f0d5caaf3ed865771b9bc22b81d26bc7cd8e231f
|
| 3 |
+
size 9982851912
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0177a850bc6c2c16a455da2b677ac0eab07e60686d28385d123cec4d40b518d
|
| 3 |
+
size 9714416216
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84351dda1eb2abf55f5c510b459c4d9363e41f80d78b5f70492c6aa428ccc3b3
|
| 3 |
+
size 3233893456
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|