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
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: pt
|
| 3 |
+
tags:
|
| 4 |
+
- vision-transformer
|
| 5 |
+
- framenet
|
| 6 |
+
- reinventa
|
| 7 |
+
---
|
| 8 |
+
# ReINVenTA: ViT Entity Classifier
|
| 9 |
+
Este é o Estágio 2 do pipeline ReINVenTA. Um ViT-Base treinado para classificar recortes (crops) de imagens em categorias da FrameNet Brasil.
|
| 10 |
+
**Performance:** 47.5% Accuracy / 55.9% Top-20 Accuracy.
|