Visual Question Answering
Transformers
Safetensors
Vietnamese
openvivqa
scene-text-vqa
vietnamese
ocr
t5
Instructions to use Kus669/ViSceT5-ViTextVQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kus669/ViSceT5-ViTextVQA with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" 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("visual-question-answering", model="Kus669/ViSceT5-ViTextVQA")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kus669/ViSceT5-ViTextVQA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download predictions/eval_test.json from Kus669/ViSceT5-ViTextVQA: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/Kus669/ViSceT5-ViTextVQA/resolve/main/predictions/eval_test.json
- Command line
-
hf download hf://Kus669/ViSceT5-ViTextVQA/predictions/eval_test.json
-
curl -L -o eval_test.json https://huggingface.co/Kus669/ViSceT5-ViTextVQA/resolve/main/predictions/eval_test.json
472 Bytes
| { | |
| "Exact Match (EM)": 0.36009174311926606, | |
| "F1 (Token-level)": 0.5892535980085694, | |
| "F1 (Char-level)": 0.7227439274409285, | |
| "BLEU-1": 0.5887716694056994, | |
| "BLEU-2": 0.536654812690909, | |
| "BLEU-3": 0.4892036207849549, | |
| "BLEU-4": 0.4512315010951891, | |
| "BLEU-avg": 0.5164654009941881, | |
| "CIDEr": 3.3180654915580337, | |
| "BERTScore_F1": 0.872529486391142, | |
| "BERTScore_P": 0.8735672457134006, | |
| "BERTScore_R": 0.8724928833975182, | |
| "n_evaluated": 10028, | |
| "n_gt": 10028 | |
| } |