Gowtham122 commited on
Commit
fcdd2ae
·
verified ·
1 Parent(s): 3c54dc9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -1
README.md CHANGED
@@ -9,4 +9,16 @@ license: mit
9
  short_description: Demo project for llm and fast api
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+