Bertopic 运行中报错记录

编程入门 行业动态 更新时间:2024-10-27 20:36:01

Bertopic 运行中<a href=https://www.elefans.com/category/jswz/34/1771188.html style=报错记录"/>

Bertopic 运行中报错记录

1、下载模型报错ConnectionError: (ProtocolError(‘Connection aborted.’, ConnectionResetError(54, ‘Connection reset by peer’))

运行代码:
topics, probabilities = model.fit_transform(docs)
报错内容:

ConnectionError: (ProtocolError(‘Connection aborted.’, ConnectionResetError(54, ‘Connection reset by peer’)), ‘(Request ID: 5a75855f-ec0f-415b-8626-cb998e73aa80)’)

解决方案:

安装OpenSSL
MAC 安装

brew install OpenSSL

2、下载模型报错ConnectionError: (MaxRetryError("HTTPSConnectionPool(host=‘huggingface.co’, port=443):

运行代码:
topics, probabilities = model.fit_transform(docs)
报错内容:

ConnectionError: (MaxRetryError("HTTPSConnectionPool(host=‘huggingface.co’, port=443)

解决方案:
  • 将模型下载到本地,在huggingface 上,指定模型的Files and versions 进行下载,全部下载完成以后,设置本地模型的路径,就是下载以后放在本地的文件夹地址。
  • 科学上网,切换网络后可以直接下载
3、OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead."
运行代码:
topics, probabilities = model.fit_transform(docs)
报错内容:P: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead."
解决方案
conda install -c numba numba==0.56.2

更多推荐

Bertopic 运行中报错记录

本文发布于:2023-12-04 18:39:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1661865.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报错   Bertopic

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!