burtenshaw HF Staff commited on
Commit
342f7a4
·
verified ·
1 Parent(s): 7594b81

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +47 -76
README.md CHANGED
@@ -4,75 +4,6 @@ tags:
4
  - rlfh
5
  - argilla
6
  - human-feedback
7
- configs:
8
- - config_name: default
9
- data_files:
10
- - split: train
11
- path: data/train-*
12
- dataset_info:
13
- features:
14
- - name: id
15
- dtype: string
16
- - name: _server_id
17
- dtype: string
18
- - name: text
19
- dtype: string
20
- - name: label.responses
21
- sequence: string
22
- - name: label.responses.users
23
- sequence: string
24
- - name: label.suggestion
25
- dtype: string
26
- - name: label.suggestion.score
27
- dtype: 'null'
28
- - name: label.suggestion.agent
29
- dtype: 'null'
30
- - name: topics.suggestion
31
- sequence: string
32
- - name: topics.suggestion.score
33
- sequence: float64
34
- - name: topics.suggestion.agent
35
- dtype: 'null'
36
- - name: ranking.suggestion
37
- sequence: string
38
- - name: ranking.suggestion.score
39
- dtype: 'null'
40
- - name: ranking.suggestion.agent
41
- dtype: 'null'
42
- - name: span.suggestion.agent
43
- dtype: 'null'
44
- - name: vector
45
- sequence: float64
46
- - name: span.suggestion
47
- list:
48
- - name: end
49
- dtype: int64
50
- - name: label
51
- dtype: string
52
- - name: start
53
- dtype: int64
54
- - name: comment.suggestion.agent
55
- dtype: 'null'
56
- - name: rating.suggestion.agent
57
- dtype: 'null'
58
- - name: span.suggestion.score
59
- dtype: 'null'
60
- - name: rating.suggestion
61
- dtype: int64
62
- - name: rating.suggestion.score
63
- dtype: 'null'
64
- - name: comment.suggestion.score
65
- dtype: float64
66
- - name: comment_score
67
- dtype: float64
68
- - name: comment.suggestion
69
- dtype: string
70
- splits:
71
- - name: train
72
- num_bytes: 1185
73
- num_examples: 4
74
- download_size: 16225
75
- dataset_size: 1185
76
  ---
77
 
78
  # Dataset Card for test-argilla-dataset
@@ -118,10 +49,10 @@ This dataset repo contains:
118
  * The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
119
  * A dataset configuration folder conforming to the Argilla dataset format in `.argilla`.
120
 
121
- ### Data in Argilla
122
-
123
  The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
124
 
 
 
125
  The **fields** are the dataset samples like a 'text' field.
126
 
127
  | Field Name | Title | Type | Required | Markdown |
@@ -129,6 +60,8 @@ The **fields** are the dataset samples like a 'text' field.
129
  | text | text | text | True | False |
130
 
131
 
 
 
132
  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.
133
 
134
  | Question Name | Title | Type | Required | Description | Values/Labels |
@@ -141,6 +74,10 @@ The **questions** are the questions that will be asked to the annotators. They c
141
  | span | span | span | True | N/A | N/A |
142
 
143
 
 
 
 
 
144
  The **metadata** is a dictionary that can be used to provide additional information about the dataset record.
145
  | Metadata Name | Title | Type | Values | Visible for Annotators |
146
  | ------------- | ----- | ---- | ------ | ---------------------- |
@@ -148,6 +85,8 @@ The **metadata** is a dictionary that can be used to provide additional informat
148
 
149
 
150
 
 
 
151
  The **vectors** contain a vector representation of the record that can be used in search.
152
 
153
  | Vector Name | Title | Dimensions |
@@ -157,26 +96,58 @@ The **vectors** contain a vector representation of the record that can be used i
157
 
158
 
159
 
