This repository contains the code and the datasets of the paper "Investigating the Representation of Disability in Large Language Models". This repository is still under construction.
The directory DatasetsAnnotated/ contains the annotated posts by the three annotators (1_ANN_csv.csv, 2_ANN_csv.csv, and 3_ANN_csv.csv) respectively. The file ANN.csv merges these three files. The files csv_NCR.csv, csv_depression.csv, and csv_vader.csv, contain the annotations of emotion, depression level, and sentiment of the posts in ANN.csv respectively.
The directory DatasetsGenerated/ contains the posts generated by the three LLMs, namely gpt4o-mini, Mixtral-8B and Gemini-1.5Flash. The model used is indicated in the file name. The files ending with "generated.csv" contain the posts generated by the models when representing people with disabilities. The ones ending with "no-dis-360.csv" contain the posts generated when representing personas instead. As for the annotated datasets, the files ending with NCR.csv, depression.csv, or VADER.csv contain the annotation of emotion, depression level, and sentiment of the posts, respectively.
The directory DatasetsCorpora/ contains the files used for extracting significantly different words with the z-score method.
The directory Scripts/ contains the scripts used to generate the posts with LLMs and annotate them with emotion, depression, and sentiment level. The directory Script_plot/ contains the code use to generate the paper plots.
This work has been conducted within the Digital Arena for Inclusive Humanities of the University of Verona, Italy.
A preliminary report of the experiments and analysis provided with this repository is available in:
@inproceedings{Bombieri-clic-it-2025,
author = {Marco Bombieri and
Simone Paolo Ponzetto and
Marco Rospocher},
title = {Do LLMs Authentically Represent Affective Experiences of People with Disabilities on Social Media?},
booktitle = {Eleventh Italian Conference on Computational Linguistics
(CLiC-it 2025), Cagliari, Italy, September 24-26, 2025},
series = {{CEUR} Workshop Proceedings},
publisher = {CEUR-WS.org},
year = {2025}
}