urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:	edition	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1	body	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.1	div1	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.1.1	p	the study of literary metaphors plays an integral part in literature-focused disciplines within the humanities. in the field of natural language processing (nlp), computational metaphor detection (md) has produced a wealth of approaches focusing on everyday metaphors (ptiček and dobša 2023). computational literary md, however, has received considerably less attention. in their graph project, kesarwani et al. (2017) have applied rule-based and statistical machine learning approaches to an english poetry corpus. the aim of this paper is to take the field of literary md one step further by using the nlp state-of-the-art approach of fine-tuning large language models (llms) on the graph project’s datasets.<ref xmlns="http://www.tei-c.org/ns/1.0" n="1" target="ftn1" /> considering the small size of the relevant datasets, the few-shot learning approach setfit is used alongside the more established fine-tuning transformers approach to compare their performance.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.1.2	p	this paper tests two assumptions:
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.1.3	p	1. fine-tuning the llm distilbert with the transformers approach and the llm all-minilm-l6-v2 with the setfit approach on the graph project’s datasets will yield better results than using the combined statistical and rule-based approach from kesarwani et al. (2017).
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.1.4	p	2. the setfit approach will outperform the transformers approach.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.1.5	p	the paper starts by setting out the theoretical background of md and then explains the data, method and experimental setup used. it closes with a description of the evaluation results and a discussion.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2	div1	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.1	div2	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.1.1	p	since the current theories and methods regarding md come from nlp, it is beneficial to understand prevalent research in this area before focusing on the state of the field in the digital humanities. in most of the md research in nlp, metaphors are understood as a mapping of a source domain like war to a target domain like argument that can result in the metaphorical linguistic expression “your claims are <hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">indefensible</hi>” (lakoff and johnson 1980, 4). this conceptual metaphor theory is used to detect conversational and novel metaphors (ptiček and dobša 2023).
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.1.2	p	since 1975, research on md is ongoing because “the task is not considered solved” (dankin, bar, and dershowitz 2022, 125). the methodologies applied to md have evolved with the development of computational capabilities starting with rule-based, statistical and machine learning methods (ptiček and dobša 2023). the current state-of-the-art method for md involves utilizing llms, often derivations of the bert model (devlin et al. 2019), which are based on the transformer architecture by vaswani et al. (2017) that allows to fine-tune an existing language model on a specific downstream task like md (babieno et al. 2022; li et al. 2023; z. song et al. 2024). recently, prompt engineering started to be utilized for md. instead of labelled data this method uses task-specific formulated prompts (jia and li 2024). chen et al. (2024) expanded the task to include metaphor reason in addition to detection since they found that methods focusing solely on a metaphorical versus literal distinction did not generalise well. another recent development is to detect metaphor in multi-modal settings, such as memes, where the classification task includes both texts and images (xu et al. 2024).
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.2	div2	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.2.1	p	in the digital humanities, md focusing on literary texts is understudied. to my knowledge, there are only a handful of papers that concern themselves specifically with this task. reinig and rehbein (2019) proposed a supervised machine learning method for md in german expressionist poetry, while schneider et al. (2022) developed an unsupervised approach for middle high german. toker et al. (2024) used llms on their own early medieval hebrew poetry dataset.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.2.2	p	in their graph project, kesarwani et al. (2017) developed models to detect poetic metaphors in english, which has neither been done in nlp nor in the digital humanities. diverging from the conceptual metaphor theory, the authors based their metaphor definition on observations by neuman et al. (2013), who found three metaphor types that signify their metaphoricity by different part-of-speech (pos) sequences. they focused on detecting type i metaphors, which are comprised of a “noun-verb-noun” sequence and added the sequence “noun-verb-det-noun” to this concept. an example for type i metaphor is the sentence “as if the <hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">world were a taxi</hi>” (kesarwani et al. 2017, 2).
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.2.3	p	the authors trained and tested on four datasets: their own pofo (poetry foundation) dataset, comprising 680 sentences that include type i metaphor scraped from the poetry foundation website, the benchmark datasets trofi by birke and sarkar (2006) (6,435 sentences from the wall street journal corpus) and moh by mohammad, shutova, and turney (2016) (647 sentences from wordnet). finally, they created a fourth concatenated dataset which combines pofo, trofi and moh. see table 1 for an overview of sample sentences labelled “metaphorical” from each dataset.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.2.2.4	p	the methods of the graph project mirror the progression of methods in the nlp tradition as the authors experimented with rule-based and statistical approaches (kesarwani et al. 2017). the f1 scores for their rule-based and machine learning models were 0.669 for pofo, 0.827 for trofi, 0.779 for moh and 0.781 for the concatenated dataset. tanasescu, kesarwani, and inkpen (2018) used deep learning with convolutional neural networks on the concatenated dataset and reached an f1 score of 0.833. since fine-tuning llms proved to be a very successful approach in recent nlp research (e.g., a f1 score of 0.944 on trofi by ma et al. 2021), this paper tests whether this method will improve the md performance on the graph project’s datasets.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.3	div1	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.3.1	p	based on the assumption that the metaphoricity of a word stems from the context of the whole sentence rather than a single aspect word or pos sequence, i define md as a sentence-level classification problem, where each sentence within the four datasets is labelled as either “metaphorical” or “literal” (ma et al. 2021). this approach differs from kesarwani et al. (2017), who annotate metaphor on a token level. for preprocessing, i reused the cleaned versions of the trofi and moh datasets by su et al. (2020) due to a lack of clear preprocessing information from the graph project and used the original version of pofo by kesarwani et al. in the concatenated dataset there are more literal than metaphorical sentences since it consists of 75% of sentences belonging to trofi, which suffers from label imbalance, having about 12% more literal than metaphorical examples (figure 1).
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.3.2	p	the first method to improve the md performance is fine-tuning the four datasets on the transformer-based pre-trained llm distilbert (sanh et al. 2019), which is an efficient variant of bert. this model is smaller and faster while maintaining 97% of berts performance. the training for this transformers approach is threefold: the model-specific tokenizer maps the dataset’s text tokens to indexes, the transformer converts these indexes to contextual embeddings and the pre-trained head is fine-tuned on the md task (wolf et al. 2020). the fine-tuning procedure consisted of training with 70% of the data and evaluating with the remaining 30% for each dataset. for hyperparameters, the batch size of 32, the learning rate of 2e-5 and 5 training-epochs yielded best results.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.3.3	p	since transformer llms require fine-tuning on relatively large datasets which is a challenge for literary metaphor datasets, as can be seen from the sizes of the graph project’s datasets, this paper also employs the setfit framework (tunstall et al. 2022). it is designed for few-shot learning, that is, learning with a small number of labelled examples. setfit operates in two steps: it generates sentence pairs, thereby enlarging the dataset significantly, and then fine-tunes embeddings of these sentences to create a sentence transformer embedding model. then the dataset is used to train a logistic regression classifier using the fine-tuned embeddings to predict the right labels. the impact of the sentence transformer on the dataset size is immense: from 441 samples of the pofo train dataset, setfit generated 98366 unique pairs. the all-minilm-l6-v2 sentence transformer model is used within this framework because it is 5 times faster than larger models while maintaining comparable performance (reimers et al. 2019). for implementation, the same test-train split ratio, seed and hyperparameters are used as for the transformers implementation to maintain comparability.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.4	div1	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.4.1	p	figure 2 presents the evaluation results of fine-tuning with the transformers and setfit methods on the md task at sentence-level. all reported results are from evaluating the fine-tuned models on the test splits. at least one of the llm fine-tuning approaches proposed in this paper outperformed the baseline on all datasets except for trofi. for pofo there was a significant performance increase of 12.41% with setfit (f1 0.752) and 2.84% with transformers (f1 0.688). the moh dataset displayed an f1 score of 0.785 with the transformers approach (0.77% increase). the setfit approach demonstrated a significant improvement with an f1 score of 0.862 (10.37% increase) on the concatenated dataset. however, the trofi dataset performed much better with the rule-based and statistical method, surpassing setfit by 22.25%. as for the comparison of transformers with setfit, setfit achieved better performance on pofo, trofi and the concatenated dataset, while transformers gave better results on the moh dataset. overall, no method excelled across all datasets, although the llm approaches generally performed better.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.5	div1	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.5.1	p	the promising results indicate the potential of fine-tuning llms for literary md in general and using the setfit method for small datasets in particular. the concatenated dataset's heterogeneity and diversity in sentence length and number, complexity, and metaphor domains provided broader contextual information, explaining its high f1 score. despite these positive outcomes fine-tuning did not achieve better performance on trofi.<ref xmlns="http://www.tei-c.org/ns/1.0" n="2" target="ftn2" />
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.5.2	p	trofi’s suboptimal performance could stem from training difficulty caused by the sentence-level approach and label imbalance. however, these arguments can be refuted by trofi’s substantial representation in the concatenated dataset (75.1%, table 1), which showed exceptionally good results. thus, trofi’s characteristics must have significantly contributed to these positive results.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.5.3	p	the chosen llm models might also contribute to the low result. being condensed models, distilbert and all-mini-lm-l6-v6 are useful for initial experiments but might not generalise well on a domain-specific task like md. using setfit on a state-of-the-art sentence transformer model like all-mpnet-base-v2 (song et al. 2020) may help improve results.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.5.4	p	however, the core difficulty of finding concrete explanations for the poor trofi results and the excellent concatenated dataset and pofo results is the interpretability limitation of llms due to their “black-box” nature. contrary to statistical machine learning approaches, no information is provided about which features contribute most to the classification task during llm fine-tuning, making the reasoning behind the model’s classification result not entirely comprehensible (dobson 2023, 431). this is especially concerning for the digital humanities, where understanding the domain is just as important as raw performance. ablation techniques and visualisations of attention weights could help understanding how model output was created.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.6	div1	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.6.1	p	this paper contributed to the understudied task of literary md by applying state-of-the-art nlp methodology, like fine-tuning the transformer model distilbert and few-shot learning with the sentence transformer approach, on four literary metaphor datasets. metaphor was defined quite narrowly as consisting of one of two specific pos sequences. the evaluation baseline was the combined rule-based and statistical approach of kesarwani et al. (2017).
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.6.2	p	the results demonstrate performance increases in f1 score for the fine-tuning approach over the baseline and even more so for the setfit methods, especially for pofo (12.41% increase) and the concatenated dataset (10.37% increase). however, improvement was not observed for the trofi dataset, which could stem from sentence complexity and label imbalance or from small model sizes.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.6.3	p	these findings emphasise that while the current practise of fine-tuning llms for linguistic md can also yield good results for literary md and that setfit is a valuable tool for small datasets, these methods do not guarantee improved performance. due to the black-box nature of llms they might not be the right tool for literary scholars, who prioritise interpretability.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:1.6.4	p	further work needs to be performed to establish whether larger models could optimise the work done in this paper. future studies on literary md could focus on creating larger datasets with different kinds of metaphors or employ prompt engineering. the fine-tuned models could be deployed to build interactive tools for teaching and studying metaphors in educational settings.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2	back	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.1	notes	<note xmlns="http://www.tei-c.org/ns/1.0" rend="footnote text" xml:id="ftn1" n="1"> the code, datasets and outputs for this paper are publicly available on github: <ref target="https://github.com/ma-spie/llm_metaphor_detection">https://github.com/ma-spie/llm_metaphor_detection</ref>. </note><note xmlns="http://www.tei-c.org/ns/1.0" rend="footnote text" xml:id="ftn2" n="2"> while judging result comparability it should be noted that this paper introduced variations in dataset setup compared to the approach by kesarwani et al. (2017). </note>
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2	bibliogr	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1	listBibl	
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.1	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">babieno, mateusz, masashi takeshita, dusan radisavljevic, rafal rzepka, and kenji araki</hi>. 2022. “miss roberta wilde: metaphor identification using masked language model with wiktionary lexical definitions.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">applied sciences</hi> 12 (2081). <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.3390/app12042081">https://doi.org/10.3390/app12042081</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.2	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">birke, julia, and anoop sarkar</hi>. 2006. “a clustering approach for nearly unsupervised recognition of nonliteral language.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">11th conference of the european chapter of the association for computational linguistics</hi>, 329–36. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://aclanthology.org/e06-1042">https://aclanthology.org/e06-1042</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.3	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">chen, puli, cheng yang, and qingbao huang</hi>. “merely judging metaphor is not enough: research on reasonable metaphor detection.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">findings of the association for computational linguistics: emnlp 2024</hi>, edited by yaser al-onaizan, mohit bansal, and yun-nung chen, 5850–60. stroudsburg, pa, usa: association for computational linguistics. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.18653/v1/2024.findings-emnlp.336">https://doi.org/10.18653/v1/2024.findings-emnlp.336</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.4	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">dankin, lena, kfir bar, and nachum dershowitz</hi>. 2022. “can yes-no question-answering models be useful for few-shot metaphor detection?” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the 3rd workshop on figurative language processing (flp)</hi>, edited by debanjan ghosh, beata beigman klebanov, smaranda muresan, anna feldman, soujanya poria, and tuhin chakrabarty, 125–30. stroudsburg, pa, usa: association for computational linguistics. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.18653/v1/2022.flp-1.17">https://doi.org/10.18653/v1/2022.flp-1.17</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.5	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">devlin, jacob, ming-wei chang, kenton lee, and kristina toutanova</hi>. 2019. “bert: pre-training of deep bidirectional transformers for language understanding.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the naacl-hlt 2019</hi>, 4171–86. <ref xmlns="http://www.tei-c.org/ns/1.0" target="http://arxiv.org/pdf/1810.04805">http://arxiv.org/pdf/1810.04805</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.6	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">dobson, james e</hi>. 2023. “on reading and interpreting black box deep neural networks.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">international journal of digital humanities</hi> 5 (2): 431–49. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.1007/s42803-023-00075-w">https://doi.org/10.1007/s42803-023-00075-w</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.7	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">jia, kaidi, and rongsheng li</hi>. 2024. “enhancing metaphor detection through soft labels and target word prediction.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">31st conference on neural information processing systems</hi>. <ref xmlns="http://www.tei-c.org/ns/1.0" target="http://arxiv.org/pdf/2403.18253">http://arxiv.org/pdf/2403.18253</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.8	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">kesarwani, vaibhav, diana inkpen, stan szpakowicz, and chris tanasescu</hi>. 2017. “metaphor detection in a poetry corpus.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the joint sighum workshop on computational linguistics for cultural heritage, social sciences, humanities and literature</hi>, edited by beatrice alex, stefania degaetano-ortlieb, anna feldman, anna kazantseva, nils reiter, and stan szpakowicz, 1–9. stroudsburg, pa, usa: association for computational linguistics. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://aclanthology.org/volumes/w17-22/">https://aclanthology.org/volumes/w17-22</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.9	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">lakoff, george, and mark johnson</hi>. <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">metaphors we live by</hi>. 1980. chicago: university of chicago press.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.10	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">li, yucheng, shun wang, chenghua lin, frank guerin, and loic barrault</hi>. 2023. “framebert: conceptual metaphor detection with frame embedding learning.”in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the 17th conference of the european chapter of the association for computational linguistics</hi>, 1558–63. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.18653/v1/2023.eacl-main.114">https://doi.org/10.18653/v1/2023.eacl-main.114</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.11	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">ma, weicheng, ruibo liu, lili wang, and soroush vosoughi</hi>. 2021. “improvements and extensions on metaphor detection.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the 1st workshop on understanding implicit and underspecified language</hi>, edited by michael roth, reut tsarfaty, and yoav goldberg, 33–42. stroudsburg, pa, usa: association for computational linguistics. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://aclanthology.org/2021.unimplicit-1.5">https://aclanthology.org/2021.unimplicit-1.5</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.12	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">mohammad, saif, ekaterina shutova, and peter turney</hi>. 2016. “metaphor as a medium for emotion: an empirical study.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the fifth joint conference on lexical and computational semantics</hi>, 23–33. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.18653/v1/s16-2003">https://doi.org/10.18653/v1/s16-2003</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.13	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">neuman, yair, dan assaf, yohai cohen, mark last, shlomo argamon, newton howard, and ophir frieder</hi>. 2013. “metaphor identification in large texts corpora.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">plos one</hi> 8 (4): 1-9. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.1371/journal.pone.0062343">https://doi.org/10.1371/journal.pone.0062343</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.14	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">ptiček, martina, and jasminka dobša</hi>. 2023. “methods of annotating and identifying metaphors in the field of natural language processing.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">future internet</hi> 15 (6): 1-28. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.3390/fi15060201">https://doi.org/10.3390/fi15060201</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.15	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">reimers, nils, omar espejel, pedro cuenca, and tom aarsen</hi>. n.d. “pretrained models.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">sentence-transformers documentation</hi>. accessed july 23, 2024. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://sbert.net/docs/sentence_transformer/pretrained_models.html">https://sbert.net/docs/sentence_transformer/pretrained_models.html</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.16	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">reinig, ines, and ines rehbein</hi>. “metaphor detection for german poetry.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">preliminary proceedings of the 15th conference on natural language processing</hi>, 149–60. <ref xmlns="http://www.tei-c.org/ns/1.0" target="http://nbn-resolving.de/urn:nbn:de:bsz:mh39-93163">http://nbn-resolving.de/urn:nbn:de:bsz:mh39-93163</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.17	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">sanh, victor, lysandre debut, julien chaumond, and thomas wolf</hi>. 2019. “distilbert, a distilled version of bert: smaller, faster, cheaper and lighter.”, 1–5. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.48550/arxiv.1910.01108">https://doi.org/10.48550/arxiv.1910.01108</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.18	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">schneider, felix, sven sickert, phillip brandes, sophie marshall, and joachim denzler</hi>. 2022. “metaphor detection for low resource languages: from zero-shot to few-shot learning in middle high german.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the 18th workshop on multiword expressions @lrec2022</hi>, edited by archna bhatia, paul cook, shiva taslimipoor, marcos garcia, and carlos ramisch, 75–80. marseille, france: european language resources association. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://aclanthology.org/2022.mwe-1.11">https://aclanthology.org/2022.mwe-1.11</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.19	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">song, kaitao, xu tan, tao qin, jianfeng lu, and tie-yan liu</hi>. 2020. “mpnet: masked and permuted pre-training for language understanding.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the 34th international conference on neural information processing systems</hi>. vancouver, bc, canada: curran associates inc. 16857–67. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.48550/arxiv.2004.09297">https://doi.org/10.48550/arxiv.2004.09297</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.20	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">song, ziqi, shengwei tian, long yu, xiaoyu zhang, and jing liu</hi>. 2024. “multi-task metaphor detection based on linguistic theory.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">multimed tools appl</hi>. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.1007/s11042-023-18063-1">https://doi.org/10.1007/s11042-023-18063-1</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.21	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">su, chuandong, fumiyo fukumoto, xiaoxi huang, jiyi li, rongbo wang, and zhiqun chen</hi>. 2020. “deepmet: a reading comprehension paradigm for token-level metaphor detection.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the second workshop on figurative language processing</hi>, edited by beata b. klebanov, ekaterina shutova, patricia lichtenstein, smaranda muresan, chee wee, anna feldman, and debanjan ghosh, 30–39. stroudsburg, pa, usa: association for computational linguistics. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.18653/v1/2020.figlang-1.4">https://doi.org/10.18653/v1/2020.figlang-1.4</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.22	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">tanasescu, chris, vaibhav kesarwani, and diana inkpen</hi>. 2018. “metaphor detection by deep learning and the place of poetic metaphor in digital humanities.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">the thirty-first international flairs conference</hi>, 122–27. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://aaai.org/papers/122-flairs-2018-17704/">https://aaai.org/papers/122-flairs-2018-17704</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.23	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">toker, michael, oren mishali, ophir münz-manor, benny kimelfeld, and yonatan belinkov</hi>. 2024. “a dataset for metaphor detection in early medieval hebrew poetry.” <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://aclanthology.org/2024.eacl-short.39">https://aclanthology.org/2024.eacl-short.39</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.24	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">tunstall, lewis, nils reimers, unso eun seo jo, luke bates, daniel korat, moshe wasserblat, and oren pereg</hi>. 2022. “efficient few-shot learning without prompts.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">36th conference on neural information processing systems</hi>, 1–14. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.48550/arxiv.2209.11055">https://doi.org/10.48550/arxiv.2209.11055</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.25	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">vaswani, ashish, noam shazeer, niki parmar, jakob uszkoreit, llion jones, aidan n. gomez, Łukasz kaiser, and illia polosukhin</hi>. 2017. “attention is all you need.” <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">advances in neural information processing systems</hi> 30:1–11. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.48550/arxiv.1706.03762">https://doi.org/10.48550/arxiv.1706.03762</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.26	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">wolf, thomas, lysandre debut, victor sanh, julien chaumond, clement delangue, anthony moi, pierric cistac</hi>. 2020. “transformers: state-of-the-art natural language processing.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the 2020 conference on empirical methods in natural language processing</hi>: <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">system demonstrations</hi>, edited by qun liu and david schlangen, 38–45. stroudsburg, pa, usa: association for computational linguistics. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.18653/v1/2020.emnlp-demos.6">https://doi.org/10.18653/v1/2020.emnlp-demos.6</ref>.
urn:cts:dhd:2025.spielberg_marina_literary_metaphor_detection_with_llm_fine_t:2.2.1.27	bibl	<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bold">xu, yanzhi, yueying hua, shichen li, and zhongqing wang</hi>. “exploring chain-of-thought for multi-modal metaphor detection.” in <hi xmlns="http://www.tei-c.org/ns/1.0" rend="italic">proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: long papers)</hi>, edited by lun-wei ku, andre martins, and vivek srikumar, 91–101. stroudsburg, pa, usa: association for computational linguistics. <ref xmlns="http://www.tei-c.org/ns/1.0" target="https://doi.org/10.18653/v1/2024.acl-long.6">https://doi.org/10.18653/v1/2024.acl-long.6</ref>. <lb xmlns="http://www.tei-c.org/ns/1.0" />