This project evaluates the sentiment and ethical responses of popular LLMs (GPT, Gemini, etc.) to emotionally critical prompts. It is designed to assess their ethical alignment and emotional intelligence.
Due to the rise of recent queries into the ethical implications of LLM usage by everyday users, this project will serve to analyse the sentiment of these models (GPT, Claude, Gemini). The models will be fed sample conversations/prompts, and their responses will be analysed. The goal is to take a deeper look at human-machine interactions.
- Data Preparation: Prepare prompts in
data/prompts.csv
. - Response Collection: Use
src/fetch_responses.py
to query LLMs and save responses indata/llm_responses.csv
. - Sentiment Analysis: Run
src/sentiment_analysis.py
to analyze sentiment. - Ethical Evaluation: Use
src/ethical_evaluation.py
for ethicality scoring. - Visualization: Generate plots with
src/visualize_results.py
. - Reporting: Summarize findings in
results/
.
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt
. - Run the pipeline:
python main.py
.
Final results, including visualizations and reports, can be found in the results/
directory.
Feel free to submit issues or pull requests to improve the project!