eusojk commited on
Commit
de61b16
1 Parent(s): faf4a2c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +195 -99
README.md CHANGED
@@ -1,151 +1,247 @@
1
  ---
2
- task_categories:
3
- - question-answering
4
  language:
5
  - en
 
 
 
 
 
 
 
 
 
 
 
 
6
  tags:
7
- - agricultural Extension
 
 
8
  - irrigation
9
- - water research
10
  pretty_name: AgXQA1.1
11
- size_categories:
12
- - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
- # Dataset Card for AgXQA1.1
16
-
17
- <!-- Provide a quick summary of the dataset. -->
18
-
19
- This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
20
-
21
- ## Dataset Details
22
-
23
- ### Dataset Description
24
-
25
- <!-- Provide a longer summary of what this dataset is. -->
26
-
27
-
28
-
29
- - **Curated by:** [More Information Needed]
30
- - **Funded by [optional]:** [More Information Needed]
31
- - **Shared by [optional]:** [More Information Needed]
32
- - **Language(s) (NLP):** [More Information Needed]
33
- - **License:** [More Information Needed]
34
-
35
- ### Dataset Sources [optional]
36
-
37
- <!-- Provide the basic links for the dataset. -->
38
-
39
- - **Repository:** [More Information Needed]
40
- - **Paper [optional]:** [More Information Needed]
41
- - **Demo [optional]:** [More Information Needed]
42
-
43
- ## Uses
44
-
45
- <!-- Address questions around how the dataset is intended to be used. -->
46
-
47
- ### Direct Use
48
-
49
- <!-- This section describes suitable use cases for the dataset. -->
50
-
51
- [More Information Needed]
52
-
53
- ### Out-of-Scope Use
54
-
55
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
56
-
57
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
58
 
59
  ## Dataset Structure
60
 
61
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
62
-
63
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  ## Dataset Creation
66
 
67
  ### Curation Rationale
68
 
69
- <!-- Motivation for the creation of this dataset. -->
 
70
 
71
- [More Information Needed]
72
-
73
- ### Source Data
74
 
75
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
 
 
 
 
 
 
 
 
76
 
77
- #### Data Collection and Processing
78
 
79
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
80
 
81
- [More Information Needed]
82
 
83
- #### Who are the source data producers?
84
 
85
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
86
 
87
- [More Information Needed]
88
 
89
- ### Annotations [optional]
 
90
 
91
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
92
 
93
  #### Annotation process
94
 
95
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
96
-
97
- [More Information Needed]
98
-
99
- #### Who are the annotators?
100
-
101
- <!-- This section describes the people or systems who created the annotations. -->
102
 
103
- [More Information Needed]
104
 
105
- #### Personal and Sensitive Information
 
 
 
 
 
 
 
 
106
 
107
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
108
 
109
- [More Information Needed]
110
-
111
- ## Bias, Risks, and Limitations
112
-
113
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
114
-
115
- [More Information Needed]
116
 
117
- ### Recommendations
118
 
119
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
120
 
121
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
 
122
 
123
- ## Citation [optional]
124
 
125
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
126
 
127
- **BibTeX:**
128
 
129
- [More Information Needed]
130
 
131
- **APA:**
 
132
 
133
- [More Information Needed]
134
 
135
- ## Glossary [optional]
136
 
137
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
138
 
139
- [More Information Needed]
140
 
141
- ## More Information [optional]
142
 
143
- [More Information Needed]
144
 
145
- ## Dataset Card Authors [optional]
146
 
147
- [More Information Needed]
148
 
149
- ## Dataset Card Contact
150
 
151
  [More Information Needed]
 
1
  ---
 
 
2
  language:
3
  - en
4
+ license: mit
5
+ multilinguality:
6
+ - monolingual
7
+ task_categories:
8
+ - question-answering
9
+ task_ids:
10
+ - closed-domain-qa
11
+ - extractive-qa
12
+ size_categories:
13
+ - 1K<n<10K
14
+ source_datasets:
15
+ - original
16
  tags:
17
+ - agriculture
18
+ - Extension
19
+ - agriculture Extension
20
  - irrigation
 
21
  pretty_name: AgXQA1.1
22
+ dataset_info:
23
+ config_name: agxqa_v1
24
+ features:
25
+ - name: id
26
+ dtype: string
27
+ - name: category
28
+ dtype: string
29
+ - name: context
30
+ dtype: string
31
+ - name: question
32
+ dtype: string
33
+ - name: answers
34
+ sequence:
35
+ - name: text
36
+ dtype: string
37
+ - name: answer_start
38
+ dtype: int32
39
+ - name: references
40
+ dtype: string
41
+ splits:
42
+ - name: train
43
+ num_examples: 1503
44
+ - name: validation
45
+ num_examples: 353
46
+ - name: test
47
+ num_examples: 330
48
+ configs:
49
+ - config_name: agxqa_v1
50
+ default: true
51
+ data_files:
52
+ - split: train
53
+ path: agxqa-train-2024-06-11.jsonl
54
+ - split: validation
55
+ path: agxqa-validation-2024-06-11.jsonl
56
+ - split: test
57
+ path: agxqa-test-2024-06-11.jsonl
58
  ---
