【发布时间】:2021-12-06 01:58:21
【问题描述】:
我在 google collab (https://colab.research.google.com/drive/1ShpZlXMslxdS56OmNfvanqZT-3TRUuLf#scrollTo=u6BYFz39ynHF) 中有一个 blenderbot2 笔记本
我使用以下交互模式运行 blenderbot2
!parlai interactive -mf zoo:blenderbot2/blenderbot2_3B/model --search-server relevant_search_server
如果您不知道,blenderbot2 是来自 Facebook AI 的最新深度学习聊天机器人,它使用在线互联网搜索来保持对世界的最新了解。我能够运行 Blenderbot2,但似乎每当我提出问题时,它都会提示机器人通过服务器搜索新信息,然后导致崩溃。崩溃错误消息如下:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='relevant_search_server', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc85fbd1410>: Failed to establish a new connection: [Errno -2] Name or service not known'))
如何配置 google collab notebook,以便我可以为其提供相关的搜索服务器?
【问题讨论】:
标签: python deep-learning chatbot parlai blenderbot