transformer-nmt-chatbot

上传者: 42108778 | 上传时间: 2022-06-14 17:50:59 | 文件大小: 80.21MB | 文件类型: ZIP
基于Transformer NMT模型的聊天机器人 nmt-chatbot是使用的chatbot的实现。 该项目的主要目的是制作一个聊天机器人,但它与神经机器翻译完全兼容,并且仍可用于两种语言之间的句子翻译。 直接用法 打开以下Google Colab笔记本即可随时随地使用它。 安装 克隆 使用以下命令将此仓库克隆到本地计算机 $ git clone https://github.com/Ar9av/transformer-nmt-chatbot.git 更改工作目录 $ cd transformer-nmt-chatbot 设置 使用以下命令安装需求 $ pip install -r requirements.txt $ sudo apt-get install chromium-chromedriver 测试聊天机器人 在config.yml更改type参数以test并运行以下命令

文件下载

资源详情

[{"title":"( 25 个子文件 80.21MB ) transformer-nmt-chatbot","children":[{"title":"transformer-nmt-chatbot-master","children":[{"title":".gitignore <span style='color:#111;'> 11B </span>","children":null,"spread":false},{"title":"reddit_config.yml <span style='color:#111;'> 303B </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"data","children":[{"title":"training_data.txt <span style='color:#111;'> 484.47KB </span>","children":null,"spread":false},{"title":"train.from <span style='color:#111;'> 216.46KB </span>","children":null,"spread":false},{"title":"train.to <span style='color:#111;'> 293.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"example.gif <span style='color:#111;'> 410.27KB </span>","children":null,"spread":false},{"title":"reddit_config.png <span style='color:#111;'> 26.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"dataloader.py <span style='color:#111;'> 859B </span>","children":null,"spread":false},{"title":"get_reddit_data.py <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"layers.py <span style='color:#111;'> 12.26KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"checkpoints","children":[{"title":"train","children":[{"title":"ckpt-47.data-00001-of-00002 <span style='color:#111;'> 44.81MB </span>","children":null,"spread":false},{"title":"ckpt-47.data-00000-of-00002 <span style='color:#111;'> 47.10MB </span>","children":null,"spread":false},{"title":"ckpt-47.index <span style='color:#111;'> 36.67KB </span>","children":null,"spread":false},{"title":"checkpoint <span style='color:#111;'> 975B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"tokenizers","children":[{"title":"outputs_token.subwords <span style='color:#111;'> 132.85KB </span>","children":null,"spread":false},{"title":"inputs_token.subwords <span style='color:#111;'> 133.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.py <span style='color:#111;'> 10.12KB </span>","children":null,"spread":false},{"title":"config.yml <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"reddit_bot.py <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"logs","children":[{"title":"train","children":[{"title":"events.out.tfevents.1583743843.HOME-PC.46324.20326.v2 <span style='color:#111;'> 3.45MB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"reddit_credentials.yml <span style='color:#111;'> 198B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明