lecheuklun
commited on
Commit
•
12e6f97
1
Parent(s):
1799d77
Upload folder using huggingface_hub
Browse files- .argilla/dataset.json +1 -1
- README.md +41 -37
.argilla/dataset.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"id": "a8b32f8d-e59f-4eb4-94ab-026e63947034", "inserted_at": "2024-10-02T15:32:33.602387", "updated_at": "2024-10-02T15:
|
|
|
1 |
+
{"id": "a8b32f8d-e59f-4eb4-94ab-026e63947034", "inserted_at": "2024-10-02T15:32:33.602387", "updated_at": "2024-10-02T15:33:48.210029", "name": "autocompletion_dataset", "status": "ready", "guidelines": "Highlight the lines of code you wish to remove.", "allow_extra_metadata": false, "distribution": {"strategy": "overlap", "min_submitted": 1}, "workspace_id": "9647bb7b-4ec9-4d1e-82f3-1fdb0bd379a8", "last_activity_at": "2024-10-02T15:33:48.209525"}
|
README.md
CHANGED
@@ -4,40 +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: status
|
17 |
-
dtype: string
|
18 |
-
- name: _server_id
|
19 |
-
dtype: string
|
20 |
-
- name: code
|
21 |
-
dtype: string
|
22 |
-
- name: span_label.responses
|
23 |
-
list:
|
24 |
-
list:
|
25 |
-
- name: end
|
26 |
-
dtype: int64
|
27 |
-
- name: label
|
28 |
-
dtype: string
|
29 |
-
- name: start
|
30 |
-
dtype: int64
|
31 |
-
- name: span_label.responses.users
|
32 |
-
sequence: string
|
33 |
-
- name: span_label.responses.status
|
34 |
-
sequence: string
|
35 |
-
splits:
|
36 |
-
- name: train
|
37 |
-
num_bytes: 1043
|
38 |
-
num_examples: 1
|
39 |
-
download_size: 11649
|
40 |
-
dataset_size: 1043
|
41 |
---
|
42 |
|
43 |
# Dataset Card for matlab-dataset
|
@@ -121,8 +87,26 @@ An example of a dataset instance in Argilla looks as follows:
|
|
121 |
},
|
122 |
"id": "599f6f88-38e3-4275-b2ca-a75827a1b8ae",
|
123 |
"metadata": {},
|
124 |
-
"responses": {
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
"suggestions": {},
|
127 |
"vectors": {}
|
128 |
}
|
@@ -135,7 +119,27 @@ While the same record in HuggingFace `datasets` looks as follows:
|
|
135 |
"_server_id": "bf8e3b61-a7c2-4ac9-bb2e-18f886ac2acd",
|
136 |
"code": "function [paragraphs, wordCounts, maxWordCount, maxParagraph] = processTextDocument(str)\n % Counts words in each paragraph and identifies the paragraph with the maximum number of words.\n\n % Split the document into paragraphs\n paragraphs = splitParagraphs(str);\n \n % Initialize an array to store word counts\n wordCounts = zeros(1, length(paragraphs));\n \n % Loop through each paragraph to count the number of words\n for i = 1:length(paragraphs)\n words = strsplit(paragraphs{i});\n wordCounts(i) = length(words);\n end\n \n [maxWordCount, idx] = max(wordCounts);\n \n % Identify the paragraph with the maximum word count\n if isempty(idx)\n maxParagraph = \"\";\n wordCounts = 0;\n maxWordCount = 0;\n else\n maxParagraph = paragraphs(idx);\n end\nend",
|
137 |
"id": "599f6f88-38e3-4275-b2ca-a75827a1b8ae",
|
138 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
}
|
140 |
```
|
141 |
|
|
|
4 |
- rlfh
|
5 |
- argilla
|
6 |
- human-feedback
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
|
9 |
# Dataset Card for matlab-dataset
|
|
|
87 |
},
|
88 |
"id": "599f6f88-38e3-4275-b2ca-a75827a1b8ae",
|
89 |
"metadata": {},
|
90 |
+
"responses": {
|
91 |
+
"span_label": [
|
92 |
+
{
|
93 |
+
"user_id": "344fe7e0-81e4-443c-a7de-a35222018436",
|
94 |
+
"value": [
|
95 |
+
{
|
96 |
+
"end": 46,
|
97 |
+
"label": "REMOVE",
|
98 |
+
"start": 9
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"end": 825,
|
102 |
+
"label": "REMOVE",
|
103 |
+
"start": 723
|
104 |
+
}
|
105 |
+
]
|
106 |
+
}
|
107 |
+
]
|
108 |
+
},
|
109 |
+
"status": "completed",
|
110 |
"suggestions": {},
|
111 |
"vectors": {}
|
112 |
}
|
|
|
119 |
"_server_id": "bf8e3b61-a7c2-4ac9-bb2e-18f886ac2acd",
|
120 |
"code": "function [paragraphs, wordCounts, maxWordCount, maxParagraph] = processTextDocument(str)\n % Counts words in each paragraph and identifies the paragraph with the maximum number of words.\n\n % Split the document into paragraphs\n paragraphs = splitParagraphs(str);\n \n % Initialize an array to store word counts\n wordCounts = zeros(1, length(paragraphs));\n \n % Loop through each paragraph to count the number of words\n for i = 1:length(paragraphs)\n words = strsplit(paragraphs{i});\n wordCounts(i) = length(words);\n end\n \n [maxWordCount, idx] = max(wordCounts);\n \n % Identify the paragraph with the maximum word count\n if isempty(idx)\n maxParagraph = \"\";\n wordCounts = 0;\n maxWordCount = 0;\n else\n maxParagraph = paragraphs(idx);\n end\nend",
|
121 |
"id": "599f6f88-38e3-4275-b2ca-a75827a1b8ae",
|
122 |
+
"span_label.responses": [
|
123 |
+
[
|
124 |
+
{
|
125 |
+
"end": 46,
|
126 |
+
"label": "REMOVE",
|
127 |
+
"start": 9
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"end": 825,
|
131 |
+
"label": "REMOVE",
|
132 |
+
"start": 723
|
133 |
+
}
|
134 |
+
]
|
135 |
+
],
|
136 |
+
"span_label.responses.status": [
|
137 |
+
"submitted"
|
138 |
+
],
|
139 |
+
"span_label.responses.users": [
|
140 |
+
"344fe7e0-81e4-443c-a7de-a35222018436"
|
141 |
+
],
|
142 |
+
"status": "completed"
|
143 |
}
|
144 |
```
|
145 |
|