Image-to-Text
Transformers
Safetensors
Portuguese
vision-encoder-decoder
image-text-to-text
Eval Results (legacy)
Instructions to use laicsiifes/swin-distilbertimbau with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use laicsiifes/swin-distilbertimbau 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="laicsiifes/swin-distilbertimbau")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("laicsiifes/swin-distilbertimbau") model = AutoModelForMultimodalLM.from_pretrained("laicsiifes/swin-distilbertimbau", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update readme
Browse files
README.md
CHANGED
|
@@ -56,7 +56,9 @@ print(generated_text)
|
|
| 56 |
|
| 57 |
### Results
|
| 58 |
|
| 59 |
-
|
|
|
|
|
|
|
| 60 |
|-----|--------|----------|-------|------|-------|------|---------|
|
| 61 |
|Swin-DistilBERTimbau|Flickr30K Portuguese|Flickr30K Portuguese|66.73|24.65|39.98|44.71|72.30|
|
| 62 |
|Swin-GPT-2|Flickr30K Portuguese|Flickr30K Portuguese|64.71|23.15|39.39|44.36|71.70|
|
|
|
|
| 56 |
|
| 57 |
### Results
|
| 58 |
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
|Model|Training|Evaluation|C|B@4|RL|M|BS|
|
| 62 |
|-----|--------|----------|-------|------|-------|------|---------|
|
| 63 |
|Swin-DistilBERTimbau|Flickr30K Portuguese|Flickr30K Portuguese|66.73|24.65|39.98|44.71|72.30|
|
| 64 |
|Swin-GPT-2|Flickr30K Portuguese|Flickr30K Portuguese|64.71|23.15|39.39|44.36|71.70|
|