Code and ressources for the article Large Language Models Behave (Almost) As Rational Speech Actors.
Data on the used metaphors and their human interpretation can be found as electronic supplementary material of the article Semantic properties, aptness, familiarity, conventionality, and interpretive diversity scores for 84 metaphors and similes.
RSA_score_public.ipynb
: main code notebook with data computation and visualization
Features.txt
: list of adjectives used as vocabulary to describe metaphors vehicles and objects
inputs.txt
: precomputed input file for scoring