Views
No views yet
CommunityLM project, please refer to this our paper and github page.Fine-tuned CommunityLM for the Democratic Twitter community.1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3tokenizer = AutoTokenizer.from_pretrained("CommunityLM/republican-twitter-gpt2")
4
5model = AutoModelForCausalLM.from_pretrained("CommunityLM/republican-twitter-gpt2")1@inproceedings{jiang-etal-2022-communitylm,
2 title = "CommunityLM: Probing Partisan Worldviews from Language Models",
3 author = {Jiang, Hang and Beeferman, Doug and Roy, Brandon and Roy, Deb},
4 booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
5 year = "2022",
6 publisher = "International Committee on Computational Linguistics",
7}