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 eval_results.json from Kus669/ViSceT5-ViTextVQA: direct link, hf CLI and curl.
- Browser
- Download file 458 Bytes
-
https://huggingface.co/Kus669/ViSceT5-ViTextVQA/resolve/main/eval_results.json
- Command line
-
hf download hf://Kus669/ViSceT5-ViTextVQA/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/Kus669/ViSceT5-ViTextVQA/resolve/main/eval_results.json
458 Bytes
| { | |
| "epoch": 5.0, | |
| "eval_bleu1": 0.5828458106097877, | |
| "eval_bleu2": 0.5325421720289694, | |
| "eval_bleu3": 0.48517667214487703, | |
| "eval_bleu4": 0.446954513500511, | |
| "eval_cider": 3.3852314560687944, | |
| "eval_em": 0.34510184287099904, | |
| "eval_em_f1": 0.4698611489502955, | |
| "eval_f1": 0.594620455029592, | |
| "eval_loss": 2.610790729522705, | |
| "eval_runtime": 576.5227, | |
| "eval_samples_per_second": 8.942, | |
| "eval_steps_per_second": 1.119 | |
| } |