Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
csv
Sub-tasks:
multi-class-classification
Languages:
English
Size:
10K - 100K
License:
Ricky Costa
commited on
Commit
•
5b4b91d
1
Parent(s):
577220f
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,98 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
annotations_creators:
|
3 |
+
- other
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
language_creators:
|
7 |
+
- other
|
8 |
+
license:
|
9 |
+
- mit
|
10 |
+
multilinguality:
|
11 |
+
- monolingual
|
12 |
+
pretty_name: twitter financial news
|
13 |
+
size_categories:
|
14 |
+
- 10K<n<100K
|
15 |
+
source_datasets:
|
16 |
+
- original
|
17 |
+
tags:
|
18 |
+
- twitter
|
19 |
+
- finance
|
20 |
+
- markets
|
21 |
+
- stocks
|
22 |
+
- wallstreet
|
23 |
+
- quant
|
24 |
+
- hedgefunds
|
25 |
+
- markets
|
26 |
+
task_categories:
|
27 |
+
- text-classification
|
28 |
+
task_ids:
|
29 |
+
- multi-class-classification
|
30 |
---
|
31 |
+
|
32 |
+
### Dataset Description
|
33 |
+
|
34 |
+
The Twitter Financial News dataset is an English-language dataset containing an annotated corpus of finance-related tweets. The dataset is split into two groups:
|
35 |
+
|
36 |
+
1. Topic classification: 21,107 documents annotated with 20 labels:
|
37 |
+
|
38 |
+
```python
|
39 |
+
topics = {
|
40 |
+
"LABEL_0": "Analyst Update",
|
41 |
+
"LABEL_1": "Fed | Central Banks",
|
42 |
+
"LABEL_2": "Company | Product News",
|
43 |
+
"LABEL_3": "Treasuries | Corporate Debt",
|
44 |
+
"LABEL_4": "Dividend",
|
45 |
+
"LABEL_5": "Earnings",
|
46 |
+
"LABEL_6": "Energy | Oil",
|
47 |
+
"LABEL_7": "Financials",
|
48 |
+
"LABEL_8": "Currencies",
|
49 |
+
"LABEL_9": "General News | Opinion",
|
50 |
+
"LABEL_10": "Gold | Metals | Materials",
|
51 |
+
"LABEL_11": "IPO",
|
52 |
+
"LABEL_12": "Legal | Regulation",
|
53 |
+
"LABEL_13": "M&A | Investments",
|
54 |
+
"LABEL_14": "Macro",
|
55 |
+
"LABEL_15": "Markets",
|
56 |
+
"LABEL_16": "Politics",
|
57 |
+
"LABEL_17": "Personnel Change",
|
58 |
+
"LABEL_18": "Stock Commentary",
|
59 |
+
"LABEL_19": "Stock Movement",
|
60 |
+
}
|
61 |
+
```
|
62 |
+
|
63 |
+
2. Sentiment analysis: 11,932 documents annotated with 3 labels:
|
64 |
+
|
65 |
+
```python
|
66 |
+
sentiments = {
|
67 |
+
"LABEL_0": "Bearish",
|
68 |
+
"LABEL_1": "Bullish",
|
69 |
+
"LABEL_2": "Neutral"
|
70 |
+
}
|
71 |
+
```
|
72 |
+
|
73 |
+
The data was collected using the Twitter API. The current dataset supports the multi-class classification task.
|
74 |
+
|
75 |
+
### Task 1: Sentiment Analysis
|
76 |
+
|
77 |
+
# Data Splits
|
78 |
+
There are 2 splits: train and validation. Below are the statistics:
|
79 |
+
|
80 |
+
| Dataset Split | Number of Instances in Split |
|
81 |
+
| ------------- | ------------------------------------------- |
|
82 |
+
| Train | 9,938 |
|
83 |
+
| Validation | 2,486 |
|
84 |
+
|
85 |
+
|
86 |
+
### Task 2: Topic Classification
|
87 |
+
|
88 |
+
# Data Splits
|
89 |
+
There are 2 splits: train and validation. Below are the statistics:
|
90 |
+
|
91 |
+
| Dataset Split | Number of Instances in Split |
|
92 |
+
| ------------- | ------------------------------------------- |
|
93 |
+
| Train | 16,990 |
|
94 |
+
| Validation | 4,118 |
|
95 |
+
|
96 |
+
|
97 |
+
# Licensing Information
|
98 |
+
The Twitter Financial Dataset
|