请问老师,基于我的需求,如何微调,微调后的模型,如何部署 ollama呢? #726
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#726
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?
我有很多某行业的专业性的 pdf 或 word文件,希望在具体底座模型如:qwen,基础上做微调,训练后的模型部署到 ollama 服务上前端我们做了应用,访问训练后的模型,为用户提供服务。目前的问题:
1、如何微调
2、微调后的模型,如何部署 ollama
如果是用于对话的微调,需要先把文件转换为对话格式的数据,可以参考llamafactory的sft教程、rl教程;一般sft就行。
部署ollama:需要转换为gguf格式的文件,然后再ollama中部署,在llamafactory里面也有对应的一站式转换教程。