Open Hustle-24-7 opened 8 months ago
请问你解决了吗?
解决了 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 GitHubhttps://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2005913973, or unsubscribehttps://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 @.> 发送时间: 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<https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2005913973>, 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 @.> 发送时间: 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< https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2005913973>, 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 https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2006531589, 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 @.> > 发送时间: 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< > https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2005913973&gt;, > or unsubscribe< > https://github.com/notifications/unsubscribe-auth/ARRIMEYSEVHQYPCKPZNHEGTYY7LO3AVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHEYTGOJXGM&gt;. > > 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 > <https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2006531589>, 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 @.> > 发送时间: 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< > https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2005913973&gt;,
> or unsubscribe< > https://github.com/notifications/unsubscribe-auth/ARRIMEYSEVHQYPCKPZNHEGTYY7LO3AVCNFSM6AAAAABEZ24TMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBVHEYTGOJXGM&gt;.
> > 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 > < https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2006531589>, 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 https://github.com/HIT-SCIR/ltp/issues/690#issuecomment-2009830813, 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 模型 里面写的就是路径哈