PabloAccuosto commited on
Commit
c7897b1
·
verified ·
1 Parent(s): 2e001a1

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .argilla/dataset.json +16 -0
  2. .argilla/settings.json +171 -0
  3. .argilla/version.json +3 -0
  4. README.md +169 -74
.argilla/dataset.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
3
+ "name": "scilake-energy-energytype",
4
+ "guidelines": "# Energy type validation guidelines\n## Task Description\nYour task is to validate the extraction of energy (storage) type entities and their linking to their closest matching entries in the IRENA taxonomy.\n\n## What to Validate\nFor each record, please verify the following:\n1. **Entity Spans:** Are all text spans correctly identified? Are the span boundaries accurate?\n2. **Entity Types:** Are entity types correctly assigned?\n3. **Entity Linking:** Are the matching entities in the IRENA taxonomy correctly assigned?\n\n## Instructions\n1. Carefully read the texts.\n2. Review the NER spans and correct them if:\n- The boundaries (start/end) are incorrect\n- The entity label is wrong\n3. Verify that the extracted entities are correctly linked to their closest match in the IRENA taxonomy\n4. Add any comments or feedback you deem relevant\n\n## Validation Guidelines\n- Entity Annotations: Mark spans as \"Correct\" only if boundaries and labels are accurate.\n- Entity Extraction: Mark as \"Correct\" if all energy (storage) types mentioned are extracted; \"Partially correct\" if any are missing or incorrect.\n- IRENA Linking: Mark as \"Correct\" if all links are to the appropriate entries. Use \"Partially correct\" if any are incorrect.",
5
+ "allow_extra_metadata": false,
6
+ "status": "ready",
7
+ "distribution": {
8
+ "strategy": "overlap",
9
+ "min_submitted": 1
10
+ },
11
+ "metadata": null,
12
+ "workspace_id": "0756eadb-468f-4c06-88c4-51a3fa6f665f",
13
+ "last_activity_at": "2025-06-19T09:39:52.323021",
14
+ "inserted_at": "2025-04-28T10:03:43.698371",
15
+ "updated_at": "2025-06-19T09:39:52.323021"
16
+ }
.argilla/settings.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "guidelines": "# Energy type validation guidelines\n## Task Description\nYour task is to validate the extraction of energy (storage) type entities and their linking to their closest matching entries in the IRENA taxonomy.\n\n## What to Validate\nFor each record, please verify the following:\n1. **Entity Spans:** Are all text spans correctly identified? Are the span boundaries accurate?\n2. **Entity Types:** Are entity types correctly assigned?\n3. **Entity Linking:** Are the matching entities in the IRENA taxonomy correctly assigned?\n\n## Instructions\n1. Carefully read the texts.\n2. Review the NER spans and correct them if:\n- The boundaries (start/end) are incorrect\n- The entity label is wrong\n3. Verify that the extracted entities are correctly linked to their closest match in the IRENA taxonomy\n4. Add any comments or feedback you deem relevant\n\n## Validation Guidelines\n- Entity Annotations: Mark spans as \"Correct\" only if boundaries and labels are accurate.\n- Entity Extraction: Mark as \"Correct\" if all energy (storage) types mentioned are extracted; \"Partially correct\" if any are missing or incorrect.\n- IRENA Linking: Mark as \"Correct\" if all links are to the appropriate entries. Use \"Partially correct\" if any are incorrect.",
3
+ "allow_extra_metadata": false,
4
+ "distribution": {
5
+ "strategy": "overlap",
6
+ "min_submitted": 1
7
+ },
8
+ "fields": [
9
+ {
10
+ "id": "c62010e4-5203-4b96-8c42-68d2faa7af95",
11
+ "name": "doi",
12
+ "title": "DOI",
13
+ "required": true,
14
+ "settings": {
15
+ "type": "text",
16
+ "use_markdown": true
17
+ },
18
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
19
+ "inserted_at": "2025-04-28T10:03:43.904236",
20
+ "updated_at": "2025-04-28T10:03:51.861287"
21
+ },
22
+ {
23
+ "id": "407fa06c-c8aa-4b2d-8224-3085e95a73d0",
24
+ "name": "section",
25
+ "title": "Section",
26
+ "required": true,
27
+ "settings": {
28
+ "type": "text",
29
+ "use_markdown": false
30
+ },
31
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
32
+ "inserted_at": "2025-04-28T10:03:43.983225",
33
+ "updated_at": "2025-04-28T10:03:51.941063"
34
+ },
35
+ {
36
+ "id": "ab9ed754-05ae-4e31-86fa-d72b8b15fef2",
37
+ "name": "text",
38
+ "title": "Text",
39
+ "required": true,
40
+ "settings": {
41
+ "type": "text",
42
+ "use_markdown": false
43
+ },
44
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
45
+ "inserted_at": "2025-04-28T10:03:44.067134",
46
+ "updated_at": "2025-04-28T10:03:52.016753"
47
+ },
48
+ {
49
+ "id": "265672ea-4010-49da-9ab1-6f3dc6e0cd5c",
50
+ "name": "links",
51
+ "title": "Linked entities",
52
+ "required": true,
53
+ "settings": {
54
+ "type": "text",
55
+ "use_markdown": true
56
+ },
57
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
58
+ "inserted_at": "2025-04-28T10:03:44.149413",
59
+ "updated_at": "2025-04-28T10:03:52.091619"
60
+ }
61
+ ],
62
+ "questions": [
63
+ {
64
+ "id": "67fc361f-6085-4dc9-8fa8-ca8b17a797f4",
65
+ "name": "span_label",
66
+ "title": "Select and classify the tokens according to the specified categories.",
67
+ "description": null,
68
+ "required": true,
69
+ "settings": {
70
+ "type": "span",
71
+ "field": "text",
72
+ "options": [
73
+ {
74
+ "value": "energyType",
75
+ "text": "energyType",
76
+ "description": null
77
+ },
78
+ {
79
+ "value": "energyStorage",
80
+ "text": "energyStorage",
81
+ "description": null
82
+ }
83
+ ],
84
+ "visible_options": null,
85
+ "allow_overlapping": true,
86
+ "allow_character_annotation": true
87
+ },
88
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
89
+ "inserted_at": "2025-04-28T10:03:44.226969",
90
+ "updated_at": "2025-04-28T10:03:52.478580"
91
+ },
92
+ {
93
+ "id": "db067e02-040c-4da8-ad70-f3d4da6a477e",
94
+ "name": "assess_ner",
95
+ "title": "Extracted entity validation",
96
+ "description": "Are the extracted entities correct?",
97
+ "required": true,
98
+ "settings": {
99
+ "type": "label_selection",
100
+ "options": [
101
+ {
102
+ "value": "Correct",
103
+ "text": "Correct",
104
+ "description": null
105
+ },
106
+ {
107
+ "value": "Partially correct",
108
+ "text": "Partially correct",
109
+ "description": null
110
+ },
111
+ {
112
+ "value": "Incorrect",
113
+ "text": "Incorrect",
114
+ "description": null
115
+ }
116
+ ],
117
+ "visible_options": 3
118
+ },
119
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
120
+ "inserted_at": "2025-04-28T10:03:44.302372",
121
+ "updated_at": "2025-04-28T10:03:52.553353"
122
+ },
123
+ {
124
+ "id": "c38dd5b6-5483-4976-8983-182446d97585",
125
+ "name": "assess_nel",
126
+ "title": "Linked IRENA entity validation",
127
+ "description": "Are the linked entities in the IRENA taxonomy correct?",
128
+ "required": true,
129
+ "settings": {
130
+ "type": "label_selection",
131
+ "options": [
132
+ {
133
+ "value": "Correct",
134
+ "text": "Correct",
135
+ "description": null
136
+ },
137
+ {
138
+ "value": "Partially correct",
139
+ "text": "Partially correct",
140
+ "description": null
141
+ },
142
+ {
143
+ "value": "Incorrect",
144
+ "text": "Incorrect",
145
+ "description": null
146
+ }
147
+ ],
148
+ "visible_options": 3
149
+ },
150
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
151
+ "inserted_at": "2025-04-28T10:03:44.383916",
152
+ "updated_at": "2025-04-28T10:03:52.632804"
153
+ },
154
+ {
155
+ "id": "94247fa9-0053-401b-9cbb-fa9e207bb2be",
156
+ "name": "comments",
157
+ "title": "Comments",
158
+ "description": "Additional comments",
159
+ "required": false,
160
+ "settings": {
161
+ "type": "text",
162
+ "use_markdown": false
163
+ },
164
+ "dataset_id": "129124c9-525d-4d2e-8f98-6ed5c0d34539",
165
+ "inserted_at": "2025-04-28T10:03:44.468572",
166
+ "updated_at": "2025-04-28T10:03:52.711433"
167
+ }
168
+ ],
169
+ "metadata": [],
170
+ "vectors": []
171
+ }
.argilla/version.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "argilla": "2.6.0"
3
+ }
README.md CHANGED
@@ -1,76 +1,171 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: status
7
- dtype: string
8
- - name: inserted_at
9
- dtype: timestamp[us]
10
- - name: updated_at
11
- dtype: timestamp[us]
12
- - name: _server_id
13
- dtype: string
14
- - name: doi
15
- dtype: string
16
- - name: section
17
- dtype: string
18
- - name: text
19
- dtype: string
20
- - name: links
21
- dtype: string
22
- - name: span_label.responses
23
- list:
24
- list:
25
- - name: end
26
- dtype: int64
27
- - name: label
28
- dtype: string
29
- - name: start
30
- dtype: int64
31
- - name: span_label.responses.users
32
- sequence: string
33
- - name: span_label.responses.status
34
- sequence: string
35
- - name: assess_ner.responses
36
- sequence: string
37
- - name: assess_ner.responses.users
38
- sequence: string
39
- - name: assess_ner.responses.status
40
- sequence: string
41
- - name: assess_nel.responses
42
- sequence: string
43
- - name: assess_nel.responses.users
44
- sequence: string
45
- - name: assess_nel.responses.status
46
- sequence: string
47
- - name: comments.responses
48
- sequence: string
49
- - name: comments.responses.users
50
- sequence: string
51
- - name: comments.responses.status
52
- sequence: string
53
- - name: span_label.suggestion
54
- list:
55
- - name: end
56
- dtype: int64
57
- - name: label
58
- dtype: string
59
- - name: start
60
- dtype: int64
61
- - name: span_label.suggestion.agent
62
- dtype: 'null'
63
- - name: span_label.suggestion.score
64
- dtype: 'null'
65
- splits:
66
- - name: train
67
- num_bytes: 412378
68
- num_examples: 147
69
- download_size: 203824
70
- dataset_size: 412378
71
- configs:
72
- - config_name: default
73
- data_files:
74
- - split: train
75
- path: data/train-*
76
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - rlfh
4
+ - argilla
5
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
7
+
8
+ # Dataset Card for scilake-energytype
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+ This dataset has been created with [Argilla](https://github.com/argilla-io/argilla). As shown in the sections below, this dataset can be loaded into your Argilla server as explained in [Load with Argilla](#load-with-argilla), or used directly with the `datasets` library in [Load with `datasets`](#load-with-datasets).
17
+
18
+
19
+ ## Using this dataset with Argilla
20
+
21
+ To load with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
22
+
23
+ ```python
24
+ import argilla as rg
25
+
26
+ ds = rg.Dataset.from_hub("SIRIS-Lab/scilake-energytype", settings="auto")
27
+ ```
28
+
29
+ This will load the settings and records from the dataset repository and push them to you Argilla server for exploration and annotation.
30
+
31
+ ## Using this dataset with `datasets`
32
+
33
+ To load the records of this dataset with `datasets`, you'll just need to install `datasets` as `pip install datasets --upgrade` and then use the following code:
34
+
35
+ ```python
36
+ from datasets import load_dataset
37
+
38
+ ds = load_dataset("SIRIS-Lab/scilake-energytype")
39
+ ```
40
+
41
+ This will only load the records of the dataset, but not the Argilla settings.
42
+
43
+ ## Dataset Structure
44
+
45
+ This dataset repo contains:
46
+
47
+ * Dataset records in a format compatible with HuggingFace `datasets`. These records will be loaded automatically when using `rg.Dataset.from_hub` and can be loaded independently using the `datasets` library via `load_dataset`.
48
+ * The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
49
+ * A dataset configuration folder conforming to the Argilla dataset format in `.argilla`.
50
+
51
+ The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
52
+
53
+ ### Fields
54
+
55
+ The **fields** are the features or text of a dataset's records. For example, the 'text' column of a text classification dataset of the 'prompt' column of an instruction following dataset.
56
+
57
+ | Field Name | Title | Type | Required |
58
+ | ---------- | ----- | ---- | -------- |
59
+ | doi | DOI | text | True |
60
+ | section | Section | text | True |
61
+ | text | Text | text | True |
62
+ | links | Linked entities | text | True |
63
+
64
+
65
+ ### Questions
66
+
67
+ The **questions** are the questions that will be asked to the annotators. They can be of different types, such as rating, text, label_selection, multi_label_selection, or ranking.
68
+
69
+ | Question Name | Title | Type | Required | Description | Values/Labels |
70
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
71
+ | span_label | Select and classify the tokens according to the specified categories. | span | True | N/A | ['energyType', 'energyStorage'] |
72
+ | assess_ner | Extracted entity validation | label_selection | True | Are the extracted entities correct? | ['Correct', 'Partially correct', 'Incorrect'] |
73
+ | assess_nel | Linked IRENA entity validation | label_selection | True | Are the linked entities in the IRENA taxonomy correct? | ['Correct', 'Partially correct', 'Incorrect'] |
74
+ | comments | Comments | text | False | Additional comments | N/A |
75
+
76
+
77
+ <!-- check length of metadata properties -->
78
+
79
+
80
+
81
+
82
+ ### Data Splits
83
+
84
+ The dataset contains a single split, which is `train`.
85
+
86
+ ## Dataset Creation
87
+
88
+ ### Curation Rationale
89
+
90
+ [More Information Needed]
91
+
92
+ ### Source Data
93
+
94
+ #### Initial Data Collection and Normalization
95
+
96
+ [More Information Needed]
97
+
98
+ #### Who are the source language producers?
99
+
100
+ [More Information Needed]
101
+
102
+ ### Annotations
103
+
104
+ #### Annotation guidelines
105
+
106
+ # Energy type validation guidelines
107
+ ## Task Description
108
+ Your task is to validate the extraction of energy (storage) type entities and their linking to their closest matching entries in the IRENA taxonomy.
109
+
110
+ ## What to Validate
111
+ For each record, please verify the following:
112
+ 1. **Entity Spans:** Are all text spans correctly identified? Are the span boundaries accurate?
113
+ 2. **Entity Types:** Are entity types correctly assigned?
114
+ 3. **Entity Linking:** Are the matching entities in the IRENA taxonomy correctly assigned?
115
+
116
+ ## Instructions
117
+ 1. Carefully read the texts.
118
+ 2. Review the NER spans and correct them if:
119
+ - The boundaries (start/end) are incorrect
120
+ - The entity label is wrong
121
+ 3. Verify that the extracted entities are correctly linked to their closest match in the IRENA taxonomy
122
+ 4. Add any comments or feedback you deem relevant
123
+
124
+ ## Validation Guidelines
125
+ - Entity Annotations: Mark spans as "Correct" only if boundaries and labels are accurate.
126
+ - Entity Extraction: Mark as "Correct" if all energy (storage) types mentioned are extracted; "Partially correct" if any are missing or incorrect.
127
+ - IRENA Linking: Mark as "Correct" if all links are to the appropriate entries. Use "Partially correct" if any are incorrect.
128
+
129
+ #### Annotation process
130
+
131
+ [More Information Needed]
132
+
133
+ #### Who are the annotators?
134
+
135
+ [More Information Needed]
136
+
137
+ ### Personal and Sensitive Information
138
+
139
+ [More Information Needed]
140
+
141
+ ## Considerations for Using the Data
142
+
143
+ ### Social Impact of Dataset
144
+
145
+ [More Information Needed]
146
+
147
+ ### Discussion of Biases
148
+
149
+ [More Information Needed]
150
+
151
+ ### Other Known Limitations
152
+
153
+ [More Information Needed]
154
+
155
+ ## Additional Information
156
+
157
+ ### Dataset Curators
158
+
159
+ [More Information Needed]
160
+
161
+ ### Licensing Information
162
+
163
+ [More Information Needed]
164
+
165
+ ### Citation Information
166
+
167
+ [More Information Needed]
168
+
169
+ ### Contributions
170
+
171
+ [More Information Needed]