Instructions to use ddore14/Sentence-RooseBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ddore14/Sentence-RooseBERT with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ddore14/Sentence-RooseBERT") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Sentence-RooseBERT
Sentence-RooseBERT is a Sentence-BERT adaptation of RooseBERT, a domain-specific language model pre-trained on English political debates and parliamentary speeches. It produces fixed-size sentence embeddings suited for semantic similarity, clustering, and retrieval tasks over political text.
β οΈ This model has not yet been formally evaluated. It is released as an experimental variant for the community to explore.
π Paper: Retrieving Relations, Detecting Fallacies: A RAG Approach to Political Debate Analysis
π» GitHub: https://github.com/deborahdore/FallacyRAG
Training Data
Sentence-RooseBERT was pre-trained on 11GB of English political debate transcripts (1919β2025), including debates from Africa, Australia, Canada, Europe, Ireland, New Zealand, Scotland, the United Kingdom, the United States, the UN General Assembly, and the UN Security Council. See the base RooseBERT model cards for full details.
Intended Use
This model is intended for sentence-level tasks over political text, such as:
- Semantic textual similarity between debate passages or speeches
- Semantic search and retrieval over political corpora
- Clustering of political arguments or speeches by topic
- Classification via embedding similarity (e.g., zero-shot or few-shot)
How to Use
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("ddore14/Sentence-RooseBERT")
sentences = [
"We must invest in renewable energy to combat climate change.",
"The government's climate policy is failing future generations."
]
embeddings = model.encode(sentences)
print(embeddings.shape) # (2, 768)
Limitations
- This model has not been formally evaluated on any downstream benchmark. Performance on political NLP tasks is unknown.
- The model inherits any biases present in official political speech corpora, including geopolitical and linguistic over-representation.
- Not suitable for generative tasks or token-level labelling.
Related Models
| Model | Training | Casing | HuggingFace ID |
|---|---|---|---|
| RooseBERT-cont-cased | Continued pre-training | Cased | ddore14/RooseBERT-cont-cased |
| RooseBERT-cont-uncased | Continued pre-training | Uncased | ddore14/RooseBERT-cont-uncased |
| RooseBERT-scr-cased | From scratch | Cased | ddore14/RooseBERT-scr-cased |
| RooseBERT-scr-uncased | From scratch | Uncased | ddore14/RooseBERT-scr-uncased |
Citation
If you use RooseBERT in your research, please cite:
@misc{dore2026retrievingrelationsdetectingfallacies,
title={Retrieving Relations, Detecting Fallacies: A RAG Approach to Political Debate Analysis},
author={Deborah Dore and Greta Damo and Elena Cabrio and Serena Villata},
year={2026},
eprint={2608.27471},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2608.27471},
}
- Downloads last month
- 126