- **Paper Title**: Hate Personified: Investigating the role of LLMs in content moderation pipeline for hate speech
- **Important Update**: Please note that RQ1 in the paper corresponds to RQ3 and vice versa.

### Code & File Structure Overview

- **Home**: Contains folders for RQ1, RQ2, RQ3, ML (Multi-Lingual), and Graphs.
- **All_Model_All_Prompt_ChatGPT.py & All_Model_All_Prompt_OS_LLMs.py**: Sample code to generate responses for different sets of LLMs and prompt files.
- **PromptFileGenerator.ipynb**: Code to generate a prompt file.
- **TempVariation.py**: Temperature analysis for flan-t5-xxl.
- **Readme_file_guide.xlsx**: Helps map prompt file code to the prompt context.

### Folder Details

- **RQ1/RQ2/RQ3/ML**:
  - **OS_LLMs**: Prompt files with output for open-source models (except ML).
  - **ChatGPT**: For the closed-source model (GPT-3.5 Turbo).
  - Each RQ has an analysis folder.

- **Graphs**: Contains files to generate the graphs presented in the paper.