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 ln_open_images.json to ln_open_images_index_captions.json
Browse files
.gitattributes
CHANGED
|
@@ -51,3 +51,4 @@ ln_ade20k_index filter=lfs diff=lfs merge=lfs -text
|
|
| 51 |
ln_coco_index filter=lfs diff=lfs merge=lfs -text
|
| 52 |
ln_flickr30k_index filter=lfs diff=lfs merge=lfs -text
|
| 53 |
ln_open_images_index filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 51 |
ln_coco_index filter=lfs diff=lfs merge=lfs -text
|
| 52 |
ln_flickr30k_index filter=lfs diff=lfs merge=lfs -text
|
| 53 |
ln_open_images_index filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
ln_open_images_index_captions.json filter=lfs diff=lfs merge=lfs -text
|
ln_open_images.json → ln_open_images_index_captions.json
RENAMED
|
File without changes
|