Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
languages:
|
3 |
+
- ru
|
4 |
+
multilinguality:
|
5 |
+
- monolingual
|
6 |
+
size_categories:
|
7 |
+
- 10K<n<100K
|
8 |
+
task_categories:
|
9 |
+
- text-classification
|
10 |
+
- sentiment-analysis
|
11 |
+
task_ids:
|
12 |
+
- sentiment-classification
|
13 |
+
---
|
14 |
+
### Dataset Summary
|
15 |
+
The dataset contains user reviews about medical facilities.
|
16 |
+
|
17 |
+
In total it contains 70,597 reviews. The detailed distribution on sentiment scale is:
|
18 |
+
- 41,419 positive reviews;
|
19 |
+
- 29,178 negative reviews.
|
20 |
+
### Data Fields
|
21 |
+
Each sample contains the following fields:
|
22 |
+
- **review_id**;
|
23 |
+
- **category** category of medical facility (one of 48);
|
24 |
+
- **title**: review title;
|
25 |
+
- **content**: review text;
|
26 |
+
- **sentiment**: sentiment (<em>positive</em> or <em>negative</em>);
|
27 |
+
- **source_url**.
|
28 |
+
### Python
|
29 |
+
```python3
|
30 |
+
import pandas as pd
|
31 |
+
df = pd.read_json('hfreviews.jsonl', lines=True)
|
32 |
+
df.sample(5)
|
33 |
+
```
|