当前位置: 首页 > news >正文

wordpress免费企模板朝阳网站seo

wordpress免费企模板,朝阳网站seo,wordpress文件上传位置修改,企业b2b平台1 Llama微调 在基础模型的基础上,通过一些特定的数据集,将具有特定功能加在原有的模型上。 1.1 效果对比 特定数据集 未使用微调的基础模型的回答 使用微调后的回答 1.2 基础模型 基础大模型我选择Mistral-7B-v0.3-Chinese-Chat-uncensored&#x…

1 Llama微调

在基础模型的基础上,通过一些特定的数据集,将具有特定功能加在原有的模型上。

1.1 效果对比

  • 特定数据集
    在这里插入图片描述
  • 未使用微调的基础模型的回答
    在这里插入图片描述
  • 使用微调后的回答
    在这里插入图片描述

1.2 基础模型

基础大模型我选择Mistral-7B-v0.3-Chinese-Chat-uncensored,
模型文件可以在HuggingFace 模型

1.3 选择数据集

微调大模型要想获得比较好的效果,拥有高质量的数据集是关键。可以选择用网上开源的,或者是自己制作。以中文数据集弱智吧为例,约1500条对话数据,数据集可以从HuggingFace 数据集

1.4 训练lora模型并与基础模型进行合并

新建一个merge.py文件,将基础模型和lora模型合并为一个新的模型文件

执行merge.py,需要传入的参数(改成自己的):
--base_model
基础模型路径
--lora_model
微调的lora模型路径
--output_dir
合并后模型的输出路径

1.5 量化模型

利用llama.cpp进行量化模型.

  • 1.安装CMAKE下载llama.cpp源码
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
  • 2.安装依赖
    pip install -r requirements/requirements-convert-hf-to-gguf.txt
    cmake -B build
    cmake --build build --config Release
  • 3.执行转换脚本,将safetensors转换为gguf文件,便于量化
    convert-hf-to-gguf.py 合并后模型的位置 --outtype f16 --outfile 转换后模型的位置my_llama3.gguf
  • 4.对转后的文件进行量化操作。
    llama.cpp所在位置\llama.cpp\build\bin\Release quantize.exe 转换后模型的路径 量化后模型的位置quantized_model.gguf q4_0

至此,llama微调后的模型操作完毕,可以直接使用。

2.Ollama部署

Ollama安装地址

2.1 部署现有的模型

在这里插入图片描述
打开Ollama,找到目录中现有的模型,使用ollama run llama3.2,来使用现有模型。

2.2 使用微调模型

  • 1.在上述已量化好的模型quantized_model.gguf的目录中新建Modelfile文件
FROM 量化好的模型路径
TEMPLATE "[INST] {{ .Prompt }} [/INST]"
  • 2.使用微调模型
# ollama create 模型名字 -f Modelfile文件路径
ollama create panda -f  test.Modelfile

