Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- code
|
| 5 |
+
---
|
| 6 |
+
# StackOverflow QA Dataset for RAG
|
| 7 |
+
|
| 8 |
+
## Description
|
| 9 |
+
|
| 10 |
+
This dataset contains question–answer pairs extracted from the public StackOverflow data dump.
|
| 11 |
+
|
| 12 |
+
Each example consists of a question with its accepted answer, along with metadata such as tags, scores, and engagement statistics. The dataset is designed for retrieval-augmented generation (RAG), semantic search, and information retrieval tasks.
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
## Dataset Structure
|
| 17 |
+
|
| 18 |
+
Each row is a JSON object with the following fields:
|
| 19 |
+
|
| 20 |
+
- `question_id` — unique ID of the question
|
| 21 |
+
- `answer_id` — unique ID of the accepted answer
|
| 22 |
+
- `title` — question title
|
| 23 |
+
- `question_body` — cleaned text of the question
|
| 24 |
+
- `answer_body` — cleaned text of the accepted answer
|
| 25 |
+
- `question_text` — title + question body
|
| 26 |
+
- `combined_text` — title + question + answer (used for retrieval)
|
| 27 |
+
- `tags` — list of StackOverflow tags
|
| 28 |
+
- `question_score` — score of the question
|
| 29 |
+
- `answer_score` — score of the answer
|
| 30 |
+
- `view_count` — number of views
|
| 31 |
+
- `answer_count` — number of answers
|
| 32 |
+
- `favorite_count` — number of favorites
|
| 33 |
+
- `question_creation_date` — timestamp
|
| 34 |
+
- `answer_creation_date` — timestamp
|