Large Language Models have been successful in a wide variety of Natural Language Processing tasks by capturing the compositionality of the text representations. In spite of their great success, these vector representations fail to capture meaning of idiomatic multi-word expressions (MWEs). In this paper, we focus on the detection of idiomatic expressions by using binary classification. We use a dataset consisting of the literal and idiomatic usage of MWEs in English and Portuguese. Thereafter, we perform the classification in two different settings: zero shot and one shot, to determine if a given sentence contains an idiom or not. N shot classification for this task is defined by N number of common idioms between the training and testing sets. In this paper, we train multiple Large Language Models in both the settings and achieve an F1 score (macro) of 0.73 for the zero shot setting and an F1 score (macro) of 0.85 for the one shot setting. An implementation of our work can be found at https://github.com/ashwinpathak20/Idiomaticity_Detection_Using_Few_Shot_Learning.
翻译:大型语言模型在广泛的各种自然语言处理任务中取得了成功,捕捉了文字表述的构成性。尽管这些矢量表达方式取得了巨大成功,但未能捕捉到多词表达式(MWEs)的含义。在本文中,我们侧重于通过二进制分类探测多语表达式。我们使用一套由英文和葡萄牙文MWE的字面和语言使用组成的数据集。随后,我们在两个不同的环境中进行了分类:零射击和一枪,以确定给定的句子是否包含idiom。在培训和测试组之间,对这项任务的N射击分类是由通用的idioms数量来定义的。在本文中,我们既培训了多个大语言模型,又在零射击场上实现了0.73分的F1分(macro),在一次射击场上实现了0.85分的F1分(macro)。我们在https://github.com/ashwinpathak20/Idiomaticity_Sidarion_Usingin_Fho_Sho_Few_Lststst Stain上看到我们的工作的实施情况。