Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
benjamsz commited on
Commit
592509a
·
verified ·
1 Parent(s): 173e714

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +130 -54
README.md CHANGED
@@ -1,54 +1,130 @@
1
- ---
2
- license: apache-2.0
3
- configs:
4
- - config_name: corpus
5
- data_files:
6
- - split: train
7
- path: corpus/train-*
8
- - config_name: question_answers
9
- data_files:
10
- - split: train
11
- path: question_answers/train-*
12
- - split: test
13
- path: question_answers/test-*
14
- dataset_info:
15
- - config_name: corpus
16
- features:
17
- - name: doc_id
18
- dtype: string
19
- - name: url
20
- dtype: string
21
- - name: title
22
- dtype: string
23
- - name: document
24
- dtype: string
25
- - name: md_document
26
- dtype: string
27
- splits:
28
- - name: train
29
- num_bytes: 10625185
30
- num_examples: 1144
31
- download_size: 3327056
32
- dataset_size: 10625185
33
- - config_name: question_answers
34
- features:
35
- - name: question_id
36
- dtype: string
37
- - name: question
38
- dtype: string
39
- - name: correct_answer
40
- dtype: string
41
- - name: correct_answer_document_ids
42
- dtype: string
43
- - name: ground_truths_contexts
44
- dtype: string
45
- splits:
46
- - name: train
47
- num_bytes: 60224
48
- num_examples: 45
49
- - name: test
50
- num_bytes: 33370
51
- num_examples: 30
52
- download_size: 58177
53
- dataset_size: 93594
54
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ configs:
4
+ - config_name: corpus
5
+ data_files:
6
+ - split: train
7
+ path: corpus/train-*
8
+ - config_name: question_answers
9
+ data_files:
10
+ - split: train
11
+ path: question_answers/train-*
12
+ - split: test
13
+ path: question_answers/test-*
14
+ dataset_info:
15
+ - config_name: corpus
16
+ features:
17
+ - name: doc_id
18
+ dtype: string
19
+ - name: url
20
+ dtype: string
21
+ - name: title
22
+ dtype: string
23
+ - name: document
24
+ dtype: string
25
+ - name: md_document
26
+ dtype: string
27
+ splits:
28
+ - name: train
29
+ num_bytes: 10625185
30
+ num_examples: 1144
31
+ download_size: 3327056
32
+ dataset_size: 10625185
33
+ - config_name: question_answers
34
+ features:
35
+ - name: question_id
36
+ dtype: string
37
+ - name: question
38
+ dtype: string
39
+ - name: correct_answer
40
+ dtype: string
41
+ - name: correct_answer_document_ids
42
+ dtype: string
43
+ - name: ground_truths_contexts
44
+ dtype: string
45
+ splits:
46
+ - name: train
47
+ num_bytes: 60224
48
+ num_examples: 45
49
+ - name: test
50
+ num_bytes: 33370
51
+ num_examples: 30
52
+ download_size: 58177
53
+ dataset_size: 93594
54
+ ---
55
+ ---
56
+
57
+ # watsonxDocsQA Dataset
58
+
59
+ ## Overview
60
+
61
+ **watsonxDocsQA** is a new open-source dataset and benchmark derived from enterprise product documentation. Designed specifically for end-to-end Retrieval-Augmented Generation (RAG) evaluation, it consists of two key components:
62
+
63
+ - **Documents**: A corpus of 1,144 text and markdown files generated by crawling enterprise documentation (link to the documentation source : [https://dataplatform.cloud.ibm.com/docs/content/wsj/getting-started/welcome-main.html](#)).
64
+ - **Benchmark**: A set of 75 question-answer (QA) pairs with gold document labels and answers.
65
+
66
+ The QA pairs are crafted as follows:
67
+ - **25 questions**: Human-generated by two subject matter experts.
68
+ - **50 questions**: Synthetically generated using the `tiiuae/falcon-180b` model, then manually filtered and reviewed for quality. The methodology is detailed in [this paper](https://arxiv.org/pdf/2401.14367).
69
+
70
+ ### Key Details
71
+ - **Number of Samples**:
72
+ - Corpus: 1,144 documents
73
+ - QA Set: 75 questions
74
+ - **Format**: CSV
75
+ - **License**: [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0)
76
+
77
+ ---
78
+
79
+ ## Data Description
80
+
81
+ ### Corpus Dataset
82
+ The corpus dataset contains the following fields:
83
+
84
+ | Field | Description |
85
+ |------------------|------------------------------------------|
86
+ | `doc_id` | Unique identifier for the document |
87
+ | `title` | Document title as it appears on the HTML page |
88
+ | `document` | Textual representation of the content |
89
+ | `md_document` | Markdown representation of the content |
90
+ | `url` | Origin URL of the document |
91
+
92
+ ### Question-Answers Dataset
93
+ The QA dataset includes these fields:
94
+
95
+ | Field | Description |
96
+ |------------------------------|-------------------------------------------------|
97
+ | `question_id` | Unique identifier for the question |
98
+ | `question` | Text of the question |
99
+ | `correct_answer` | Ground-truth answer |
100
+ | `ground_truths_contexts_ids` | List of ground-truth document IDs |
101
+ | `ground_truths_contexts` | List of ground-truth answer texts (typically extracted from the documents) |
102
+
103
+ ---
104
+
105
+ ## Samples
106
+
107
+ ---
108
+
109
+ Below is an example from the `question_answers` dataset:
110
+
111
+ - **question_id**: watsonx_q_2
112
+ - **question**: What foundation models have been built by IBM?
113
+ - **correct_answer**:
114
+ "Foundation models built by IBM include:
115
+ - granite-13b-chat-v2
116
+ - granite-13b-chat-v1
117
+ - granite-13b-instruct-v1"
118
+ - **ground_truths_contexts_ids**: B2593108FA446C4B4B0EF5ADC2CD5D9585B0B63C
119
+ - **ground_truths_contexts**: Foundation models built by IBM \n\nIn IBM watsonx.ai, ...
120
+
121
+ ---
122
+
123
+
124
+ ## Contact
125
+
126
+ For questions or feedback, please:
127
+ - Email: [[email protected]](mailto:[email protected])
128
+ - Or, open an issue in this repository.
129
+
130
+ ---