Sandhya2002 commited on
Commit
a1bf657
·
verified ·
1 Parent(s): 27f9697

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .argilla/dataset.json +16 -0
  2. .argilla/settings.json +66 -0
  3. .argilla/version.json +3 -0
  4. README.md +143 -33
.argilla/dataset.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "23812215-624f-464e-a17c-b19f9f882b74",
3
+ "name": "harry_potter_dataset",
4
+ "guidelines": "Read the context and check if the question is relevant to the text.",
5
+ "allow_extra_metadata": false,
6
+ "status": "ready",
7
+ "distribution": {
8
+ "strategy": "overlap",
9
+ "min_submitted": 1
10
+ },
11
+ "metadata": null,
12
+ "workspace_id": "7f98b888-76b3-4b4e-87db-2865d3095899",
13
+ "last_activity_at": "2026-03-05T07:23:56.413218",
14
+ "inserted_at": "2026-03-05T07:23:54.922604",
15
+ "updated_at": "2026-03-05T07:23:56.413218"
16
+ }
.argilla/settings.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "guidelines": "Read the context and check if the question is relevant to the text.",
3
+ "allow_extra_metadata": false,
4
+ "distribution": {
5
+ "strategy": "overlap",
6
+ "min_submitted": 1
7
+ },
8
+ "fields": [
9
+ {
10
+ "id": "123679ae-10bf-4342-9c8e-eacff32b1398",
11
+ "name": "Question",
12
+ "title": "Question",
13
+ "required": true,
14
+ "settings": {
15
+ "type": "text",
16
+ "use_markdown": false
17
+ },
18
+ "dataset_id": "23812215-624f-464e-a17c-b19f9f882b74",
19
+ "inserted_at": "2026-03-05T07:23:55.526974",
20
+ "updated_at": "2026-03-05T07:23:55.526974"
21
+ },
22
+ {
23
+ "id": "943afada-0481-4bc7-b1a8-a7d8342355e1",
24
+ "name": "Answer",
25
+ "title": "Answer",
26
+ "required": true,
27
+ "settings": {
28
+ "type": "text",
29
+ "use_markdown": false
30
+ },
31
+ "dataset_id": "23812215-624f-464e-a17c-b19f9f882b74",
32
+ "inserted_at": "2026-03-05T07:23:55.820379",
33
+ "updated_at": "2026-03-05T07:23:55.820379"
34
+ }
35
+ ],
36
+ "questions": [
37
+ {
38
+ "id": "8ba08520-7c58-44ad-a808-f664c8125c92",
39
+ "name": "question_quality",
40
+ "title": "question_quality",
41
+ "description": null,
42
+ "required": true,
43
+ "settings": {
44
+ "type": "label_selection",
45
+ "options": [
46
+ {
47
+ "value": "good",
48
+ "text": "good",
49
+ "description": null
50
+ },
51
+ {
52
+ "value": "bad",
53
+ "text": "bad",
54
+ "description": null
55
+ }
56
+ ],
57
+ "visible_options": null
58
+ },
59
+ "dataset_id": "23812215-624f-464e-a17c-b19f9f882b74",
60
+ "inserted_at": "2026-03-05T07:23:56.106911",
61
+ "updated_at": "2026-03-05T07:23:56.106911"
62
+ }
63
+ ],
64
+ "metadata": [],
65
+ "vectors": []
66
+ }
.argilla/version.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "argilla": "2.8.0"
3
+ }
README.md CHANGED
@@ -1,35 +1,145 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: status
7
- dtype: string
8
- - name: inserted_at
9
- dtype: timestamp[us]
10
- - name: updated_at
11
- dtype: timestamp[us]
12
- - name: _server_id
13
- dtype: string
14
- - name: Question
15
- dtype: string
16
- - name: Answer
17
- dtype: string
18
- - name: question_quality.responses
19
- dtype: 'null'
20
- - name: question_quality.responses.users
21
- dtype: 'null'
22
- - name: question_quality.responses.status
23
- dtype: 'null'
24
- splits:
25
- - name: train
26
- num_bytes: 35180
27
- num_examples: 100
28
- download_size: 29934
29
- dataset_size: 35180
30
- configs:
31
- - config_name: default
32
- data_files:
33
- - split: train
34
- path: data/train-*
35
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - rlfh
4
+ - argilla
5
+ - human-feedback
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
7
+
8
+ # Dataset Card for harry_potter_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("Sandhya2002/harry_potter_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("Sandhya2002/harry_potter_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
+ | Question | Question | text | True |
60
+ | Answer | Answer | text | True |
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
+ | question_quality | question_quality | label_selection | True | N/A | ['good', 'bad'] |
70
+
71
+
72
+ <!-- check length of metadata properties -->
73
+
74
+
75
+
76
+
77
+ ### Data Splits
78
+
79
+ The dataset contains a single split, which is `train`.
80
+
81
+ ## Dataset Creation
82
+
83
+ ### Curation Rationale
84
+
85
+ [More Information Needed]
86
+
87
+ ### Source Data
88
+
89
+ #### Initial Data Collection and Normalization
90
+
91
+ [More Information Needed]
92
+
93
+ #### Who are the source language producers?
94
+
95
+ [More Information Needed]
96
+
97
+ ### Annotations
98
+
99
+ #### Annotation guidelines
100
+
101
+ Read the context and check if the question is relevant to the text.
102
+
103
+ #### Annotation process
104
+
105
+ [More Information Needed]
106
+
107
+ #### Who are the annotators?
108
+
109
+ [More Information Needed]
110
+
111
+ ### Personal and Sensitive Information
112
+
113
+ [More Information Needed]
114
+
115
+ ## Considerations for Using the Data
116
+
117
+ ### Social Impact of Dataset
118
+
119
+ [More Information Needed]
120
+
121
+ ### Discussion of Biases
122
+
123
+ [More Information Needed]
124
+
125
+ ### Other Known Limitations
126
+
127
+ [More Information Needed]
128
+
129
+ ## Additional Information
130
+
131
+ ### Dataset Curators
132
+
133
+ [More Information Needed]
134
+
135
+ ### Licensing Information
136
+
137
+ [More Information Needed]
138
+
139
+ ### Citation Information
140
+
141
+ [More Information Needed]
142
+
143
+ ### Contributions
144
+
145
+ [More Information Needed]