Spaces:
Paused
Paused
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,16 @@ license: mit
|
|
| 9 |
short_description: Demo project for llm and fast api
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
short_description: Demo project for llm and fast api
|
| 10 |
---
|
| 11 |
|
| 12 |
+
|
| 13 |
+
Question-Answering (QA) API with FastAPI and Hugging Face
|
| 14 |
+
This project provides a FastAPI-based REST API for performing question-answering tasks using a pre-trained Hugging Face model. The API allows users to submit a context and a question, and it returns the answer extracted from the context.
|
| 15 |
+
|
| 16 |
+
Key Features
|
| 17 |
+
Lightweight Docker Image: Models are downloaded at runtime, keeping the Docker image small and efficient. #At the mooment supports a single model due to free hardware limitations on the HF spaces
|
| 18 |
+
|
| 19 |
+
Hugging Face Integration: Uses the transformers library to load and run pre-trained QA models.
|
| 20 |
+
|
| 21 |
+
Automated Model Download: Models are automatically downloaded and cached locally if they don't already exist.
|
| 22 |
+
|
| 23 |
+
Swagger Documentation: Interactive API documentation is available at /docs.
|
| 24 |
+
|