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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Yova/SmallCap7M: direct link, hf CLI and curl.
- Browser
- Download file 50 Bytes
-
https://huggingface.co/Yova/SmallCap7M/resolve/main/README.md
- Command line
-
hf download hf://Yova/SmallCap7M/README.md
-
curl -L -o README.md https://huggingface.co/Yova/SmallCap7M/resolve/main/README.md
50 Bytes
metadata
language:
- en
pipeline_tag: image-to-text