-
Notifications
You must be signed in to change notification settings - Fork 1k
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
为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small #690
Comments
请问你解决了吗? |
解决了 small模型需要自己下载不会自动安装的 但是书本里对句子分词的方法seg()有问题找不到该方法
…---原始邮件---
发件人: "Xu ***@***.***>
发送时间: 2024年3月19日(周二) 下午2:22
收件人: ***@***.***>;
抄送: "a ***@***.******@***.***>;
主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small (Issue #690)
请问你解决了吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
请问你的small模型是在哪里下载的呀,是在huggingface吗?我都不会下载,
…________________________________
From: a ha ***@***.***>
Sent: Tuesday, March 19, 2024 2:30 PM
To: HIT-SCIR/ltp ***@***.***>
Cc: Xu Yue ***@***.***>; Comment ***@***.***>
Subject: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small (Issue #690)
解决了 small模型需要自己下载不会自动安装的 但是书本里对句子分词的方法seg()有问题找不到该方法
---原始邮件---
发件人: "Xu ***@***.***>
发送时间: 2024年3月19日(周二) 下午2:22
收件人: ***@***.***>;
抄送: "a ***@***.******@***.***>;
主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small (Issue #690)
请问你解决了吗?
―
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
―
Reply to this email directly, view it on GitHub<#690 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARRIMEYSEVHQYPCKPZNHEGTYY7LO3AVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHEYTGOJXGM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
就huggingface的官网上找到small下载下来就ok了
…---原始邮件---
发件人: "Xu ***@***.***>
发送时间: 2024年3月19日(周二) 下午2:36
收件人: ***@***.***>;
抄送: "a ***@***.******@***.***>;
主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small (Issue #690)
请问你的small模型是在哪里下载的呀,是在huggingface吗?我都不会下载,
________________________________
From: a ha ***@***.***>
Sent: Tuesday, March 19, 2024 2:30 PM
To: HIT-SCIR/ltp ***@***.***>
Cc: Xu Yue ***@***.***>; Comment ***@***.***>
Subject: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small (Issue #690)
解决了 small模型需要自己下载不会自动安装的 但是书本里对句子分词的方法seg()有问题找不到该方法
---原始邮件---
发件人: "Xu ***@***.***&gt;
发送时间: 2024年3月19日(周二) 下午2:22
收件人: ***@***.***&gt;;
抄送: "a ***@***.******@***.***&gt;;
主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small (Issue #690)
请问你解决了吗?
―
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***&gt;
―
Reply to this email directly, view it on GitHub<#690 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARRIMEYSEVHQYPCKPZNHEGTYY7LO3AVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHEYTGOJXGM>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
我进入了那个页面,找到了small,但是都不在在哪里下载?没有找到下载的地方。
a ha ***@***.***>于2024年3月19日 周二17:40写道:
… 就huggingface的官网上找到small下载下来就ok了
---原始邮件---
发件人: "Xu ***@***.***>
发送时间: 2024年3月19日(周二) 下午2:36
收件人: ***@***.***>;
抄送: "a ***@***.******@***.***>;
主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError:
config.json not found in LTP/small (Issue #690)
请问你的small模型是在哪里下载的呀,是在huggingface吗?我都不会下载,
________________________________
From: a ha ***@***.***>
Sent: Tuesday, March 19, 2024 2:30 PM
To: HIT-SCIR/ltp ***@***.***>
Cc: Xu Yue ***@***.***>; Comment ***@***.***>
Subject: Re: [HIT-SCIR/ltp]
为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in
LTP/small (Issue #690)
解决了 small模型需要自己下载不会自动安装的 但是书本里对句子分词的方法seg()有问题找不到该方法
---原始邮件---
发件人: "Xu ***@***.***&gt;
发送时间: 2024年3月19日(周二) 下午2:22
收件人: ***@***.***&gt;;
抄送: "a ***@***.******@***.***&gt;;
主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError:
config.json not found in LTP/small (Issue #690)
请问你解决了吗?
―
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
***@***.***&gt;
―
Reply to this email directly, view it on GitHub<
#690 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ARRIMEYSEVHQYPCKPZNHEGTYY7LO3AVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHEYTGOJXGM>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub
<#690 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARRIMEZGDKZTTQBUQUI6IITYZABZJAVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBWGUZTCNJYHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
啊? small里的files全下载就行了吧
BiuBiu
***@***.***
…------------------ 原始邮件 ------------------
发件人: "HIT-SCIR/ltp" ***@***.***>;
发送时间: 2024年3月20日(星期三) 晚上11:08
***@***.***>;
***@***.******@***.***>;
主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in LTP/small (Issue #690)
我进入了那个页面,找到了small,但是都不在在哪里下载?没有找到下载的地方。
a ha ***@***.***>于2024年3月19日 周二17:40写道:
> 就huggingface的官网上找到small下载下来就ok了
>
>
>
> ---原始邮件---
> 发件人: "Xu ***@***.***&gt;
> 发送时间: 2024年3月19日(周二) 下午2:36
> 收件人: ***@***.***&gt;;
> 抄送: "a ***@***.******@***.***&gt;;
> 主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError:
> config.json not found in LTP/small (Issue #690)
>
>
>
>
> 请问你的small模型是在哪里下载的呀,是在huggingface吗?我都不会下载,
> ________________________________
> From: a ha ***@***.***&gt;
> Sent: Tuesday, March 19, 2024 2:30 PM
> To: HIT-SCIR/ltp ***@***.***&gt;
> Cc: Xu Yue ***@***.***&gt;; Comment ***@***.***&gt;
> Subject: Re: [HIT-SCIR/ltp]
> 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in
> LTP/small (Issue #690)
>
>
> 解决了 small模型需要自己下载不会自动安装的 但是书本里对句子分词的方法seg()有问题找不到该方法
>
>
>
> ---原始邮件---
> 发件人: "Xu ***@***.***&amp;gt;
> 发送时间: 2024年3月19日(周二) 下午2:22
> 收件人: ***@***.***&amp;gt;;
> 抄送: "a ***@***.******@***.***&amp;gt;;
> 主题: Re: [HIT-SCIR/ltp] 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError:
> config.json not found in LTP/small (Issue #690)
>
>
>
>
>
> 请问你解决了吗?
>
> ―
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.Message ID:
> ***@***.***&amp;gt;
>
> ―
> Reply to this email directly, view it on GitHub<
> #690 (comment)&gt;,
> or unsubscribe<
> https://github.com/notifications/unsubscribe-auth/ARRIMEYSEVHQYPCKPZNHEGTYY7LO3AVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHEYTGOJXGM&gt;.
>
> You are receiving this because you commented.Message ID: ***@***.***&gt;
>
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.Message ID:
> ***@***.***&gt;
>
> —
> Reply to this email directly, view it on GitHub
> <#690 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARRIMEZGDKZTTQBUQUI6IITYZABZJAVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBWGUZTCNJYHE>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
好的,谢谢,我明天试试吧
a ha ***@***.***>于2024年3月20日 周三23:21写道:
… 啊? small里的files全下载就行了吧
BiuBiu
***@***.***
------------------ 原始邮件 ------------------
发件人: "HIT-SCIR/ltp" ***@***.***>;
发送时间: 2024年3月20日(星期三) 晚上11:08
***@***.***>;
***@***.******@***.***>;
主题: Re: [HIT-SCIR/ltp]
为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found in
LTP/small (Issue #690)
我进入了那个页面,找到了small,但是都不在在哪里下载?没有找到下载的地方。
a ha ***@***.***>于2024年3月19日 周二17:40写道:
> 就huggingface的官网上找到small下载下来就ok了
>
>
>
> ---原始邮件---
> 发件人: "Xu ***@***.***&gt;
> 发送时间: 2024年3月19日(周二) 下午2:36
> 收件人: ***@***.***&gt;;
> 抄送: "a ***@***.******@***.***&gt;;
> 主题: Re: [HIT-SCIR/ltp]
为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError:
> config.json not found in LTP/small (Issue #690)
>
>
>
>
> 请问你的small模型是在哪里下载的呀,是在huggingface吗?我都不会下载,
> ________________________________
> From: a ha ***@***.***&gt;
> Sent: Tuesday, March 19, 2024 2:30 PM
> To: HIT-SCIR/ltp ***@***.***&gt;
> Cc: Xu Yue ***@***.***&gt;; Comment ***@***.***&gt;
> Subject: Re: [HIT-SCIR/ltp]
> 为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError: config.json not found
in
> LTP/small (Issue #690)
>
>
> 解决了 small模型需要自己下载不会自动安装的 但是书本里对句子分词的方法seg()有问题找不到该方法
>
>
>
> ---原始邮件---
> 发件人: "Xu ***@***.***&amp;gt;
> 发送时间: 2024年3月19日(周二) 下午2:22
> 收件人: ***@***.***&amp;gt;;
> 抄送: "a ***@***.******@***.***&amp;gt;;
> 主题: Re: [HIT-SCIR/ltp]
为什么运行ltp=LTP()时加载small模型失败,出现FileNotFoundError:
> config.json not found in LTP/small (Issue #690)
>
>
>
>
>
> 请问你解决了吗?
>
> ―
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.Message ID:
> ***@***.***&amp;gt;
>
> ―
> Reply to this email directly, view it on GitHub<
>
#690 (comment)&gt;,
> or unsubscribe<
>
https://github.com/notifications/unsubscribe-auth/ARRIMEYSEVHQYPCKPZNHEGTYY7LO3AVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHEYTGOJXGM&gt;.
>
> You are receiving this because you commented.Message ID:
***@***.***&gt;
>
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you authored the thread.Message ID:
> ***@***.***&gt;
>
> —
> Reply to this email directly, view it on GitHub
> <
#690 (comment)>,
or
> unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ARRIMEZGDKZTTQBUQUI6IITYZABZJAVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBWGUZTCNJYHE>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub
<#690 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARRIMEYZJ6NZQVAUXKVZURTYZGSPNAVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZHAZTAOBRGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
同学,请问你把所有文件下载好之后,是放到一个叫small的文件夹中吗?然后这个samll文件夹需要放在哪里呀?放在ltp包里吗? |
ltp = LTP("LTP/small") # 默认加载 Small 模型 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: