You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

TORA: Topic-based Rule Affinity for Content Moderation

This repository provides datasets and LLM prompt templates used in the paper:

TORA: Topic-based Rule Affinity for Content Moderation in Social Media Communities


πŸ“Œ Overview

This repository supports research on rule-aware content moderation by releasing:

  • πŸ“Š A curated dataset of Reddit posts and community rules
  • 🧠 Prompt templates for Large Language Models (LLMs) used in:
    • Topic generation from community rules
    • Content moderation baselines (zero-shot / few-shot)

⚠️ Note: This repo does NOT include trained models, only data and prompt templates.


πŸ“‚ Repository Structure

β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ posts.csv
β”‚   β”œβ”€β”€ rules.csv
β”‚   β”œβ”€β”€ labels.csv
β”‚   └── README_data.md
β”‚
β”œβ”€β”€ prompts/
β”‚   β”œβ”€β”€ topic_generation_prompt.txt
β”‚   β”œβ”€β”€ moderation_zero_shot.txt
β”‚   β”œβ”€β”€ moderation_few_shot.txt
β”‚   └── README_prompts.md
β”‚
β”œβ”€β”€ examples/
β”‚   └── sample_input_output.json
β”‚
└── README.md
Downloads last month
3