【求助帖】Function Call课后作业【进阶】 #194
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#194
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?
本地开源模型部署及调用(使用AutoGen)
安装fastgpt
启动服务模型
安装openai
调用测试
函数调用测试
微调LLama3-8b-Instruct
设置环境
模型及数据集准备
模型:
Star平台上已经下载好了模型,在/dataset/Llama-3-8B-Instruct/路径下。
数据集:
这里我们选择下载到/code/Deepexi_function-calling-small_data目录下。
!直接使用格式有问题
尝试用与课件中文件相同方法转换格式还是有问题
如果 HuggingFace 上的相关数据集暂时无法被 XTuner 直接加载,因此我们首先要下载到本地,然后转换成 XTuner 直接可用的格式。
转换不了。
算法代码(llama3_8b_instruct_qlora_agentflan_3e.py)中数据集目录做对应修改:
模型训练
这里使用单机进行训练,保存路径点设置为/code/llama3-8b-ft/agent-flan_2。
做不了做不了
🔔需要考虑xtuner如何适配这个数据集
不知道咋做啊