Commit
•
6575813
1
Parent(s):
629d4a3
Upload folder using huggingface_hub
Browse files- .argilla/dataset.json +1 -0
- .argilla/settings.json +1 -0
- README.md +223 -40
.argilla/dataset.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"id": "d397773a-17f4-4e93-9040-9c90e7439953", "inserted_at": "2024-11-14T13:19:39.326385", "updated_at": "2024-11-14T13:19:40.468331", "name": "fineweb-edu-llama3-annotations-pairs-data-sample", "status": "ready", "guidelines": null, "allow_extra_metadata": true, "distribution": {"strategy": "overlap", "min_submitted": 1}, "workspace_id": "2addb87f-60d3-43c4-814f-eaffed69280e", "last_activity_at": "2024-11-14T15:26:31.428867"}
|
.argilla/settings.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"guidelines": null, "questions": [{"id": "82720332-b5a6-47bd-b101-3287a25b3e4a", "name": "ranking_0", "settings": {"type": "ranking", "options": [{"value": "text_1", "text": "Option 1", "description": null}, {"value": "text_2", "text": "Option 2", "description": null}]}, "title": "Rank the Educational Value of the Text", "description": null, "required": true, "inserted_at": "2024-11-14T13:19:39.688106", "updated_at": "2024-11-14T13:20:24.985536", "type": "ranking"}], "fields": [{"id": "f1d673c4-92c0-4bbb-ab6d-0b4e1295f73d", "inserted_at": "2024-11-14T13:19:39.444741", "updated_at": "2024-11-14T13:19:39.444741", "name": "text1", "settings": {"type": "text", "use_markdown": false}, "title": "text1", "required": false, "description": null, "dataset_id": "d397773a-17f4-4e93-9040-9c90e7439953", "type": "text"}, {"id": "2d622ec5-79ad-4cbe-a668-96e6ebc04c2a", "inserted_at": "2024-11-14T13:19:39.563021", "updated_at": "2024-11-14T13:19:39.563021", "name": "text2", "settings": {"type": "text", "use_markdown": false}, "title": "text2", "required": false, "description": null, "dataset_id": "d397773a-17f4-4e93-9040-9c90e7439953", "type": "text"}], "vectors": [], "metadata": [{"id": "5c16611f-cb87-4630-85e8-371b5b5d82b9", "inserted_at": "2024-11-14T13:19:39.808573", "updated_at": "2024-11-14T13:19:39.808573", "name": "pair_id", "settings": {"type": "integer", "visible_for_annotators": true, "min": null, "max": null}, "type": "integer", "title": "pair_id", "visible_for_annotators": true, "dataset_id": "d397773a-17f4-4e93-9040-9c90e7439953"}, {"id": "097c59da-bb09-49da-9b59-5f8aae38fc3e", "inserted_at": "2024-11-14T13:19:39.925735", "updated_at": "2024-11-14T13:19:39.925735", "name": "text1_id", "settings": {"type": "integer", "visible_for_annotators": true, "min": null, "max": null}, "type": "integer", "title": "text1_id", "visible_for_annotators": true, "dataset_id": "d397773a-17f4-4e93-9040-9c90e7439953"}, {"id": "01f36f28-6b09-4a76-811f-84e56f53397a", "inserted_at": "2024-11-14T13:19:40.038772", "updated_at": "2024-11-14T13:19:40.038772", "name": "text2_id", "settings": {"type": "integer", "visible_for_annotators": true, "min": null, "max": null}, "type": "integer", "title": "text2_id", "visible_for_annotators": true, "dataset_id": "d397773a-17f4-4e93-9040-9c90e7439953"}, {"id": "b03a4e44-33c4-4e23-b609-21c8547f4887", "inserted_at": "2024-11-14T13:19:40.155647", "updated_at": "2024-11-14T13:19:40.155647", "name": "score_1", "settings": {"type": "integer", "visible_for_annotators": true, "min": null, "max": null}, "type": "integer", "title": "score_1", "visible_for_annotators": true, "dataset_id": "d397773a-17f4-4e93-9040-9c90e7439953"}, {"id": "45dc7349-d8fd-4ee9-bcc2-da885b9de8cc", "inserted_at": "2024-11-14T13:19:40.269148", "updated_at": "2024-11-14T13:19:40.269148", "name": "score_2", "settings": {"type": "integer", "visible_for_annotators": true, "min": null, "max": null}, "type": "integer", "title": "score_2", "visible_for_annotators": true, "dataset_id": "d397773a-17f4-4e93-9040-9c90e7439953"}], "allow_extra_metadata": true, "distribution": {"strategy": "overlap", "min_submitted": 1}, "mapping": null}
|
README.md
CHANGED
@@ -1,42 +1,225 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
dtype: string
|
8 |
-
- name: _server_id
|
9 |
-
dtype: string
|
10 |
-
- name: text1
|
11 |
-
dtype: string
|
12 |
-
- name: text2
|
13 |
-
dtype: string
|
14 |
-
- name: pair_id
|
15 |
-
dtype: int64
|
16 |
-
- name: text1_id
|
17 |
-
dtype: int64
|
18 |
-
- name: text2_id
|
19 |
-
dtype: int64
|
20 |
-
- name: score_1
|
21 |
-
dtype: int64
|
22 |
-
- name: score_2
|
23 |
-
dtype: int64
|
24 |
-
- name: ranking_0.responses
|
25 |
-
sequence:
|
26 |
-
sequence: string
|
27 |
-
- name: ranking_0.responses.users
|
28 |
-
sequence: string
|
29 |
-
- name: ranking_0.responses.status
|
30 |
-
sequence: string
|
31 |
-
splits:
|
32 |
-
- name: train
|
33 |
-
num_bytes: 1730740
|
34 |
-
num_examples: 248
|
35 |
-
download_size: 384020
|
36 |
-
dataset_size: 1730740
|
37 |
-
configs:
|
38 |
-
- config_name: default
|
39 |
-
data_files:
|
40 |
-
- split: train
|
41 |
-
path: data/train-*
|
42 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
size_categories: n<1K
|
3 |
+
tags:
|
4 |
+
- rlfh
|
5 |
+
- argilla
|
6 |
+
- human-feedback
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
+
|
9 |
+
# Dataset Card for fineweb-edu-llama3-annotations-pairs-data-sample-ranked-raw
|
10 |
+
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
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).
|
18 |
+
|
19 |
+
|
20 |
+
## Using this dataset with Argilla
|
21 |
+
|
22 |
+
To load with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
|
23 |
+
|
24 |
+
```python
|
25 |
+
import argilla as rg
|
26 |
+
|
27 |
+
ds = rg.Dataset.from_hub("davanstrien/fineweb-edu-llama3-annotations-pairs-data-sample-ranked-raw", settings="auto")
|
28 |
+
```
|
29 |
+
|
30 |
+
This will load the settings and records from the dataset repository and push them to you Argilla server for exploration and annotation.
|
31 |
+
|
32 |
+
## Using this dataset with `datasets`
|
33 |
+
|
34 |
+
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:
|
35 |
+
|
36 |
+
```python
|
37 |
+
from datasets import load_dataset
|
38 |
+
|
39 |
+
ds = load_dataset("davanstrien/fineweb-edu-llama3-annotations-pairs-data-sample-ranked-raw")
|
40 |
+
```
|
41 |
+
|
42 |
+
This will only load the records of the dataset, but not the Argilla settings.
|
43 |
+
|
44 |
+
## Dataset Structure
|
45 |
+
|
46 |
+
This dataset repo contains:
|
47 |
+
|
48 |
+
* 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`.
|
49 |
+
* The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
|
50 |
+
* A dataset configuration folder conforming to the Argilla dataset format in `.argilla`.
|
51 |
+
|
52 |
+
The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
|
53 |
+
|
54 |
+
### Fields
|
55 |
+
|
56 |
+
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.
|
57 |
+
|
58 |
+
| Field Name | Title | Type | Required | Markdown |
|
59 |
+
| ---------- | ----- | ---- | -------- | -------- |
|
60 |
+
| text1 | text1 | text | False | False |
|
61 |
+
| text2 | text2 | text | False | False |
|
62 |
+
|
63 |
+
|
64 |
+
### Questions
|
65 |
+
|
66 |
+
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.
|
67 |
+
|
68 |
+
| Question Name | Title | Type | Required | Description | Values/Labels |
|
69 |
+
| ------------- | ----- | ---- | -------- | ----------- | ------------- |
|
70 |
+
| ranking_0 | Rank the Educational Value of the Text | ranking | True | N/A | ['text_1', 'text_2'] |
|
71 |
+
|
72 |
+
|
73 |
+
<!-- check length of metadata properties -->
|
74 |
+
|
75 |
+
### Metadata
|
76 |
+
|
77 |
+
The **metadata** is a dictionary that can be used to provide additional information about the dataset record.
|
78 |
+
| Metadata Name | Title | Type | Values | Visible for Annotators |
|
79 |
+
| ------------- | ----- | ---- | ------ | ---------------------- |
|
80 |
+
| pair_id | pair_id | | None - None | True |
|
81 |
+
| text1_id | text1_id | | None - None | True |
|
82 |
+
| text2_id | text2_id | | None - None | True |
|
83 |
+
| score_1 | score_1 | | None - None | True |
|
84 |
+
| score_2 | score_2 | | None - None | True |
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
|
91 |
+
### Data Instances
|
92 |
+
|
93 |
+
An example of a dataset instance in Argilla looks as follows:
|
94 |
+
|
95 |
+
```json
|
96 |
+
{
|
97 |
+
"_server_id": "9b6fa525-ea6c-463e-b91d-7be665548fd6",
|
98 |
+
"fields": {
|
99 |
+
"text1": "Governorship aspirant of the Peoples Democratic Party (PDP) in Oyo state, Mr Seyi Makinde has accused the Oyo state government under the administration of Governor Abiola Ajimobi of reckless management of the financial resources of the state and enrichment of few government officials and their friends.\nIn a statement signed recently by his media aide, Mr Dotun Oyelade, Makinde said the state government misappropriated state funds in all sectors of government especially in health, education and agriculture.\nIn education, Makinde questioned last week\u2019s announcement of the award of N5.7billion contract to renovate schools in the state, with some schools billed for completion on April 30.\nMakinde called for explanations on how the state government would expend N5.7 billion on the renovation in 15 days.\nHe described the three model schools set to be commissioned as inadequate to address school infrastructure deficit, insufficiently motivated and inadequate teachers.\nIn health, Makinde said, in spite of N116 billion debt, hospitals remained pitiably underfunded, lacking in drugs, equipment, manpower and in a state of disrepair.\n\u201cPart of government propaganda to hoodwink unsuspecting members of the public was the announcement last week that N5.7bn contract has been awarded to renovate schools in the state and that a substantial part of the renovation will be completed before the resumption of schools on April 30.\n\u201cWe want the government to explain how a large chunk of almost N6bn will be expended on the renovation in 15 days. The impression is being given that this arrangement is not only graft inclined but it is money that is already misappropriated,\u201d the statement said.",
|
100 |
+
"text2": "OPPORTUNITY \u2013 GUNBOAT G4\nEvery G4 foiling catamaran was handmade in the factory in Lelystad, the Netherlands. A passionate team of craftsmen made the boats according to the individual wishes and requirements of the customer. With its extraordinary lines and performance, the G4 sailed its own course. It did not compete with other yachts suitable for coastal sailing. Light as a feather and very powerful, the G4 delivers the ultimate sailing performance with a touch of adrenaline.\nIt was built and delivered with an extensive package of hydrofoils. The pre-preg structure was state-of-the-art and there was a sea of space for six passengers with lots of comfort. The G4 foiling catamaran was designed as a junior racer with high cruiser content, not the other way around. The G4 was the more luxurious, practical, comfortable, and sophisticated view of every high-performance catamaran that existed until then.\nThe interior of the G4 foiling catamaran offered space and comfort according to the less is more philosophy. The extremely spacious cockpit could be used for the preparation and consumption of meals or even a party with 15 people. The cabin even gave full standing height at the entrance. The interior was completed with two queen-sized beds and a spacious sofa for 6 to 8 people. Thanks to the great panoramic views, this is a great place to eat, read or navigate. The comfort on board made the G4 suitable for long weekends, where you can travel distances of 300 nautical miles.\nThis Gunboat G4, Hull #1, is available for immediate sale from its dock in Fajardo, PR. The hulls and spars have recent new paint in the original colors.\nManufacturer\u2019s website link:"
|
101 |
+
},
|
102 |
+
"id": "train_0",
|
103 |
+
"metadata": {
|
104 |
+
"pair_id": 0,
|
105 |
+
"score_1": 1,
|
106 |
+
"score_2": 1,
|
107 |
+
"text1_id": 63,
|
108 |
+
"text2_id": 96
|
109 |
+
},
|
110 |
+
"responses": {
|
111 |
+
"ranking_0": [
|
112 |
+
{
|
113 |
+
"user_id": "d5a8d686-f4ff-4357-8193-d146d8a43eac",
|
114 |
+
"value": [
|
115 |
+
"text_1",
|
116 |
+
"text_2"
|
117 |
+
]
|
118 |
+
}
|
119 |
+
]
|
120 |
+
},
|
121 |
+
"status": "completed",
|
122 |
+
"suggestions": {},
|
123 |
+
"vectors": {}
|
124 |
+
}
|
125 |
+
```
|
126 |
+
|
127 |
+
While the same record in HuggingFace `datasets` looks as follows:
|
128 |
+
|
129 |
+
```json
|
130 |
+
{
|
131 |
+
"_server_id": "9b6fa525-ea6c-463e-b91d-7be665548fd6",
|
132 |
+
"id": "train_0",
|
133 |
+
"pair_id": 0,
|
134 |
+
"ranking_0.responses": [
|
135 |
+
[
|
136 |
+
"text_1",
|
137 |
+
"text_2"
|
138 |
+
]
|
139 |
+
],
|
140 |
+
"ranking_0.responses.status": [
|
141 |
+
"submitted"
|
142 |
+
],
|
143 |
+
"ranking_0.responses.users": [
|
144 |
+
"d5a8d686-f4ff-4357-8193-d146d8a43eac"
|
145 |
+
],
|
146 |
+
"score_1": 1,
|
147 |
+
"score_2": 1,
|
148 |
+
"status": "completed",
|
149 |
+
"text1": "Governorship aspirant of the Peoples Democratic Party (PDP) in Oyo state, Mr Seyi Makinde has accused the Oyo state government under the administration of Governor Abiola Ajimobi of reckless management of the financial resources of the state and enrichment of few government officials and their friends.\nIn a statement signed recently by his media aide, Mr Dotun Oyelade, Makinde said the state government misappropriated state funds in all sectors of government especially in health, education and agriculture.\nIn education, Makinde questioned last week\u2019s announcement of the award of N5.7billion contract to renovate schools in the state, with some schools billed for completion on April 30.\nMakinde called for explanations on how the state government would expend N5.7 billion on the renovation in 15 days.\nHe described the three model schools set to be commissioned as inadequate to address school infrastructure deficit, insufficiently motivated and inadequate teachers.\nIn health, Makinde said, in spite of N116 billion debt, hospitals remained pitiably underfunded, lacking in drugs, equipment, manpower and in a state of disrepair.\n\u201cPart of government propaganda to hoodwink unsuspecting members of the public was the announcement last week that N5.7bn contract has been awarded to renovate schools in the state and that a substantial part of the renovation will be completed before the resumption of schools on April 30.\n\u201cWe want the government to explain how a large chunk of almost N6bn will be expended on the renovation in 15 days. The impression is being given that this arrangement is not only graft inclined but it is money that is already misappropriated,\u201d the statement said.",
|
150 |
+
"text1_id": 63,
|
151 |
+
"text2": "OPPORTUNITY \u2013 GUNBOAT G4\nEvery G4 foiling catamaran was handmade in the factory in Lelystad, the Netherlands. A passionate team of craftsmen made the boats according to the individual wishes and requirements of the customer. With its extraordinary lines and performance, the G4 sailed its own course. It did not compete with other yachts suitable for coastal sailing. Light as a feather and very powerful, the G4 delivers the ultimate sailing performance with a touch of adrenaline.\nIt was built and delivered with an extensive package of hydrofoils. The pre-preg structure was state-of-the-art and there was a sea of space for six passengers with lots of comfort. The G4 foiling catamaran was designed as a junior racer with high cruiser content, not the other way around. The G4 was the more luxurious, practical, comfortable, and sophisticated view of every high-performance catamaran that existed until then.\nThe interior of the G4 foiling catamaran offered space and comfort according to the less is more philosophy. The extremely spacious cockpit could be used for the preparation and consumption of meals or even a party with 15 people. The cabin even gave full standing height at the entrance. The interior was completed with two queen-sized beds and a spacious sofa for 6 to 8 people. Thanks to the great panoramic views, this is a great place to eat, read or navigate. The comfort on board made the G4 suitable for long weekends, where you can travel distances of 300 nautical miles.\nThis Gunboat G4, Hull #1, is available for immediate sale from its dock in Fajardo, PR. The hulls and spars have recent new paint in the original colors.\nManufacturer\u2019s website link:",
|
152 |
+
"text2_id": 96
|
153 |
+
}
|
154 |
+
```
|
155 |
+
|
156 |
+
|
157 |
+
### Data Splits
|
158 |
+
|
159 |
+
The dataset contains a single split, which is `train`.
|
160 |
+
|
161 |
+
## Dataset Creation
|
162 |
+
|
163 |
+
### Curation Rationale
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
### Source Data
|
168 |
+
|
169 |
+
#### Initial Data Collection and Normalization
|
170 |
+
|
171 |
+
[More Information Needed]
|
172 |
+
|
173 |
+
#### Who are the source language producers?
|
174 |
+
|
175 |
+
[More Information Needed]
|
176 |
+
|
177 |
+
### Annotations
|
178 |
+
|
179 |
+
#### Annotation guidelines
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
#### Annotation process
|
184 |
+
|
185 |
+
[More Information Needed]
|
186 |
+
|
187 |
+
#### Who are the annotators?
|
188 |
+
|
189 |
+
[More Information Needed]
|
190 |
+
|
191 |
+
### Personal and Sensitive Information
|
192 |
+
|
193 |
+
[More Information Needed]
|
194 |
+
|
195 |
+
## Considerations for Using the Data
|
196 |
+
|
197 |
+
### Social Impact of Dataset
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
|
201 |
+
### Discussion of Biases
|
202 |
+
|
203 |
+
[More Information Needed]
|
204 |
+
|
205 |
+
### Other Known Limitations
|
206 |
+
|
207 |
+
[More Information Needed]
|
208 |
+
|
209 |
+
## Additional Information
|
210 |
+
|
211 |
+
### Dataset Curators
|
212 |
+
|
213 |
+
[More Information Needed]
|
214 |
+
|
215 |
+
### Licensing Information
|
216 |
+
|
217 |
+
[More Information Needed]
|
218 |
+
|
219 |
+
### Citation Information
|
220 |
+
|
221 |
+
[More Information Needed]
|
222 |
+
|
223 |
+
### Contributions
|
224 |
+
|
225 |
+
[More Information Needed]
|