stefanbschneider commited on
Commit
0779fc8
·
verified ·
1 Parent(s): 475c4f1

add readme

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md CHANGED
@@ -23,4 +23,86 @@ configs:
23
  path: data/train-*
24
  - split: validation
25
  path: data/validation-*
 
 
 
 
 
 
 
 
26
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  path: data/train-*
24
  - split: validation
25
  path: data/validation-*
26
+ license: mit
27
+ task_categories:
28
+ - question-answering
29
+ - text2text-generation
30
+ language:
31
+ - en
32
+ size_categories:
33
+ - 100K<n<1M
34
  ---
35
+
36
+
37
+
38
+ # Dataset Card
39
+
40
+ ## Table of Contents
41
+ - [Table of Contents](#table-of-contents)
42
+ - [Dataset Description](#dataset-description)
43
+ - [Dataset Summary](#dataset-summary)
44
+ - [Dataset Structure](#dataset-structure)
45
+ - [Data Instances](#data-instances)
46
+ - [Data Fields](#data-fields)
47
+ - [Data Splits](#data-splits)
48
+ - [Additional Information](#additional-information)
49
+ - [Licensing Information](#licensing-information)
50
+
51
+ ## Dataset Description
52
+
53
+ The dataset contains simple, long-form answers to questions and corresponding contexts.
54
+ Similar to ELI5 but with context.
55
+
56
+ This dataset is a filtered version of [LLukas22/lfqa_preprocessed](https://huggingface.co/datasets/LLukas22/lfqa_preprocessed),
57
+ which in turn is a processed and simplified version of of [vblagoje's](https://huggingface.co/vblagoje) *[lfqa_support_docs](https://huggingface.co/datasets/vblagoje/lfqa_support_docs)* and *[lfqa](https://huggingface.co/datasets/vblagoje/lfqa)* datasets.
58
+
59
+ This dataset (stefanbschneider/lfqa_preprocessed) has filtered out overly long answers, based on the number of tokens in the answer using the LED tokenizer.
60
+ It can be reproduced with the notebook `process-lfqa-dataset.ipynb`.
61
+
62
+ LLukas22/lfqa_preprocessed | stefanbschneider/lfqa-max-answer-length-512
63
+ :-------------------------:|:-------------------------:
64
+ ![](plots/answer-lengths-tokens-original.png) | ![](plots/answer-lengths-tokens-filtered.png)
65
+ Max answer length: 5964 tokens | Max answer length: 512 tokens (~12x shorter)
66
+ Num answers (train): 226147 | Num answers (train): 202767 (~10% less)
67
+
68
+
69
+ Details of the original LFQA dataset: [https://towardsdatascience.com/long-form-qa-beyond-eli5-an-updated-dataset-and-approach-319cb841aabb](https://towardsdatascience.com/long-form-qa-beyond-eli5-an-updated-dataset-and-approach-319cb841aabb)
70
+
71
+
72
+ ## Dataset Structure
73
+
74
+ ### Data Instances
75
+
76
+ An example of 'train' looks as follows.
77
+
78
+ ```json
79
+ {
80
+ "question": "what's the difference between a forest and a wood?",
81
+ "answer": "They're used interchangeably a lot. You'll get different answers from different resources, but the ...",
82
+ "context": [
83
+ "Wood is divided, according to its botanical origin, into two kinds: softwoods, ...",
84
+ "Processing and products differs especially with regard to the distinction between softwood and hardwood ..."
85
+ ]
86
+ }
87
+ ```
88
+
89
+ ### Data Fields
90
+
91
+ The data fields are the same among all splits.
92
+
93
+ - `question`: a `string` feature.
94
+ - `answer`: a `string` feature.
95
+ - `context`: a list feature containing `string` features.
96
+
97
+ ### Data Splits
98
+
99
+ | name |train|validation|
100
+ |----------|----:|---------:|
101
+ | |218894| 2904|
102
+
103
+
104
+ ## Additional Information
105
+
106
+ ### Licensing Information
107
+
108
+ This dataset is distributed under the MIT licence.