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…
A Streamlit app for asking questions about a text file, pairing a search model with an answer model. Its name points to Harry Potter. It suits fans and developers.
Harry Potter Q A is a kit in the Developer 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 cpnepo/Harry-Potter-Q-A --repo-type space --local-dir Harry-Potter-Q-A cd Harry-Potter-Q-A
Harry Potter Q A is a Streamlit app on Hugging Face Spaces for asking questions about a text. Its name points to Harry Potter, and the repository holds a text file called book_1.txt. It names two models, deepset/roberta-base-squad2, which answers questions, and sentence-transformers/msmarco-distilbert-dot-v5, which suits searching passages.
It suits fans who want to try question answering over a book text, and developers who want a short example that pairs a search model with an answer model.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Entertainment | Fans | Ask a question about the story and read the answer | Open the Space and type a question |
| Machine learning | Students | Read app.py to see how search and answering are combined | Download the Space and open app.py |
| Education | Instructors | Show question answering over a document | Run the Space in a lesson |
Anyone who needs answers from other books or documented accuracy can skip it, since the source gives neither.
| Use case | Who | What they get back |
|---|---|---|
| Ask a question about the text | Fans | An answer taken from the passages, shown in the browser |
| Study a retrieve-and-answer demo | Learners | An app file, a text file and two named models |
Using it online needs nothing. A local copy needs these first.
pip install -U huggingface_hub hf download cpnepo/Harry-Potter-Q-A --repo-type space --local-dir Harry-Potter-Q-A cd Harry-Potter-Q-A pip install streamlit pip install -r requirements.txt streamlit run app.py
Open the Space page on Hugging Face, type a question and read the answer. For a local copy, run streamlit run app.py in the folder and open the page it starts.
You type a question about a character from the story. The app searches the text, hands the best passages to the answering model and shows the answer it finds.
If you are new, open the Space page and try one simple question about the story. The app looks through a text file for the part that answers it.
If you know the field, the setup pairs a dot-product retrieval encoder with a SQuAD 2 extractive reader. The source does not describe the chunking or ranking, so read app.py for the details.
A Streamlit app for asking questions about a text file, pairing a search model with an answer model. Its name points to Harry Potter. It suits fans and developers.
Made by cpnepo 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: Harry Potter Q A is a Streamlit app on Hugging Face Spaces for asking questions about a text. Its name points to Harry Potter, and the repository holds a text file called book_1.txt. It names two models, deepset/roberta-base-squad2, which answers questions, and sentence-transformers/msmarco-distilbert-dot-v5, which suits searching passages.
Who it suits: It suits fans who want to try question answering over a book text, and developers who want a short example that pairs a search model with an answer model.
Industry | Who uses it | How they use it | Example
Entertainment | Fans | Ask a question about the story and read the answer | Open the Space and type a question
Machine learning | Students | Read app.py to see how search and answering are combined | Download the Space and open app.py
Education | Instructors | Show question answering over a document | Run the Space in a lesson
Anyone who needs answers from other books or documented accuracy can skip it, since the source gives neither.
Where to use it:
Use case | Who | What they get back
Ask a question about the text | Fans | An answer taken from the passages, shown in the browser
Study a retrieve-and-answer demo | Learners | An app file, a text file and two named models
How to set it up: Using it online needs nothing. A local copy needs these first.
pip install -U huggingface_hub
hf download cpnepo/Harry-Potter-Q-A --repo-type space --local-dir Harry-Potter-Q-A
cd Harry-Potter-Q-A
pip install streamlit
pip install -r requirements.txt
streamlit run app.py
How to use it: Open the Space page on Hugging Face, type a question and read the answer. For a local copy, run streamlit run app.py in the folder and open the page it starts.
Example: You type a question about a character from the story. The app searches the text, hands the best passages to the answering model and shows the answer it finds.
For newcomers and experts: If you are new, open the Space page and try one simple question about the story. The app looks through a text file for the part that answers it.
If you know the field, the setup pairs a dot-product retrieval encoder with a SQuAD 2 extractive reader. The source does not describe the chunking or ranking, so read app.py for the details.
You type a question in the browser
A search model finds the matching passages
A reader model picks the answer from them
Good to know:
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 |
|---|---|---|---|---|
| Harry Potter Q A This page | 1 | streamlit | afl-3.0 | |
| TorchCAMShares streamlit | 16 | docker | apache-2.0 | |
| Anime Recommendation SystemShares streamlit | 9 | streamlit | apache-2.0 | |
| Image Text DetectionShares streamlit | 6 | streamlit | mit | |
| Spacy NerShares streamlit | 2 | streamlit | cc-by-nc-sa-4.0 | |
| NER Biomedical PHI EnsembleShares streamlit | 2 | streamlit | mit |
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…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.