求助帖:大模型04期Function Call实践-作业 #390
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#390
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
【进阶】使用function call数据测试微调大模型,提升大模型functioncall能力,比如使用这个数据集https://huggingface.co/datasets/Deepexi/function-calling-small
1、已经下载了数据集,function-calling-small_aliyun_openapi_V2.csv, 修改第一行为instuction,input ,output. 附图1




2、下载了配置文件llama3_8b_instruct_qlora_alpaca_e3_copyllama3_8b_instruct_qlora_alpaca_e3_copy,修改了相关配置,主要是大模型和数据所在目录.附图 2
3、运行命令:NPROC_PER_NODE=4 xtuner train /code/llama3_8b_instruct_qlora_alpaca_e3_copy.py --work-dir /userhome/llama3-8b-ft/function-calling --deepspeed deepspeed_zero3_offload ,报错。附图3
判断可能是因为数据文件的问题
请问:1、.csv文件是否要转化为.json文件。2、如何进行转换?
相关截图如下:
1、
2、
3、