anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Answers questions about a picture with OFA in a Gradio page, with example pictures included and the full OFA code in the repository. For researchers and developers who want to try it or read the training code.
OFA-Visual_Question_Answering is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download OFA-Sys/OFA-vqa --repo-type space --local-dir OFA-vqa cd OFA-vqa
This Gradio app from OFA-Sys answers questions about pictures, which is what visual question answering means. The repository carries the wider OFA code too, with folders such as fairseq, models, tasks and ofa_module, plus training and evaluation scripts. It names one model, openai-community/gpt2. You use it in a browser, or you run a copy on your own computer.
It suits researchers and developers who want to ask a model about a picture, and to read or reuse the OFA code behind it.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Research | Multimodal researchers | Try a vision and language model on their own pictures | Open the Space and use an example picture |
| Education | Machine learning students | See what visual question answering looks like | Ask a question about the cat picture |
| Software | Python developers | Read how app.py and the OFA modules fit together | Download the Space and open app.py |
Skip it if you need a light install, because the repository holds 1087 files and a local copy is large.
| Use case | Who | What they get back |
|---|---|---|
| Ask about a picture | Students | An answer to a question about the image |
| Try your own images | Researchers | A quick look at how the model handles them |
| Read the OFA code | Developers | Training, evaluation and model code in one repository |
You need a few things in place first.
pip install -U huggingface_hub hf download OFA-Sys/OFA-vqa --repo-type space --local-dir OFA-vqa cd OFA-vqa pip install gradio pip install -r requirements.txt python app.py
Online, use the Gradio interface the Space page shows. On your own computer, run the main file from the project folder and open the page it serves in your browser.
python app.py
You run python app.py inside the project folder, open the page and give it a picture such as the labrador one from the repository, together with a question about it. The page returns the model's answer.
If this is new to you, start online. Go to the Space, pick an example picture and ask a short question about it before you install anything.
If you know the field, note that the repository is the OFA code base with a Gradio front end. It includes fairseq, criterions, tasks, run_scripts, train.py and evaluate.py, plus notes on checkpoints and datasets. The source gives no scores, so see its own notes for them.
The source gives no accuracy figures, so test the answers on your own pictures before you rely on them.
Answers questions about a picture with OFA in a Gradio page, with example pictures included and the full OFA code in the repository. For researchers and developers who want to try it or read the training code.
Made by OFA-Sys on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: This Gradio app from OFA-Sys answers questions about pictures, which is what visual question answering means. The repository carries the wider OFA code too, with folders such as fairseq, models, tasks and ofa_module, plus training and evaluation scripts. It names one model, openai-community/gpt2. You use it in a browser, or you run a copy on your own computer.
Who it suits: It suits researchers and developers who want to ask a model about a picture, and to read or reuse the OFA code behind it.
Industry | Who uses it | How they use it | Example
Research | Multimodal researchers | Try a vision and language model on their own pictures | Open the Space and use an example picture
Education | Machine learning students | See what visual question answering looks like | Ask a question about the cat picture
Software | Python developers | Read how app.py and the OFA modules fit together | Download the Space and open app.py
Skip it if you need a light install, because the repository holds 1087 files and a local copy is large.
Where to use it:
Use case | Who | What they get back
Ask about a picture | Students | An answer to a question about the image
Try your own images | Researchers | A quick look at how the model handles them
Read the OFA code | Developers | Training, evaluation and model code in one repository
How to set it up: You need a few things in place first.
pip install -U huggingface_hub
hf download OFA-Sys/OFA-vqa --repo-type space --local-dir OFA-vqa
cd OFA-vqa
pip install gradio
pip install -r requirements.txt
python app.py
How to use it: Online, use the Gradio interface the Space page shows. On your own computer, run the main file from the project folder and open the page it serves in your browser.
python app.py
Example: You run python app.py inside the project folder, open the page and give it a picture such as the labrador one from the repository, together with a question about it. The page returns the model's answer.
For newcomers and experts: If this is new to you, start online. Go to the Space, pick an example picture and ask a short question about it before you install anything.
If you know the field, note that the repository is the OFA code base with a Gradio front end. It includes fairseq, criterions, tasks, run_scripts, train.py and evaluate.py, plus notes on checkpoints and datasets. The source gives no scores, so see its own notes for them.
Open the Space or run app.py
The Gradio page loads
You give a picture and a question
The OFA model reads both
The answer appears on the page
Good to know: The source gives no accuracy figures, so test the answers on your own pictures before you rely on them.
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| OFA-Visual_Question_Answering This page | 40 | gradio | apache-2.0 | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…