IlyaGusev commited on
Commit
497e94f
1 Parent(s): cd95606

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +109 -1
README.md CHANGED
@@ -89,6 +89,114 @@ task_categories:
89
  - text-generation
90
  language:
91
  - ru
 
92
  ---
93
 
94
- # Habrahabr dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  - text-generation
90
  language:
91
  - ru
92
+ - en
93
  ---
94
 
95
+ # Habr dataset
96
+
97
+ ## Table of Contents
98
+ - [Table of Contents](#table-of-contents)
99
+ - [Description](#description)
100
+ - [Usage](#usage)
101
+ - [Data Instances](#data-instances)
102
+ - [Source Data](#source-data)
103
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
104
+
105
+ ## Description
106
+
107
+ **Summary:** Dataset of posts and comments from [habr.com](https://habr.com/ru/all/).
108
+
109
+ **Script:** [save_habr.py](https://github.com/IlyaGusev/rulm/blob/master/data_processing/save_habr.py)
110
+
111
+ **Point of Contact:** [Ilya Gusev](ilya.gusev@phystech.edu)
112
+
113
+ **Languages:** Russian, English, some programming code.
114
+
115
+
116
+ ## Usage
117
+
118
+ ```python
119
+ from datasets import load_dataset
120
+ dataset = load_dataset('IlyaGusev/habr', split="train")
121
+ ```
122
+
123
+ ## Data Instances
124
+
125
+ ```
126
+ {
127
+ "id": 12730,
128
+ "language": "ru",
129
+ "url": "https://habr.com/ru/post/12730/",
130
+ "text_markdown": "...",
131
+ "text_html": "...",
132
+ "lead_markdown": "...",
133
+ "lead_html": "...",
134
+ "type": "article",
135
+ "labels": [],
136
+ "original_author": null,
137
+ "original_url": null,
138
+ "time_published": 1185962380,
139
+ "author": "...",
140
+ "title": "Хочешь в университет — сделай презентацию",
141
+ "statistics": {
142
+ "commentsCount": 23,
143
+ "favoritesCount": 1,
144
+ "readingCount": 1542,
145
+ "score": 7,
146
+ "votesCount": 15,
147
+ "votesCountPlus": 11,
148
+ "votesCountMinus": 4
149
+ },
150
+ "hubs": [
151
+ "itcompanies"
152
+ ],
153
+ "flows": [
154
+ "popsci"
155
+ ],
156
+ "tags": [
157
+ "PowerPoint",
158
+ "презентация",
159
+ "абитуриенты",
160
+ ],
161
+ "reading_time": 1,
162
+ "format": null,
163
+ "complexity": null,
164
+ "comments": [
165
+ {
166
+ "id": 11653537,
167
+ "parent_id": null,
168
+ "level": 0,
169
+ "time_published": 1185963192,
170
+ "score": -1,
171
+ "votes": 1,
172
+ "message_html": "...",
173
+ "author": "...",
174
+ "children": [
175
+ 11653541
176
+ ]
177
+ },
178
+ {
179
+ "id": 11653541,
180
+ "parent_id": 11653537,
181
+ "level": 1,
182
+ "time_published": 1185967886,
183
+ "score": 0,
184
+ "votes": 0,
185
+ "message_html": "...",
186
+ "message_markdown": "...",
187
+ "author": "..."
188
+ }
189
+ ]
190
+ }
191
+ ```
192
+
193
+
194
+ ## Source Data
195
+
196
+ * The data source is the [Habr](https://habr.com/) website.
197
+ * API call example: [post 709430](https://habr.com/kek/v2/articles/709430).
198
+ * Processing script is [here](https://github.com/IlyaGusev/rulm/blob/master/data_processing/save_habr.py).
199
+
200
+ ## Personal and Sensitive Information
201
+
202
+ The dataset is not anonymized, so individuals' names can be found in the dataset. Information about the original authors is included in the dataset where possible.