Instructions to use adasdimchom/blip2-opt-6.7b-coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adasdimchom/blip2-opt-6.7b-coco 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="adasdimchom/blip2-opt-6.7b-coco")# Load model directly from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering processor = AutoProcessor.from_pretrained("adasdimchom/blip2-opt-6.7b-coco") model = AutoModelForVisualQuestionAnswering.from_pretrained("adasdimchom/blip2-opt-6.7b-coco") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
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:4667d4d1adb58fb7915e8e5b39788e86c7b120edacfd98fc7bd089cccf695378
|
| 3 |
+
size 9801434496
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ecfea6585d67dc28b3cbf6901425df152eee9f8dcd0192be4dcc7a63740cd24
|
| 3 |
+
size 9934743016
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:806fd6ee3d14ceb11d34c5adf83a7313143c34601889af6ad9c4ab8813aa3887
|
| 3 |
+
size 9934793088
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54e48b80b328439e0e793252e715d1a5be5323a40b9cc6dc1bdbef8dc9e92352
|
| 3 |
+
size 2166164448
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|