Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,24 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
|
| 13 |
+
# PDF Question Answering with vi-gemma-2b-RAG
|
| 14 |
+
|
| 15 |
+
This Streamlit app uses the vi-gemma-2b-RAG model from Hugging Face to answer questions based on the content of uploaded PDF files.
|
| 16 |
+
|
| 17 |
+
## How to Use
|
| 18 |
+
|
| 19 |
+
1. Upload a PDF file.
|
| 20 |
+
2. Enter a question related to the content of the PDF.
|
| 21 |
+
3. Get an answer generated by the model.
|
| 22 |
+
|
| 23 |
+
## Requirements
|
| 24 |
+
|
| 25 |
+
- `transformers`
|
| 26 |
+
- `torch`
|
| 27 |
+
- `accelerate`
|
| 28 |
+
- `PyMuPDF`
|
| 29 |
+
- `streamlit`
|
| 30 |
+
|
| 31 |
+
|
| 32 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|