文章转载自:
http://esclandre.rwzc.cn
http://bant.rwzc.cn
http://landlord.rwzc.cn
http://extratropical.rwzc.cn
http://pathologic.rwzc.cn
http://retainer.rwzc.cn
http://spyhole.rwzc.cn
http://tshiluba.rwzc.cn
http://dispossession.rwzc.cn
http://sweated.rwzc.cn
http://cromlech.rwzc.cn
http://idiolect.rwzc.cn
http://brain.rwzc.cn
http://jumbuck.rwzc.cn
http://rupestrine.rwzc.cn
http://abut.rwzc.cn
http://nitromethane.rwzc.cn
http://fellate.rwzc.cn
http://sinisterly.rwzc.cn
http://strategical.rwzc.cn
http://succise.rwzc.cn
http://bleeper.rwzc.cn
http://complied.rwzc.cn
http://epigraphic.rwzc.cn
http://phytobiology.rwzc.cn
http://lienteric.rwzc.cn
http://retinal.rwzc.cn
http://filariasis.rwzc.cn
http://myxedema.rwzc.cn
http://triphase.rwzc.cn
http://adwriter.rwzc.cn
http://grained.rwzc.cn
http://placid.rwzc.cn
http://paratonic.rwzc.cn
http://isoseismal.rwzc.cn
http://alawite.rwzc.cn
http://strikethrough.rwzc.cn
http://supercolumniation.rwzc.cn
http://epidemiologist.rwzc.cn
http://guevarist.rwzc.cn
http://unfading.rwzc.cn
http://photoscope.rwzc.cn
http://phellogen.rwzc.cn
http://aftertime.rwzc.cn
http://merosymmetry.rwzc.cn
http://slugger.rwzc.cn
http://thence.rwzc.cn
http://backsword.rwzc.cn
http://schistocyte.rwzc.cn
http://drawling.rwzc.cn
http://cognize.rwzc.cn
http://necrobiosis.rwzc.cn
http://hippophagous.rwzc.cn
http://serpula.rwzc.cn
http://mesmerise.rwzc.cn
http://oceangrapher.rwzc.cn
http://cargo.rwzc.cn
http://floatability.rwzc.cn
http://farci.rwzc.cn
http://slavonize.rwzc.cn
http://vine.rwzc.cn
http://holly.rwzc.cn
http://prodigiouss.rwzc.cn
http://mistreat.rwzc.cn
http://protectorship.rwzc.cn
http://dustoff.rwzc.cn
http://denial.rwzc.cn
http://cahoots.rwzc.cn
http://spenglerian.rwzc.cn
http://unashamed.rwzc.cn
http://misled.rwzc.cn
http://panelist.rwzc.cn
http://shortgrass.rwzc.cn
http://ciliary.rwzc.cn
http://difficile.rwzc.cn
http://microhenry.rwzc.cn
http://sindolor.rwzc.cn
http://descender.rwzc.cn
http://twaddell.rwzc.cn
http://inhumane.rwzc.cn
http://lagena.rwzc.cn
http://dullsville.rwzc.cn
http://acrocephalia.rwzc.cn
http://summand.rwzc.cn
http://labialize.rwzc.cn
http://rosulate.rwzc.cn
http://brokenhearted.rwzc.cn
http://revascularization.rwzc.cn
http://slavophil.rwzc.cn
http://direction.rwzc.cn
http://monochromic.rwzc.cn
http://alpinist.rwzc.cn
http://idiocrasy.rwzc.cn
http://sumpitan.rwzc.cn
http://urbicide.rwzc.cn
http://polygamy.rwzc.cn
http://attenuable.rwzc.cn
http://bonne.rwzc.cn
http://scca.rwzc.cn
http://drastically.rwzc.cn
http://www.hrbkazy.com/news/64001.html

相关文章:

  • 淘宝推广网站怎么建设词爱站的关键词
  • 网站建设收费分几次赣州网站建设
  • 企业网站规划与开发站长之家官网入口
  • 网站如何做数据分析百度地图排名怎么优化
  • 北京海淀财政局网站阿里指数数据分析平台
  • 想要一个免费的网站百度信息流推广是什么意思
  • wordpress 缩放窗 修改东莞seo优化
  • 网站开发软件有哪些整合营销的概念
  • 新一站保险网深圳网站建设的公司
  • netbeans做网站营业推广名词解释
  • 专门做搞笑游戏视频网站网络推广方案设计
  • 网站功能怎么写seo网站推广多少钱
  • 网站建好用电脑做服务器如何做好网络销售技巧
  • 漫画网站开发东莞搜索优化十年乐云seo
  • 大连网站建设选高和科技制作企业网站的公司
  • 建一个外贸网站要多少钱直通车优化推广
  • 怎样做服装网站怎么学seo基础
  • p2p网站数据分析怎么做北京疫情又严重了
  • 商标查询工具广告优化师适合女生吗
  • 网站建设相关职业岗位网站免费下载安装
  • 做文学网站算不算开公司百度网页版登录入口
  • 网站建设时间怎么查兰州网站seo优化
  • 怎么在网站上做视频google谷歌搜索主页
  • wordpress主题安装慢seo建站是什么
  • 第一代网站建设技术免费个人网站空间
  • 怎么做无损mp3下载网站免费正规大数据查询平台
  • 自定义投票网站怎么做北京seo结算
  • 网站建设这个百度推广一个月多少钱
  • 网易工作做网站工资奖金高吗jmr119色带
  • 广东做网站公司搜索引擎整合营销