Commit
•
fafc92b
1
Parent(s):
078ffe2
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,58 +1,56 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
features:
|
4 |
-
- name: id
|
5 |
-
dtype: string
|
6 |
-
id: field
|
7 |
-
- name: category
|
8 |
-
dtype: string
|
9 |
-
id: field
|
10 |
-
- name: original-instruction
|
11 |
-
dtype: string
|
12 |
-
id: field
|
13 |
-
- name: original-context
|
14 |
-
dtype: string
|
15 |
-
id: field
|
16 |
-
- name: original-response
|
17 |
-
dtype: string
|
18 |
-
id: field
|
19 |
-
- name: new-instruction
|
20 |
-
sequence:
|
21 |
-
- name: user_id
|
22 |
-
dtype: string
|
23 |
-
- name: value
|
24 |
-
dtype: string
|
25 |
-
- name: status
|
26 |
-
dtype: string
|
27 |
-
id: question
|
28 |
-
- name: new-context
|
29 |
-
sequence:
|
30 |
-
- name: user_id
|
31 |
-
dtype: string
|
32 |
-
- name: value
|
33 |
-
dtype: string
|
34 |
-
- name: status
|
35 |
-
dtype: string
|
36 |
-
id: question
|
37 |
-
- name: new-response
|
38 |
-
sequence:
|
39 |
-
- name: user_id
|
40 |
-
dtype: string
|
41 |
-
- name: value
|
42 |
-
dtype: string
|
43 |
-
- name: status
|
44 |
-
dtype: string
|
45 |
-
id: question
|
46 |
-
- name: external_id
|
47 |
-
dtype: string
|
48 |
-
id: external_id
|
49 |
-
splits:
|
50 |
-
- name: train
|
51 |
-
num_bytes: 25502887
|
52 |
-
num_examples: 15015
|
53 |
-
download_size: 15556858
|
54 |
-
dataset_size: 25502887
|
55 |
---
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
-
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
|
|
1 |
---
|
2 |
+
{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
+
## Guidelines
|
5 |
+
|
6 |
+
In this dataset, you will find a collection of records that show a category, an instruction, a context and a response to that instruction. The aim of the project is to correct the instructions, intput and responses to make sure they are of the highest quality and that they match the task category that they belong to. All three texts should be clear and include real information. In addition, the response should be as complete but concise as possible.
|
7 |
+
|
8 |
+
To curate the dataset, you will need to provide an answer to the following text fields:
|
9 |
+
|
10 |
+
1 - Final instruction:
|
11 |
+
The final version of the instruction field. You may copy it using the copy icon in the instruction field. Leave it as it is if it's ok or apply any necessary corrections. Remember to change the instruction if it doesn't represent well the task category of the record.
|
12 |
+
|
13 |
+
2 - Final context:
|
14 |
+
The final version of the instruction field. You may copy it using the copy icon in the context field. Leave it as it is if it's ok or apply any necessary corrections. If the task category and instruction don't need of an context to be completed, leave this question blank.
|
15 |
+
|
16 |
+
3 - Final response:
|
17 |
+
The final version of the response field. You may copy it using the copy icon in the response field. Leave it as it is if it's ok or apply any necessary corrections. Check that the response makes sense given all the fields above.
|
18 |
+
|
19 |
+
You will need to provide at least an instruction and a response for all records. If you are not sure about a record and you prefer not to provide a response, click Discard.
|
20 |
+
|
21 |
+
## Fields
|
22 |
+
|
23 |
+
* `id` is of type <class 'str'>
|
24 |
+
* `category` is of type <class 'str'>
|
25 |
+
* `original-instruction` is of type <class 'str'>
|
26 |
+
* `original-context` is of type <class 'str'>
|
27 |
+
* `original-response` is of type <class 'str'>
|
28 |
+
|
29 |
+
|
30 |
+
## Questions
|
31 |
+
|
32 |
+
* `new-instruction` : Write the final version of the instruction, making sure that it matches the task category. If the original instruction is ok, copy and paste it here.
|
33 |
+
* `new-context` : Write the final version of the context, making sure that it makes sense with the task category. If the original context is ok, copy and paste it here. If an context is not needed, leave this empty.
|
34 |
+
* `new-response` : Write the final version of the response, making sure that it matches the task category and makes sense for the instruction (and context) provided. If the original response is ok, copy and paste it here.
|
35 |
+
|
36 |
+
|
37 |
+
## Load with Argilla
|
38 |
+
|
39 |
+
To load this dataset with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
|
40 |
+
|
41 |
+
```python
|
42 |
+
import argilla as rg
|
43 |
+
|
44 |
+
ds = rg.FeedbackDataset.from_huggingface('argilla/databricks-dolly-15k-curated-en')
|
45 |
+
```
|
46 |
+
|
47 |
+
## Load with Datasets
|
48 |
+
|
49 |
+
To load this dataset with Datasets, you'll just need to install Datasets as `pip install datasets --upgrade` and then use the following code:
|
50 |
+
|
51 |
+
```python
|
52 |
+
from datasets import load_dataset
|
53 |
+
|
54 |
+
ds = load_dataset('argilla/databricks-dolly-15k-curated-en')
|
55 |
+
```
|
56 |
|
|