Ranasalh commited on
Commit
7c0e0f7
·
verified ·
1 Parent(s): 6d65652

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .argilla/dataset.json +36 -0
  2. .argilla/settings.json +73 -0
  3. .argilla/version.json +3 -0
  4. README.md +152 -36
.argilla/dataset.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "33c67ef0-f476-47a5-b348-d017b7abb5cb",
3
+ "name": "sentiment_challenge",
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": "Ranasalh/sentiment_challenge",
13
+ "subset": "default",
14
+ "split": "train",
15
+ "mapping": {
16
+ "fields": [
17
+ {
18
+ "source": "review",
19
+ "target": "review"
20
+ }
21
+ ],
22
+ "metadata": [
23
+ {
24
+ "source": "id",
25
+ "target": "id"
26
+ }
27
+ ],
28
+ "suggestions": []
29
+ },
30
+ "imported": "UI"
31
+ },
32
+ "workspace_id": "8fda4306-14a5-4aa4-9904-91ec775b5dc5",
33
+ "last_activity_at": "2025-09-24T07:36:52.553109",
34
+ "inserted_at": "2025-09-24T07:16:44.232088",
35
+ "updated_at": "2025-09-24T07:16:45.414536"
36
+ }
.argilla/settings.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "guidelines": null,
3
+ "allow_extra_metadata": true,
4
+ "distribution": {
5
+ "strategy": "overlap",
6
+ "min_submitted": 1
7
+ },
8
+ "fields": [
9
+ {
10
+ "id": "4f420e17-0d0a-4d01-bb6e-c434f25b78e3",
11
+ "name": "review",
12
+ "title": "review",
13
+ "required": false,
14
+ "settings": {
15
+ "type": "text",
16
+ "use_markdown": false
17
+ },
18
+ "dataset_id": "33c67ef0-f476-47a5-b348-d017b7abb5cb",
19
+ "inserted_at": "2025-09-24T07:16:44.485404",
20
+ "updated_at": "2025-09-24T07:16:44.485404"
21
+ }
22
+ ],
23
+ "questions": [
24
+ {
25
+ "id": "9ca859e5-8131-466a-b940-1a7275a94c58",
26
+ "name": "label_0",
27
+ "title": "label_0",
28
+ "description": null,
29
+ "required": true,
30
+ "settings": {
31
+ "type": "label_selection",
32
+ "options": [
33
+ {
34
+ "value": "positive",
35
+ "text": "positive",
36
+ "description": null
37
+ },
38
+ {
39
+ "value": "negative",
40
+ "text": "negative",
41
+ "description": null
42
+ },
43
+ {
44
+ "value": "neutral",
45
+ "text": "neutral",
46
+ "description": null
47
+ }
48
+ ],
49
+ "visible_options": null
50
+ },
51
+ "dataset_id": "33c67ef0-f476-47a5-b348-d017b7abb5cb",
52
+ "inserted_at": "2025-09-24T07:16:44.728330",
53
+ "updated_at": "2025-09-24T07:16:44.728330"
54
+ }
55
+ ],
56
+ "metadata": [
57
+ {
58
+ "id": "56cf4038-9584-4b7d-88ab-7dc1b026aca2",
59
+ "name": "id",
60
+ "title": "id",
61
+ "settings": {
62
+ "type": "integer",
63
+ "min": null,
64
+ "max": null
65
+ },
66
+ "visible_for_annotators": true,
67
+ "dataset_id": "33c67ef0-f476-47a5-b348-d017b7abb5cb",
68
+ "inserted_at": "2025-09-24T07:16:45.131625",
69
+ "updated_at": "2025-09-24T07:16:45.131625"
70
+ }
71
+ ],
72
+ "vectors": []
73
+ }
.argilla/version.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "argilla": "2.8.0"
3
+ }
README.md CHANGED
@@ -1,36 +1,152 @@
1
- ---
2
- license: apache-2.0
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: label_0.responses
23
- sequence: string
24
- - name: label_0.responses.users
25
- sequence: string
26
- - name: label_0.responses.status
27
- sequence: string
28
- - name: metadata.id
29
- dtype: int64
30
- splits:
31
- - name: train
32
- num_bytes: 159783
33
- num_examples: 100
34
- download_size: 111238
35
- dataset_size: 159783
36
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - rlfh
4
+ - argilla
5
+ - human-feedback
6
+ ---
7
+
8
+ # Dataset Card for sentiment_challenge
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("Ranasalh/sentiment_challenge", 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("Ranasalh/sentiment_challenge")
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
+
61
+
62
+ ### Questions
63
+
64
+ 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.
65
+
66
+ | Question Name | Title | Type | Required | Description | Values/Labels |
67
+ | ------------- | ----- | ---- | -------- | ----------- | ------------- |
68
+ | label_0 | label_0 | label_selection | True | N/A | ['positive', 'negative', 'neutral'] |
69
+
70
+
71
+ <!-- check length of metadata properties -->
72
+
73
+ ### Metadata
74
+
75
+ The **metadata** is a dictionary that can be used to provide additional information about the dataset record.
76
+ | Metadata Name | Title | Type | Values | Visible for Annotators |
77
+ | ------------- | ----- | ---- | ------ | ---------------------- |
78
+ | id | id | integer | - | True |
79
+
80
+
81
+
82
+
83
+
84
+ ### Data Splits
85
+
86
+ The dataset contains a single split, which is `train`.
87
+
88
+ ## Dataset Creation
89
+
90
+ ### Curation Rationale
91
+
92
+ [More Information Needed]
93
+
94
+ ### Source Data
95
+
96
+ #### Initial Data Collection and Normalization
97
+
98
+ [More Information Needed]
99
+
100
+ #### Who are the source language producers?
101
+
102
+ [More Information Needed]
103
+
104
+ ### Annotations
105
+
106
+ #### Annotation guidelines
107
+
108
+ [More Information Needed]
109
+
110
+ #### Annotation process
111
+
112
+ [More Information Needed]
113
+
114
+ #### Who are the annotators?
115
+
116
+ [More Information Needed]
117
+
118
+ ### Personal and Sensitive Information
119
+
120
+ [More Information Needed]
121
+
122
+ ## Considerations for Using the Data
123
+
124
+ ### Social Impact of Dataset
125
+
126
+ [More Information Needed]
127
+
128
+ ### Discussion of Biases
129
+
130
+ [More Information Needed]
131
+
132
+ ### Other Known Limitations
133
+
134
+ [More Information Needed]
135
+
136
+ ## Additional Information
137
+
138
+ ### Dataset Curators
139
+
140
+ [More Information Needed]
141
+
142
+ ### Licensing Information
143
+
144
+ [More Information Needed]
145
+
146
+ ### Citation Information
147
+
148
+ [More Information Needed]
149
+
150
+ ### Contributions
151
+
152
+ [More Information Needed]