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射击分类是由通用的idem数量来定义的。在本文中,我们培训了多种大语言模式,在两种情况下,我们用零射击设置和一枪场的F1分(macro)为0.73,F1分(macro)为0.85。我们在https://github.com/ashwinpathak20/Idiomaticity_setriion_Using_Fho_Shot_Few_Lstestain中,我们工作的实施工作。