Code for CSE 582: AI Ethics final project: Representing the Discursive Construction of Morality
caption
: code for generating discursive graphs from imagesclip
: code for finetuning and obtaining image representations from CLIPreddit-scrape.ipynb
: notebook for scraping Reddit data
Data sources: Social-Moral Image Database and Facebook Hateful Memes Dataset.
For inference and evaluation, download to data/smid
and data/hm
respectively.