Downloads · 30 days
48
1% of all-time downloads
CommunityLM/republican-twitter-gpt2
republican-twitter-gpt2 is a text generation model from CommunityLM. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
- This is the Republican community GPT-2 language model, fine-tuned on 4.7M (~100M tokens) tweets of Republican Twitter users between 2019-01-01 and 2020-04-10. - For more details about the CommunityLM project, please…
Downloads · 30 days
48
1% of all-time downloads
All-time downloads
3.4K
Public
Repo size
1 GB
Likes
0
Public
Click a slice to open those files.
.bin510 MB · 99%
From the Hugging Face model README
CommunityLM project, please refer to this our paper and github page.Fine-tuned CommunityLM for the Republican Twitter community.from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("CommunityLM/republican-twitter-gpt2")
model = AutoModelForCausalLM.from_pretrained("CommunityLM/republican-twitter-gpt2")
If you use this repository in your research, please kindly cite our paper:
@inproceedings{jiang-etal-2022-communitylm,
title = "CommunityLM: Probing Partisan Worldviews from Language Models",
author = {Jiang, Hang and Beeferman, Doug and Roy, Brandon and Roy, Deb},
booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
year = "2022",
publisher = "International Committee on Computational Linguistics",
}