%0 Conference Proceedings %T RoMa at SemEval-2021 Task 7: A Transformer-based Approach for Detecting and Rating Humor and Offense %A Labadie, Roberto %A Rodriguez, Mariano Jason %A Ortega, Reynier %A Rosso, Paolo %Y Palmer, Alexis %Y Schneider, Nathan %Y Schluter, Natalie %Y Emerson, Guy %Y Herbelot, Aurelie %Y Zhu, Xiaodan %S Proceedings of the 15th International Workshop on Semantic Evaluation (SemEval-2021) %D 2021 %8 August %I Association for Computational Linguistics %C Online %F labadie-etal-2021-roma %X In this paper we describe the systems used by the RoMa team in the shared task on Detecting and Rating Humor and Offense (HaHackathon) at SemEval 2021. Our systems rely on data representations learned through fine-tuned neural language models. Particularly, we explore two distinct architectures. The first one is based on a Siamese Neural Network (SNN) combined with a graph-based clustering method. The SNN model is used for learning a latent space where instances of humor and non-humor can be distinguished. The clustering method is applied to build prototypes of both classes which are used for training and classifying new messages. The second one combines neural language model representations with a linear regression model which makes the final ratings. Our systems achieved the best results for humor classification using model one, whereas for offensive and humor rating the second model obtained better performance. In the case of the controversial humor prediction, the most significant improvement was achieved by a fine-tuning of the neural language model. In general, the results achieved are encouraging and give us a starting point for further improvements. %R 10.18653/v1/2021.semeval-1.37 %U https://aclanthology.org/2021.semeval-1.37 %U https://doi.org/10.18653/v1/2021.semeval-1.37 %P 297-305