NadaTH commited on
Commit
6787285
·
verified ·
1 Parent(s): 5347f08

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .argilla/dataset.json +40 -0
  2. .argilla/settings.json +81 -0
  3. .argilla/version.json +3 -0
  4. README.md +153 -38
.argilla/dataset.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "5d848f74-8ac4-424f-ba82-22b377cd08c6",
3
+ "name": "new_dataset",
4
+ "guidelines": null,
5
+ "allow_extra_metadata": true,
6
+ "status": "ready",
7
+ "distribution": {
8
+ "strategy": "overlap",
9
+ "min_submitted": 1
10
+ },
11
+ "metadata": {
12
+ "repoId": "NadaTH/new_dataset",
13
+ "subset": "default",
14
+ "split": "train",
15
+ "mapping": {
16
+ "fields": [
17
+ {
18
+ "source": "review",
19
+ "target": "review"
20
+ },
21
+ {
22
+ "source": "sentiment",
23
+ "target": "sentiment"
24
+ }
25
+ ],
26
+ "metadata": [
27
+ {
28
+ "source": "id",
29
+ "target": "id"
30
+ }
31
+ ],
32
+ "suggestions": []
33
+ },
34
+ "imported": "UI"
35
+ },
36
+ "workspace_id": "6b2d3328-9799-463b-8a99-dca78fc6f0d5",
37
+ "last_activity_at": "2025-09-22T13:41:11.385592",
38
+ "inserted_at": "2025-09-22T13:41:10.178933",
39
+ "updated_at": "2025-09-22T13:41:11.385592"
40
+ }
.argilla/settings.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "guidelines": null,
3
+ "allow_extra_metadata": true,
4
+ "distribution": {
5
+ "strategy": "overlap",
6
+ "min_submitted": 1
7
+ },
8
+ "fields": [
9
+ {
10
+ "id": "098f1234-6709-4cca-93d9-f27ef7e1bf2d",
11
+ "name": "review",
12
+ "title": "review",
13
+ "required": false,
14
+ "settings": {
15
+ "type": "text",
16
+ "use_markdown": false
17
+ },
18
+ "dataset_id": "5d848f74-8ac4-424f-ba82-22b377cd08c6",
19
+ "inserted_at": "2025-09-22T13:41:10.479436",
20
+ "updated_at": "2025-09-22T13:41:10.479436"
21
+ },
22
+ {
23
+ "id": "6b9b79f5-ed26-498b-9640-5bd6b23d2e42",
24
+ "name": "sentiment",
25
+ "title": "sentiment",
26
+ "required": false,
27
+ "settings": {
28
+ "type": "text",
29
+ "use_markdown": false
30
+ },
31
+ "dataset_id": "5d848f74-8ac4-424f-ba82-22b377cd08c6",
32
+ "inserted_at": "2025-09-22T13:41:10.715943",
33
+ "updated_at": "2025-09-22T13:41:10.715943"
34
+ }
35
+ ],
36
+ "questions": [
37
+ {
38
+ "id": "9a803455-10c2-49c9-8bea-f8dd94e7fe34",
39
+ "name": "label_0",
40
+ "title": "label_0",
41
+ "description": null,
42
+ "required": true,
43
+ "settings": {
44
+ "type": "label_selection",
45
+ "options": [
46
+ {
47
+ "value": "positive",
48
+ "text": "positive",
49
+ "description": null
50
+ },
51
+ {
52
+ "value": "negative",
53
+ "text": "negative",
54
+ "description": null
55
+ }
56
+ ],
57
+ "visible_options": null
58
+ },
59
+ "dataset_id": "5d848f74-8ac4-424f-ba82-22b377cd08c6",
60
+ "inserted_at": "2025-09-22T13:41:10.952982",
61
+ "updated_at": "2025-09-22T13:41:10.952982"
62
+ }
63
+ ],
64
+ "metadata": [
65
+ {
66
+ "id": "81a5b5a8-33c9-4408-b4e6-88f57ce56021",
67
+ "name": "id",
68
+ "title": "id",
69
+ "settings": {
70
+ "type": "integer",
71
+ "min": null,
72
+ "max": null
73
+ },
74
+ "visible_for_annotators": true,
75
+ "dataset_id": "5d848f74-8ac4-424f-ba82-22b377cd08c6",
76
+ "inserted_at": "2025-09-22T13:41:11.158714",
77
+ "updated_at": "2025-09-22T13:41:11.158714"
78
+ }
79
+ ],
80
+ "vectors": []
81
+ }
.argilla/version.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "argilla": "2.8.0"
3
+ }
README.md CHANGED
@@ -1,38 +1,153 @@
1
- ---
2
- license: mit
3
- configs:
4
- - config_name: default
5
- data_files:
6
- - split: train
7
- path: data/train-*
8
- dataset_info:
9
- features:
10
- - name: id
11
- dtype: string
12
- - name: status
13
- dtype: string
14
- - name: inserted_at
15
- dtype: timestamp[us]
16
- - name: updated_at
17
- dtype: timestamp[us]
18
- - name: _server_id
19
- dtype: string
20
- - name: review
21
- dtype: string
22
- - name: sentiment
23
- dtype: string
24
- - name: label_0.responses
25
- dtype: 'null'
26
- - name: label_0.responses.users
27
- dtype: 'null'
28
- - name: label_0.responses.status
29
- dtype: 'null'
30
- - name: metadata.id
31
- dtype: int64
32
- splits:
33
- - name: train
34
- num_bytes: 291909
35
- num_examples: 200
36
- download_size: 197167
37
- dataset_size: 291909
38
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - rlfh
4
+ - argilla
5
+ - human-feedback
6
+ ---
7
+
8
+ # Dataset Card for new_dataset
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("NadaTH/new_dataset", 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("NadaTH/new_dataset")
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
+ | review | review | text | False |
60
+ | sentiment | sentiment | text | False |
61
+
62
+
63
+ ### Questions
64
+
65
+ 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.
66
+
67
+ | Question Name | Title | Type | Required | Description | Values/Labels |
68
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
69
+ | label_0 | label_0 | label_selection | True | N/A | ['positive', 'negative'] |
70
+
71
+
72
+ <!-- check length of metadata properties -->
73
+
74
+ ### Metadata
75
+
76
+ The **metadata** is a dictionary that can be used to provide additional information about the dataset record.
77
+ | Metadata Name | Title | Type | Values | Visible for Annotators |
78
+ | ------------- | ----- | ---- | ------ | ---------------------- |
79
+ | id | id | integer | - | True |
80
+
81
+
82
+
83
+
84
+
85
+ ### Data Splits
86
+
87
+ The dataset contains a single split, which is `train`.
88
+
89
+ ## Dataset Creation
90
+
91
+ ### Curation Rationale
92
+
93
+ [More Information Needed]
94
+
95
+ ### Source Data
96
+
97
+ #### Initial Data Collection and Normalization
98
+
99
+ [More Information Needed]
100
+
101
+ #### Who are the source language producers?
102
+
103
+ [More Information Needed]
104
+
105
+ ### Annotations
106
+
107
+ #### Annotation guidelines
108
+
109
+ [More Information Needed]
110
+
111
+ #### Annotation process
112
+
113
+ [More Information Needed]
114
+
115
+ #### Who are the annotators?
116
+
117
+ [More Information Needed]
118
+
119
+ ### Personal and Sensitive Information
120
+
121
+ [More Information Needed]
122
+
123
+ ## Considerations for Using the Data
124
+
125
+ ### Social Impact of Dataset
126
+
127
+ [More Information Needed]
128
+
129
+ ### Discussion of Biases
130
+
131
+ [More Information Needed]
132
+
133
+ ### Other Known Limitations
134
+
135
+ [More Information Needed]
136
+
137
+ ## Additional Information
138
+
139
+ ### Dataset Curators
140
+
141
+ [More Information Needed]
142
+
143
+ ### Licensing Information
144
+
145
+ [More Information Needed]
146
+
147
+ ### Citation Information
148
+
149
+ [More Information Needed]
150
+
151
+ ### Contributions
152
+
153
+ [More Information Needed]