Instructions to use Yova/SmallCap7M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yova/SmallCap7M 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="Yova/SmallCap7M")# Load model directly from transformers import SmallCap model = SmallCap.from_pretrained("Yova/SmallCap7M", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Rename vatex.json to vatex_index_captions.json
Browse files- .gitattributes +1 -0
- vatex.json → vatex_index_captions.json +0 -0
.gitattributes
CHANGED
|
@@ -55,3 +55,4 @@ ln_open_images_index_captions.json filter=lfs diff=lfs merge=lfs -text
|
|
| 55 |
msr_vtt_index filter=lfs diff=lfs merge=lfs -text
|
| 56 |
tgif_index filter=lfs diff=lfs merge=lfs -text
|
| 57 |
vatex_index filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 55 |
msr_vtt_index filter=lfs diff=lfs merge=lfs -text
|
| 56 |
tgif_index filter=lfs diff=lfs merge=lfs -text
|
| 57 |
vatex_index filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
vatex_index_captions.json filter=lfs diff=lfs merge=lfs -text
|
vatex.json → vatex_index_captions.json
RENAMED
|
File without changes
|