在Linux服务器上部署LLM,使用gradio遇到Could not create share link. Missing file:frpc_linux_amd64_v0.2

大语言模型发展图,引用自“A Survey of Large Language Models”论文

大规模语言模型(Large Language Models,LLM),也称大规模语言模型或大型语言模型,是一种由包含数百亿以上参数的深度神经网络构建的语言模型,使用自监督学习方法通过大量无标注文本进行训练。自2018 年以来,Google、OpenAI、Meta、百度、华为等公司和研究机构都相继发布了包括BERT,GPT 等在内多种模型,并在几乎所有自然语言处理任务中都表现出色。

遇到问题:

Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps: 

1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64
2. Rename the downloaded file to: frpc_linux_amd64_v0.2
3. Move the file to this location:llama3/lib/python3.9/site-packages/gradio

在这里插入图片描述
解决方法:
①首先下载frpc_linux_amd64

git clone https://github.com/bumblebeeMMa/DownLoad_frpc_linux_amd64.git

②更名

mv frpc_linux_amd64 frpc_linux_amd64_v0.2

③移动到本虚拟环境的指定目录下

mv frpc_linux_amd64_v0.2 .....python3.9/site-packages/gradio

④给予权限

sudo chmod +x frpc_linux_amd64_v0.2

之后再使用gradio进行网页端显示

在这里插入图片描述

能够公网正常访问。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值