Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -10,4 +10,20 @@ pinned: false
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
# Paragraph-to-Question Generator (Auto Q&A for HF Dataset)
|
14 |
+
|
15 |
+
This Hugging Face Space is an interactive demo that generates question and answer pairs from paragraph-based data. It uses advanced NLP models to parse text, generate questions, and lets you update a dataset hosted on Hugging Face. Each saved Q&A entry is automatically timestamped with the current month and year.
|
16 |
+
|
17 |
+
## Features
|
18 |
+
|
19 |
+
- **Extract Facts:** Automatically break down your input text (separated by paragraphs) into facts.
|
20 |
+
- **Customizable Generation:** Adjust parameters such as minimum/maximum token length, temperature, top-k, and top-p sampling to influence the question generation.
|
21 |
+
- **Editable Q&A JSON:** Review and modify the generated Q&A JSON output before submitting.
|
22 |
+
- **Dataset Update:** Save your generated Q&A entries (with additional timestamp information) to a remote dataset on the Hugging Face Hub (`University_Inquiries_AI_Chatbot/dataset.json`).
|
23 |
+
|
24 |
+
## Setup Instructions
|
25 |
+
|
26 |
+
### 1. Hugging Face Secrets
|
27 |
+
|
28 |
+
Add your Hugging Face token as a secret in your Space. In your Space settings, add a secret:
|
29 |
+
|