File size: 2,453 Bytes
1975910
 
 
96864b1
1975910
96864b1
1975910
96864b1
 
1975910
 
96864b1
d94e9c9
96864b1
 
 
 
 
 
 
 
 
 
 
 
6966631
96864b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1975910
 
6966631
1975910
 
 
6966631
1975910
 
 
 
6966631
1975910
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
license: mit
task_categories:
  - text-classification
language:
  - en
tags:
  - politics
  - tweets
pretty_name: Political Slant Tweets Dataset
size_categories:
  - 100K<n<1M
features:
  - name: text
    dtype: string
  - name: raw_text
    dtype: string
  - name: filename
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          "0": republican
          "1": democratic
configs:
  - config_name: style
    default: true
    data_files:
      - split: train
        path:
          - political_data/democratic_only.train.en.parquet
          - political_data/republican_only.train.en.parquet
      - split: eval
        path:
          - political_data/democratic_only.dev.en.parquet
          - political_data/republican_only.dev.en.parquet
      - split: test
        path:
          - political_data/democratic_only.test.en.parquet
          - political_data/republican_only.test.en.parquet
  - config_name: classifier
    data_files:
      - split: train
        path: political_data/classtrain.txt.parquet
      - split: eval
        path:
          - political_data/democratic_only.dev.en.parquet
          - political_data/republican_only.dev.en.parquet
      - split: test
        path:
          - political_data/democratic_only.test.en.parquet
          - political_data/republican_only.test.en.parquet
---

# Political Slant Tweets Dataset

Political slant transfer dataset. Contains two classes of political tweets between Democratic and Republican Politicans. This dataset can be used for classification tasks.

This is taken directly from the below:

    http://tts.speech.cs.cmu.edu/style_models/political_data.tar
    tar -xvf political_data.tar

I can't take credit for this dataset; this is largely the work of Prabhumoye et al. (See References below). I have detokenized (via MosesDetokenizer), and added relevant labels for creature comforts.

## Reference

    @inproceedings{style_transfer_acl18,
      title={Style Transfer Through Back-Translation},
      author={Prabhumoye, Shrimai and Tsvetkov, Yulia and Salakhutdinov, Ruslan and Black, Alan W},
      year={2018},
      booktitle={Proc. ACL}
      }
    
    @inproceedings{rtgender,
      title={{RtGender}: A Corpus for Studying Differential Responses to Gender},
      author={Voigt, Rob and Jurgens, David and Prabhakaran, Vinodkumar and Jurafsky, Dan and Tsvetkov, Yulia},
      year={2018},
      booktitle={Proc. LREC},
      }