burtenshaw HF Staff commited on
Commit
069c1c8
·
verified ·
1 Parent(s): fb9ca63

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +20 -71
README.md CHANGED
@@ -4,73 +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: rating.suggestion.score
37
- dtype: 'null'
38
- - name: span.suggestion.score
39
- dtype: 'null'
40
- - name: comment.suggestion.score
41
- dtype: float64
42
- - name: rating.suggestion
43
- dtype: int64
44
- - name: ranking.suggestion.score
45
- dtype: 'null'
46
- - name: span.suggestion.agent
47
- dtype: 'null'
48
- - name: comment.suggestion.agent
49
- dtype: 'null'
50
- - name: comment.suggestion
51
- dtype: string
52
- - name: span.suggestion
53
- list:
54
- - name: end
55
- dtype: int64
56
- - name: label
57
- dtype: string
58
- - name: start
59
- dtype: int64
60
- - name: ranking.suggestion
61
- sequence: string
62
- - name: ranking.suggestion.agent
63
- dtype: 'null'
64
- - name: comment_score
65
- dtype: float64
66
- - name: rating.suggestion.agent
67
- dtype: 'null'
68
- splits:
69
- - name: train
70
- num_bytes: 924
71
- num_examples: 3
72
- download_size: 15392
73
- dataset_size: 924
74
  ---
75
 
76
  # Dataset Card for test-argilla-dataset
@@ -157,9 +90,17 @@ The **suggestions** are human or machine generated recommendations for each ques
157
  The **metadata** is a dictionary that can be used to provide additional information about the dataset record. This can be useful to provide additional context to the annotators, or to provide additional information about the dataset record itself. For example, you can use this to provide a link to the original source of the dataset record, or to provide additional information about the dataset record itself, such as the author, the date, or the source. The metadata is always optional, and can be potentially linked to the `metadata_properties` defined in the dataset configuration file in `argilla.yaml`.
158
 
159
 
 
 
 
 
 
 
 
160
 
161
  | Metadata Name | Title | Type | Values | Visible for Annotators |
162
  | ------------- | ----- | ---- | ------ | ---------------------- |
 
163
 
164
 
165
  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.
@@ -169,24 +110,28 @@ The **guidelines**, are optional as well, and are just a plain string that can b
169
  An example of a dataset instance in Argilla looks as follows:
170
 
171
  ```json
172
- "{\"id\":\"c384826c-19ef-41bf-a8d8-b9ac7c1d1e1a\",\"inserted_at\":null,\"updated_at\":null,\"fields\":{\"text\":\"Hello World, how are you?\"},\"metadata\":{},\"vectors\":{},\"responses\":[{\"values\":{\"label\":{\"value\":\"positive\"}},\"status\":\"draft\",\"user_id\":\"1a4d1b86-4392-41f4-8e17-4a9a635c3e81\"}],\"suggestions\":[{\"value\":\"I\u0027m doing great, thank you!\",\"question_name\":\"comment\",\"type\":null,\"score\":null,\"agent\":null,\"id\":\"1aeab5cf-3905-4cea-9c5d-25c1c69ec937\",\"question_id\":\"8b4538da-0f6b-4ccd-a4e2-5309ec5756cf\"},{\"value\":[\"topic1\",\"topic2\"],\"question_name\":\"topics\",\"type\":null,\"score\":[0.9,0.8],\"agent\":null,\"id\":\"ad077b9f-1b06-4b02-b305-f11d9811e967\",\"question_id\":\"c0f10135-b3b4-45c2-b745-1cc166fa1402\"}],\"external_id\":\"f9a02dda-dd95-4a93-b73b-d25bbfe66015\"}"
173
  ```
174
 
175
  While the same record in HuggingFace `datasets` looks as follows:
176
 
