What does a Text Classifier Learn about Morality? An Explainable Method for Cross-Domain Comparison of Moral Rhetoric - code
收藏DataCite Commons2023-12-18 更新2024-07-03 收录
下载链接:
https://data.4tu.nl/datasets/1e71138c-be26-4652-971a-48a84837df8e
下载链接
链接失效反馈官方服务:
资源简介:
Code for the paper "What does a Text Classifier Learn about Morality? An Explainable Method for Cross-Domain Comparison of Moral Rhetoric", published at ACL '23. This code implements Tomea, an Explainable AI method for investigating the difference in how language models represent morality across domains. Given a pair of datasets and models trained on the datasets, Tomea generates 10 m-distances and one d-distance to measure the difference between the datasets, based on the SHAP method. We make pairwise comparisons of seven models trained on the MFTC datasets (available at this DOI: 10.4121/646b20e3-e24f-452d-938a-bcb6ce30913c<strong>).</strong>
提供机构:
4TU.ResearchData
创建时间:
2023-12-18



