The Few-shot Dilemma: Over-prompting Large Language Models
少样本困境:过度提示大型语言模型
机构 * Siemens AG(西门子股份公司) ; Technical University of Munich(慕尼黑技术大学)
专题命中 领域大模型 :LLM(summary_cn,abstract);large language model(title,abstract);language model(title,abstract);prompting(title,abstract)
AI总结 本文提出一个提示框架,使用随机采样、语义嵌入和TF-IDF三种少样本选择方法,在多个LLM上实验发现过多领域特定示例会降低性能,并通过TF-IDF与分层采样结合找到最优示例数量,在软件需求分类上超越现有方法1%。
Comments accepted for the main track of IEEE FLLM conference; see the DOI and report number below