Image-to-Text
Transformers
TensorBoard
Safetensors
Icelandic
English
git
image-text-to-text
Generated from Trainer
Instructions to use Sigurdur/isl-img2text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sigurdur/isl-img2text 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="Sigurdur/isl-img2text")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Sigurdur/isl-img2text") model = AutoModelForMultimodalLM.from_pretrained("Sigurdur/isl-img2text") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ widget:
|
|
| 18 |
- src: examples-for-inference/a.jpg
|
| 19 |
- src: examples-for-inference/b.jpg
|
| 20 |
- src: examples-for-inference/c.jpg
|
| 21 |
-
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
@@ -38,6 +38,8 @@ It achieves the following results on the evaluation set:
|
|
| 38 |
|
| 39 |
It appears that the model heavilly overfitted to the dataset. Also, something I failed to consider was that the base model can't write any Icelandic characters and was thus not suited for this task. Future works might want to add the capability of writing Icelandic characters to the model.
|
| 40 |
|
|
|
|
|
|
|
| 41 |
## Model description
|
| 42 |
|
| 43 |
More information needed
|
|
|
|
| 18 |
- src: examples-for-inference/a.jpg
|
| 19 |
- src: examples-for-inference/b.jpg
|
| 20 |
- src: examples-for-inference/c.jpg
|
| 21 |
+
library_name: transformers
|
| 22 |
---
|
| 23 |
|
| 24 |
|
|
|
|
| 38 |
|
| 39 |
It appears that the model heavilly overfitted to the dataset. Also, something I failed to consider was that the base model can't write any Icelandic characters and was thus not suited for this task. Future works might want to add the capability of writing Icelandic characters to the model.
|
| 40 |
|
| 41 |
+
repo: [https://github.com/sigurdurhaukur/isl-img-cap](https://github.com/sigurdurhaukur/isl-img-cap)
|
| 42 |
+
|
| 43 |
## Model description
|
| 44 |
|
| 45 |
More information needed
|