Update README.md
Browse files
README.md
CHANGED
@@ -1,151 +1,247 @@
|
|
1 |
---
|
2 |
-
task_categories:
|
3 |
-
- question-answering
|
4 |
language:
|
5 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
tags:
|
7 |
-
-
|
|
|
|
|
8 |
- irrigation
|
9 |
-
- water research
|
10 |
pretty_name: AgXQA1.1
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
-
#
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
-
|
30 |
-
-
|
31 |
-
-
|
32 |
-
-
|
33 |
-
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
-
|
40 |
-
-
|
41 |
-
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
## Dataset Structure
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
## Dataset Creation
|
66 |
|
67 |
### Curation Rationale
|
68 |
|
69 |
-
|
|
|
70 |
|
71 |
-
|
72 |
-
|
73 |
-
### Source Data
|
74 |
|
75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
-
#### Data Collection and Processing
|
78 |
|
79 |
-
|
80 |
|
81 |
-
|
82 |
|
83 |
-
|
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 |
-
|
88 |
|
89 |
-
|
|
|
90 |
|
91 |
-
|
92 |
|
93 |
#### Annotation process
|
94 |
|
95 |
-
|
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 |
-
|
104 |
|
105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
-
|
108 |
|
109 |
-
|
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 |
-
|
118 |
|
119 |
-
|
120 |
|
121 |
-
|
|
|
122 |
|
123 |
-
##
|
124 |
|
125 |
-
|
126 |
|
127 |
-
|
128 |
|
129 |
-
|
130 |
|
131 |
-
|
|
|
132 |
|
133 |
-
|
134 |
|
135 |
-
|
136 |
|
137 |
-
|
138 |
|
139 |
-
|
140 |
|
141 |
-
|
142 |
|
143 |
-
|
144 |
|
145 |
-
|
146 |
|
147 |
-
[More Information Needed]
|
148 |
|
149 |
-
|
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]
|