160
- The **guidelines**, are optional as well, and are just a plain string that can be used to provide instructions to the annotators. Find those in the [annotation guidelines](#annotation-guidelines) section.
161
-
162
  ### Data Instances
163
 
164
  An example of a dataset instance in Argilla looks as follows:
165
 
166
  ```json
167
- "{\"id\":\"b583ab1c-6765-4915-94ff-245172fa92a9\",\"inserted_at\":null,\"updated_at\":null,\"fields\":{\"text\":\"Hello World, how are you?\"},\"metadata\":{},\"vectors\":{},\"responses\":[{\"values\":{\"label\":{\"value\":\"positive\"}},\"status\":\"draft\",\"user_id\":\"06f7d4c0-e048-43d2-ab3f-06f147616ac6\"}],\"suggestions\":[{\"value\":\"positive\",\"question_name\":\"label\",\"type\":null,\"score\":null,\"agent\":null,\"id\":\"49c86119-669f-4702-bc14-eb7f4da2bb9d\",\"question_id\":\"890c7c5b-d068-411d-9626-52b9ba49c8f5\"},{\"value\":[\"topic1\",\"topic2\"],\"question_name\":\"topics\",\"type\":null,\"score\":[0.9,0.8],\"agent\":null,\"id\":\"208722a7-4f5d-4bf8-a422-f92b8d8d589c\",\"question_id\":\"fc60838a-a0ad-4678-bad9-a86017585aff\"}],\"external_id\":\"8374351f-20ee-492e-afde-216958053b0f\"}"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  ```
169
 
170
  While the same record in HuggingFace `datasets` looks as follows:
171
 
172
  ```json
173
  {
174
- "_server_id": "b583ab1c-6765-4915-94ff-245172fa92a9",
175
  "comment.suggestion": null,
176
  "comment.suggestion.agent": null,
177
  "comment.suggestion.score": null,
178
  "comment_score": null,
179
- "id": "8374351f-20ee-492e-afde-216958053b0f",
180
  "label.responses": [
181
  "positive"
182
  ],
 
4
  - rlfh
5
  - argilla
6
  - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
 
9
  # Dataset Card for test-argilla-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 dataset samples like a 'text' field.
57
 
58
  | Field Name | Title | Type | Required | Markdown |
 
60
  | text | text | text | True | 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 |
 
74
  | span | span | span | True | N/A | N/A |
75
 
76
 
77
+ <!-- check length of metadata properties -->
78
+
79
+ ### Metadata
80
+
81
  The **metadata** is a dictionary that can be used to provide additional information about the dataset record.
82
  | Metadata Name | Title | Type | Values | Visible for Annotators |
83
  | ------------- | ----- | ---- | ------ | ---------------------- |
 
85
 
86
 
87
 
88
+
89
+ ### Vectors
90
  The **vectors** contain a vector representation of the record that can be used in search.
91
 
92
  | Vector Name | Title | Dimensions |
 
96
 
97
 
98
 
 
 
99
  ### Data Instances
100
 
101
  An example of a dataset instance in Argilla looks as follows:
102
 
103
  ```json
104
+ {
105
+ "_server_id": "91db788a-430c-4c73-b086-a65088efd117",
106
+ "fields": {
107
+ "text": "Hello World, how are you?"
108
+ },
109
+ "id": "04bd17cf-6e6b-4cc3-a9f6-4f6b7e88194c",
110
+ "metadata": {},
111
+ "responses": {
112
+ "label": [
113
+ {
114
+ "user_id": "06f7d4c0-e048-43d2-ab3f-06f147616ac6",
115
+ "value": "positive"
116
+ }
117
+ ]
118
+ },
119
+ "suggestions": {
120
+ "label": {
121
+ "agent": null,
122
+ "score": null,
123
+ "value": "positive"
124
+ },
125
+ "topics": {
126
+ "agent": null,
127
+ "score": [
128
+ 0.9,
129
+ 0.8
130
+ ],
131
+ "value": [
132
+ "topic1",
133
+ "topic2"
134
+ ]
135
+ }
136
+ },
137
+ "vectors": {}
138
+ }
139
  ```
140
 
141
  While the same record in HuggingFace `datasets` looks as follows:
142
 
143
  ```json
144
  {
145
+ "_server_id": "91db788a-430c-4c73-b086-a65088efd117",
146
  "comment.suggestion": null,
147
  "comment.suggestion.agent": null,
148
  "comment.suggestion.score": null,
149
  "comment_score": null,
150
+ "id": "04bd17cf-6e6b-4cc3-a9f6-4f6b7e88194c",
151
  "label.responses": [
152
  "positive"
153
  ],