Instructions to use Ojimi/vit-anime-caption with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ojimi/vit-anime-caption with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Ojimi/vit-anime-caption") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Ojimi/vit-anime-caption") model = AutoModelForImageClassification.from_pretrained("Ojimi/vit-anime-caption", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Delete model.ckpt
Browse files- model.ckpt +0 -3
model.ckpt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f6795359637df1c13d9473b1dd19450e1827f0f67984ce1a9577f55020717b32
|
| 3 |
-
size 356137170
|
|
|
|
|
|
|
|
|
|
|
|