keytotext:句子关键字

上传者: 42128270 | 上传时间: 2023-01-29 10:30:02 | 文件大小: 8.04MB | 文件类型: ZIP
按键文字 想法是建立一个将关键字作为输入并生成句子作为输出的模型。 模型: 已经建立了两个模型: 使用T5的基本大小= 850 MB可以在这里找到: : 使用T5,小尺寸= 230 MB,可以在这里找到: : 用法: from transformers import AutoTokenizer , AutoModelWithLMHead tokenizer = AutoTokenizer . from_pretrained ( "gagan3012/keytotext-small" ) model = AutoModelWithLMHead . from_pretrained ( "gagan3012/keytotext-small" ) 这使用了我构建的自定义流式compopnet: pip install streamlit-tags 也可以在上找到安装 演示: 例

文件下载

资源详情

[{"title":"( 23 个子文件 8.04MB ) keytotext:句子关键字","children":[{"title":"keytotext-master","children":[{"title":"app.py <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"Notebooks","children":[{"title":"testkeywords.ipynb <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false},{"title":"Datapipelinek2s.ipynb <span style='color:#111;'> 10.10KB </span>","children":null,"spread":false},{"title":"modeltexttokey.ipynb <span style='color:#111;'> 125.60KB </span>","children":null,"spread":false},{"title":"Keywords_to_text.ipynb <span style='color:#111;'> 81.41KB </span>","children":null,"spread":false},{"title":"GPTModel.ipynb <span style='color:#111;'> 80.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"webnlg_train.csv <span style='color:#111;'> 9.55MB </span>","children":null,"spread":false},{"title":"webnlg_test.csv <span style='color:#111;'> 9.55MB </span>","children":null,"spread":false},{"title":"dart_train.csv <span style='color:#111;'> 16.43MB </span>","children":null,"spread":false},{"title":"dart_test.csv <span style='color:#111;'> 16.43MB </span>","children":null,"spread":false},{"title":"dart_dev.csv <span style='color:#111;'> 16.43MB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"webnlg_dev.csv <span style='color:#111;'> 9.55MB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"aws.xml <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"keytotext.iml <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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