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

网站的设计理念怎么做网站排名

网站的设计理念,怎么做网站排名,中国建筑人力资源,企业为什么做网站系统作者:张华 发表于:2023-09-06 版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明 ( http://blog.csdn.net/quqi99 ) 据说现在在PC机上可以运行llama2大模型了, Way 1 于是照…

作者:张华 发表于:2023-09-06

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明
( http://blog.csdn.net/quqi99 )

据说现在在PC机上可以运行llama2大模型了,

Way 1

于是照着这个文档[1] 试了一下:

#https://medium.com/@karankakwani/build-and-run-llama2-llm-locally-a3b393c1570e
git clone https://github.com/facebookresearch/llama.git
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
make
#request access - https://ai.meta.com/resources/models-and-libraries/llama-downloads/
#then run 'cd llama && ./download.sh', and select 7B-chat to download
du -h ./llama-2-7b-chat/consolidated.00.pth
cd ../llama.cpp/
python3 -m venv llama2
source llama2/bin/activate
python3 -m pip install -r requirements.txt
mkdir -p models/7B
python3 convert.py --outfile models/7B/ggml-model-f16.bin --outtype f16 ../../llama2/llama/llama-2-7b-chat --vocab-dir ../../llama2/llama

但是在上面转换成f16模式的时候报了一个python的错误,像是这个bug (https://github.com/huggingface/transformers/issues/20011 ), 但解决不了。

Way 2

于是,接着转向使用xinference框架在本地试,成功了,就是在nuc上(i7-13700H)速度挺慢的.

python3 -m venv xinference
source xinference/bin/activate
pip install "xinference[all]"
xinference -H 192.168.99.179

Way 3

#https://github.com/PromtEngineer/localGPT
wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh 
./Miniconda3-latest-Linux-x86_64.sh -b
export PATH="/home/hua/miniconda3/bin:"$PATH
conda
conda create -n localGPT
conda env list
conda init bash
conda activate localGPT
cd /bak/work/ai
git clone https://github.com/PromtEngineer/localGPT.git
cd localGPT
pip install -r requirements.txt
cp /nas/book/计算机网络.pdf /bak/work/ai/localGPT/SOURCE_DOCUMENTS/
#need to use proxychains to access huggingface.co:443 and cdn-lfs.huggingface.co:443 to download pytorch_model.bin etc
#proxychains python ingest.py
proxychains python ingest.py --device_type cpu
proxychains python run_localGPT.py

[1] https://medium.com/@karankakwani/build-and-run-llama2-llm-locally-a3b393c1570e

http://www.khdw.cn/news/24359.html

相关文章:

  • 中江移动网站建设网络营销案例ppt
  • wordpress企业站主题下载常州seo收费
  • 贵池区城乡与住房建设网站全媒体运营师培训机构
  • 不用代码做网站的软件百度关键词排名批量查询工具
  • 专门做外贸机械的网站免费python在线网站
  • wordpress无标题优化公司哪家好
  • tp5被黑做的网站全变成首页长沙网络推广
  • wordpress 如何进入数据库某网站搜索引擎优化
  • 武汉做商城网站建设如何营销推广
  • 建设网站制作项目描述如何做好seo基础优化
  • intitle 网站建设高粱seo博客
  • 怎么手动安装网站程序竞价推广托管服务
  • 自己做网站除了域名还要买什么商业计划书
  • 自媒体横行还有做网站seo教程之关键词是什么
  • 沙井做网站公司交换友情链接的途径有哪些
  • 法库网站建设媒体135网站
  • 帝国cms网站地图生成站长工具seo查询软件
  • 广东网站建设微信官网开发优质网站
  • 杭州建站平台游戏优化大师官方下载
  • 龙华网站建设招聘推广吧
  • 网站建设优化推广企业qq官方下载
  • 建设银行信用卡进度查询官方网站google搜索关键词
  • 设置网站的黑名单怎么做一键优化软件
  • 自己弄公司网站seo搜狗
  • 金华做网站的公司中国新冠疫情最新消息
  • 展示型网站建设价格如何学会推广和营销
  • 江苏建设人才网 官网九江seo
  • 网站制作费用 政府采购指数基金排名前十名
  • 美橙建站五站合一软件1小时快速搭建网站
  • 上海新闻综合频道今天seo技术306