177
  ```json
178
  {
179
- "_server_id": "c384826c-19ef-41bf-a8d8-b9ac7c1d1e1a",
180
- "comment.suggestion": "I\u0027m doing great, thank you!",
181
  "comment.suggestion.agent": null,
182
  "comment.suggestion.score": null,
183
- "id": "f9a02dda-dd95-4a93-b73b-d25bbfe66015",
 
184
  "label.responses": [
185
  "positive"
186
  ],
187
  "label.responses.users": [
188
  "1a4d1b86-4392-41f4-8e17-4a9a635c3e81"
189
  ],
 
 
 
190
  "ranking.suggestion": null,
191
  "ranking.suggestion.agent": null,
192
  "ranking.suggestion.score": null,
@@ -236,6 +181,10 @@ Among the dataset fields, we differentiate between the following:
236
  * (optional) **span-suggestion** is of type `span`.
237
 
238
 
 
 
 
 
239
 
240
  Additionally, we also have two more fields that are optional and are the following:
241
 
 
4
  - rlfh
5
  - argilla
6
  - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ---
8
 
9
  # Dataset Card for test-argilla-dataset
 
90
  The **metadata** is a dictionary that can be used to provide additional information about the dataset record. This can be useful to provide additional context to the annotators, or to provide additional information about the dataset record itself. For example, you can use this to provide a link to the original source of the dataset record, or to provide additional information about the dataset record itself, such as the author, the date, or the source. The metadata is always optional, and can be potentially linked to the `metadata_properties` defined in the dataset configuration file in `argilla.yaml`.
91
 
92
 
93
+ **✨ NEW** The **vectors** are different columns that contain a vector in floating point, which is constraint to the pre-defined dimensions in the **vectors_settings** when configuring the vectors within the dataset itself, also the dimensions will always be 1-dimensional. The **vectors** are optional and identified by the pre-defined vector name in the dataset configuration file in `argilla.yaml`.
94
+
95
+ | Vector Name | Title | Dimensions |
96
+ |-------------|-------|------------|
97
+ | vector | vector | [1, 3] |
98
+
99
+
100
 
101
  | Metadata Name | Title | Type | Values | Visible for Annotators |
102
  | ------------- | ----- | ---- | ------ | ---------------------- |
103
+ | comment_score | comment_score | | None - None | True |
104
 
105
 
106
  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.
 
110
  An example of a dataset instance in Argilla looks as follows:
111
 
112
  ```json
113
+ "{\"id\":\"243559eb-09a7-4a6c-a5f3-6e1eef18591d\",\"inserted_at\":null,\"updated_at\":null,\"fields\":{\"text\":\"Hello World, how are you?\"},\"metadata\":{},\"vectors\":{},\"responses\":[{\"values\":{\"label\":{\"value\":\"positive\"}},\"status\":\"draft\",\"user_id\":\"1a4d1b86-4392-41f4-8e17-4a9a635c3e81\"}],\"suggestions\":[{\"value\":\"positive\",\"question_name\":\"label\",\"type\":null,\"score\":null,\"agent\":null,\"id\":\"6a623501-7c1c-4a1d-9ba8-446fba262c8a\",\"question_id\":\"0211b24a-4e1f-4a09-80ca-b47927179d32\"},{\"value\":[\"topic1\",\"topic2\"],\"question_name\":\"topics\",\"type\":null,\"score\":[0.9,0.8],\"agent\":null,\"id\":\"6fc0b3dc-6492-41a3-863d-1d07a34d1d08\",\"question_id\":\"8117d31c-5722-49f3-a2f2-80a10ebd8207\"}],\"external_id\":\"8c368dd5-29c9-4507-abe7-80b032676016\"}"
114
  ```
115
 
116
  While the same record in HuggingFace `datasets` looks as follows:
117
 
118
  ```json
119
  {
120
+ "_server_id": "243559eb-09a7-4a6c-a5f3-6e1eef18591d",
121
+ "comment.suggestion": null,
122
  "comment.suggestion.agent": null,
123
  "comment.suggestion.score": null,
124
+ "comment_score": null,
125
+ "id": "8c368dd5-29c9-4507-abe7-80b032676016",
126
  "label.responses": [
127
  "positive"
128
  ],
129
  "label.responses.users": [
130
  "1a4d1b86-4392-41f4-8e17-4a9a635c3e81"
131
  ],
132
+ "label.suggestion": "positive",
133
+ "label.suggestion.agent": null,
134
+ "label.suggestion.score": null,
135
  "ranking.suggestion": null,
136
  "ranking.suggestion.agent": null,
137
  "ranking.suggestion.score": null,
 
181
  * (optional) **span-suggestion** is of type `span`.
182
 
183
 
184
+ * **✨ NEW** **Vectors**: As of Argilla 1.19.0, the vectors have been included in order to add support for similarity search to explore similar records based on vector search powered by the search engine defined. The vectors are optional and cannot be seen within the UI, those are uploaded and internally used. Also the vectors will always be optional, and only the dimensions previously defined in their settings.
185
+
186
+ * (optional) **vector** is of type `float32` and has a dimension of (1, `3`).
187
+
188
 
189
  Additionally, we also have two more fields that are optional and are the following:
190