Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base模型无法下载解决方法 #38

Open
fdugzc opened this issue Aug 30, 2022 · 5 comments
Open

base模型无法下载解决方法 #38

fdugzc opened this issue Aug 30, 2022 · 5 comments

Comments

@fdugzc
Copy link
Member

fdugzc commented Aug 30, 2022

近期fastHan的base模型被恶意下载,下载量过大导致服务器流量欠费。我们在想办法解决此问题,在解决之前我们根据恶意下载历史屏蔽了部分ip,如果无法自动下载base模型,请在百度网盘手动下载
链接:https://pan.baidu.com/s/1w9EL-1fwAF2GSD52Bnf1GA
提取码:fhan

@Jihuai-wpy
Copy link
Member

从fasthan2.0开始,我们使用的模型结构以及参数与之前是不一样的,因此这个百度网盘的链接不是2.0以后的模型参数。

@Funny-ppt
Copy link

从fasthan2.0开始,我们使用的模型结构以及参数与之前是不一样的,因此这个百度网盘的链接不是2.0以后的模型参数。

请问哪里可以下载到2.0以后的模型?国内试了好多ip都根本没法下载。

@fdugzc
Copy link
Member Author

fdugzc commented Oct 30, 2023

通过百度网盘下载并使用fastHan 1.x的方法:

  1. 下载zip文件并解压
  2. 通过如下代码load模型:
from fastHan import FastHan
model=FastHan(model_type="base", url="/path/to/fasthan_base")

若使用large模型,请自行将其中的base替换为large

@fdugzc
Copy link
Member Author

fdugzc commented Nov 11, 2023

目前1.8版本已可通过huggingface加载。连不上huggingface的可以用百度网盘。

@sxj7473710
Copy link

使用时总是报这个错误FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_large\all_tasks.json'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants