Instructions to use FrameNetBrasil/reinventa-vit-entity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FrameNetBrasil/reinventa-vit-entity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="FrameNetBrasil/reinventa-vit-entity-classifier") 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("FrameNetBrasil/reinventa-vit-entity-classifier") model = AutoModelForImageClassification.from_pretrained("FrameNetBrasil/reinventa-vit-entity-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature4dd5085 -
Update README.md
Verified signature60ffae8 -
Update README.md
Verified signature9a27875 -
Upload README.md with huggingface_hub
Verified signature7ba22ff -
Upload processor
Verified signatured29f6d1 -
Upload ViTForImageClassification
Verified signaturefa631c6 -
initial commit
Verified signatureeb02b13