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
Commit History
-
Upload model.safetensors
f9a7f43 -
Delete model.ckpt
a601b2f -
Update training_guide.md
683d25e -
Update README.md
994870c -
Update training_guide.md
d63798c -
Update README.md
d051698 -
Upload README.md
607d375 -
Delete readme.md
d6cdb78 -
add readme and training guide
f472eef
-
Upload pytorch_model.bin
9613a1a -
Delete model.safetensors
406ba71 -
Upload preprocessor_config.json
d9c381d -
Update README.md
9443098 -
add safetensors
d659bd7 -
Upload 2 files
e4344c5 -
initial commit
48215b6