paper-with-me

Papers

Enhancing Function-Calling Capabilities in LLMs: Strategies for Prompt Formats, Data Integration, and Multilingual Translation

2024-12-02 · Yi-Chang Chen, Po-chun Hsu, Chan-Jan Hsu, Da-Shan Shiu

Large language models (LLMs) have significantly advanced autonomous agents, particularly in zero-shot tool usage, also known as function calling. This research delves into enhancing the function-calling capabilities of LLMs by exploring different approaches, including prompt formats for integrating function descriptions, blending function-calling and instruction-following data, introducing a novel Decision Token for conditional prompts, leveraging chain-of-thought reasoning, and overcoming multilingual challenges with a translation pipeline. Our key findings and contributions are as follows: (1) Instruction-following data improves both function-calling accuracy and relevance detection. (2) The use of the newly proposed Decision Token, combined with synthetic non-function-call data, enhances relevance detection. (3) A tailored translation pipeline effectively overcomes multilingual limitations, demonstrating significant improvements in Traditional Chinese. These insights highlight the potential for improved function-calling capabilities and multilingual applications in LLMs.

📄 PDF Abstract BibTeX arXiv:2412.01130

Code (0)

등록된 구현이 없습니다.

Tasks

Data IntegrationInstruction FollowingRelevance DetectionTranslation

Similar Papers 제목 키워드 기반

FunReason: Enhancing Large Language Models' Function Calling via Self-Refinement Multiscale Loss and Automated Data Refinement

2025-05-26 · Bingguang Hao, Maolin Wang, Zengzhuang Xu, Cunyin Peng 외

The integration of large language models (LLMs) with function calling has emerged as a crucial capability for enhancing their practical utility in real-world applications. However, effectively combining reasoning process…

ComplexFuncBench: Exploring Multi-Step and Constrained Function Calling under Long-Context Scenario

2025-01-17 · Lucen Zhong, Zhengxiao Du, Xiaohan Zhang, Haiyi Hu 외

Enhancing large language models (LLMs) with real-time APIs can help generate more accurate and up-to-date responses. However, evaluating the function calling abilities of LLMs in real-world scenarios remains under-explor…

The Dark Side of Function Calling: Pathways to Jailbreaking Large Language Models

2024-07-25 · Zihui Wu, Haichang Gao, Jianping He, Ping Wang

Large language models (LLMs) have demonstrated remarkable capabilities, but their power comes with significant security considerations. While extensive research has been conducted on the safety of LLMs in chat mode, the …

Achieving Tool Calling Functionality in LLMs Using Only Prompt Engineering Without Fine-Tuning

2024-07-06 · Shengtao He

Currently, the vast majority of locally deployed open-source large language models (LLMs) and some commercial model interfaces do not support stable tool calling functionality. The existing solution involves fine-tuning …

Prompt Engineering

Hephaestus: Improving Fundamental Agent Capabilities of Large Language Models through Continual Pre-Training

2025-02-10 · Yuchen Zhuang, Jingfeng Yang, Haoming Jiang, Xin Liu 외

Due to the scarcity of agent-oriented pre-training data, LLM-based autonomous agents typically rely on complex prompting or extensive fine-tuning, which often fails to introduce new capabilities while preserving strong g…