59
 
60
+ # DISCLAIMER: DUE TO AN ONGOING PUBLICATION REVIEW FOR ITS ASSOCIATED JOURNAL PAPER, THIS REPO IS CURRENTLY EMPTY. THE REST OF THE DATA WILL BE UPLOADED UPON THE PAPER ACCEPTANCE.
61
+
62
+ # Dataset Card for AgXQA 1.1
63
+
64
+ ## Table of Contents
65
+ - [Dataset Card for "agxqa_v1"](#dataset-card-for-agxqa_v1)
66
+ - [Table of Contents](#table-of-contents)
67
+ - [Dataset Description](#dataset-description)
68
+ - [Dataset Summary](#dataset-summary)
69
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
70
+ - [Languages](#languages)
71
+ - [Dataset Structure](#dataset-structure)
72
+ - [Data Instances](#data-instances)
73
+ - [agxqa_v1](#agxqa_v1)
74
+ - [Data Fields](#data-fields)
75
+ - [agxqa_v1](#agxqa_v1-1)
76
+ - [Data Splits](#data-splits)
77
+ - [Dataset Creation](#dataset-creation)
78
+ - [Curation Rationale](#curation-rationale)
79
+ - [Source Data](#source-data)
80
+ - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
81
+ - [Who are the source language producers?](#who-are-the-source-language-producers)
82
+ - [Annotations](#annotations)
83
+ - [Annotation process](#annotation-process)
84
+ - [Who are the annotators?](#who-are-the-annotators)
85
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
86
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
87
+ - [Social Impact of Dataset](#social-impact-of-dataset)
88
+ - [Discussion of Biases](#discussion-of-biases)
89
+ - [Other Known Limitations](#other-known-limitations)
90
+ - [Additional Information](#additional-information)
91
+ - [Licensing Information](#licensing-information)
92
+ - [Citation Information](#citation-information)
93
+ - [Contributions](#contributions)
94
+
95
+ ## Dataset Description
96
+
97
+ - **Homepage:** https://huggingface.co/datasets/msu-ceco/agxqa_v1
98
+ - **Paper:** [TO-DO]()
99
+ - **Point of Contact:** Dr. A.Pouyan Nejadhashemi (pouyan@msu.edu)
100
+
101
+ ### Dataset Summary
102
+
103
+ The Agricultural eXtension Question Answering Dataset (AgXQA 1.1) is a small-scale, SQuAD-like QA dataset targeting the Agriculture Extension domain.
104
+ Version 1.1 currently contains 2.1K+ questions related to irrigation topics across the US. The crops of interest are mainly soybean and corn.
105
+
106
+ ### Supported Tasks and Leaderboards
107
+
108
+ Question Answering.
109
+
110
+ ### Languages
111
+
112
+ English (`en`).
113
 
114
  ## Dataset Structure
115
 
116
+ ### Data Instances
117
+
118
+ #### agxqa_v1
119
+
120
+ An example from the 'test' split looks as follows.
121
+ ```
122
+ Please note that the "context" of this example was too long and was cropped:
123
+
124
+ {
125
+ "answers": {
126
+ "answer_start": [78, 21],
127
+ "text": [' the rate water can enter the soils surface', 'the quantity of water that can enter the soil in a specified time interval']
128
+ },
129
+ "context": "Irrigation Fact Sheet # 2: Instantaneous Rates. The soils infiltration rate is the rate water can enter the soils surface. Michigan soils...",
130
+ "id": "1170477",
131
+ "question": "what is infiltration rate?",
132
+ "category": "Irrigation",
133
+ "references": "Kelley, L. (2007a). Irrigation Fact Sheet # 2 - Irrigation Application Instantaneous Rates. https://www.canr.msu.edu/uploads/235/67987/FactSheets/2_IrrigationApplicationRates1.30.pdf",
134
+ }
135
+ ```
136
+
137
+ ### Data agxqa_v1
138
+
139
+ The data fields are the same among all splits.
140
+
141
+ #### squad_v2
142
+ - `id`: a `string` feature.
143
+ - `category`: a `string` feature.
144
+ - `context`: a `string` feature.
145
+ - `question`: a `string` feature.
146
+ - `answers`: a dictionary feature containing:
147
+ - `text`: a `string` feature.
148
+ - `answer_start`: a `int32` feature.
149
+ - `references`: a `string` feature.
150
+
151
+ ### Data Splits
152
+
153
+ | name | train | validation | test |
154
+ | -------- | -----: | ---------: | ----: |
155
+ | agxqa_v1 | 1503 | 353 | 330 |
156
 
157
  ## Dataset Creation
158
 
159
  ### Curation Rationale
160
 
161
+ The creation of this dataset aims to enhance the performance of NLP models (e.g., LLMs) in understanding and extracting relevant information about agro-hydrological practices for crops such as corn and soybeans.
162
+ This dataset
163
 
164
+ ### Scope and Domain
 
 
165
 
166
+ The dataset specifically focuses on irrigation practices, techniques, and related agricultural knowledge concerning corn and soybeans.
167
+ This includes, but is not limited to:
168
+ - irrigation laws and policies
169
+ - irrigation methods (e.g., drip, sprinkler, furrow),
170
+ - irrigation scheduling,
171
+ - soil moisture monitoring,
172
+ - crop growth stage,
173
+ - crop water requirements,
174
+ - general crop (soybean and corn) characteristics
175
 
 
176
 
177
+ ### Source Data
178
 
179
+ #### Initial Data Collection and Normalization
180
 
181
+ About ~600 paragraphs (e.g., context) were extracted from the Agriculture Extension Corpus [(AEC1.1)](https://huggingface.co/datasets/msu-ceco/aec_v1). For more details about AEC1.1's data sources, please refer to its dataset card [here](https://huggingface.co/datasets/msu-ceco/aec_v1#source-data).
182
 
 
183
 
184
+ #### Who are the source language producers?
185
 
186
+ - [CECO](https://huggingface.co/msu-ceco) curated and supervised the creation and annotations of the QA pairs.
187
+ - Regarding the original paragraphs/contexts, please see [here](https://huggingface.co/datasets/msu-ceco/aec_v1#who-are-the-source-data-producers).
188
 
189
+ ### Annotations
190
 
191
  #### Annotation process
192
 
193
+ We followed the general guidelines described in [Rajpurkar et al. (2016)](https://arxiv.org/abs/1606.05250), which also inspired us to create a SQUAD-like dataset.
194
+ We leveraged [Deepset's annotation tool](https://docs.haystack.deepset.ai/v1.20/docs/annotation) to annotate the paragraphs and create the QA pairs.
 
 
 
 
 
195
 
196
+ Our main guidelines can be summarized as follows:
197
 
198
+ - Question formulation: Based on the rationale in the paragraph, the extracted questions represented common queries by farmers and agricultural practitioners regarding irrigation.
199
+ - Answer collection: Already present in the paragraph, so the annotations cover both short and long:
200
+ - clauses
201
+ - subjects
202
+ - predicates
203
+ - phrases (nouns, verbs, adjectives and adverbials)
204
+ - Quality control: Domain experts reviewed and validated the QA pairs to ensure accuracy and relevance. This review was conducted weekly on 50% of the annotated batch (randomly selected) for that week.
205
+ - Diversity and Coverage: Since the crops of interest (soybean and corn) are mostly grown in the Midwest states of the USA, most of the QA pairs cover those states. However, the dataset also includes general irrigation QA pairs, that are applicable in most states.
206
+ - Ethical considerations: To maintain transparency and credibility, we cited the original authors of the annotated paragraphs for each QA pair. Please see the annotated example provided above.
207
 
208
+ For more information on the annotation process, please refer to [here (TO_DO)]().
209
 
210
+ #### Who are the annotators?
 
 
 
 
 
 
211
 
212
+ There were three annotators in total, two with a background in agricultural topics. Two experts in water and irrigation research hired them, who supervised their annotations.
213
 
214
+ ### Personal and Sensitive Information
215
 
216
+ * Some of the original paragraphs contained extension educators' names and email addresses, but these have been analyzed accordingly. In other words, they have been replaced with `x`'s in our dataset.
217
+ * For each paragraph, we referenced the main article, where the context was extracted.
218
 
219
+ ## Considerations for Using the Data
220
 
221
+ ### Social Impact of Dataset
222
 
223
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
224
 
225
+ ### Discussion of Biases
226
 
227
+ * Version 1.1 is small and only contains irrigation-related topics, so we suggested not using it in production since, in the real world, agriculture-based questions require temporal and geospatial information, which is not covered yet.
228
+ * We found three paragraphs that contained URLs (links to an Extension YouTube video and a decision support tool). These are outliers and do not necessarily provide implicit answers. They will be removed in version 2.
229
 
230
+ ### Other Known Limitations
231
 
232
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
233
 
234
+ ## Additional Information
235
 
236
+ ### Licensing Information
237
 
238
+ The dataset is distributed under the [TO-DO] license.
239
 
240
+ ### Citation Information
241
 
242
+ [TO-DO]
243
 
 
244
 
245
+ ### Contributions
246
 
247
  [More Information Needed]