【问题标题】:I am trying to import this simpletransformers got the error我正在尝试导入这个 simpletransformers 得到了错误
【发布时间】:2021-05-04 16:40:53
【问题描述】:
from simpletransformers.question_answering import QuestionAnsweringModel

得到这个属性错误:

AttributeError: 模块 'urllib3.util' 没有属性 'PROTOCOL_TLS'

【问题讨论】:

    标签: python nlp bert-language-model simpletransformers


    【解决方案1】:

    使用!pip freeze 解决了这个问题

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-10-25
      • 2023-02-10
      • 2018-04-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多