tf-gpt-2:使用Tensorflow的GPT-2文本模型的Java库

上传者: 42159267 | 上传时间: 2023-02-12 23:48:49 | 文件大小: 50KB | 文件类型: ZIP
tf-gpt-2 使用Tensorflow的GPT-2文本模型的Java库 来源: 更多背景: 基本用法 导入库 < dependency> < groupId>com.simiacryptus < artifactId>tf-gpt-2 < version>1.7.1 实例化文本生成器 import com.simiacryptus.text.TextGenerator ; import com.simiacryptus.text.gpt2.GPT2Util ; TextGenerator textGenerator = GPT2Util . get345M(); 产生文字 System . out . println(textGenerat

文件下载

资源详情

[{"title":"( 23 个子文件 50KB ) tf-gpt-2:使用Tensorflow的GPT-2文本模型的Java库","children":[{"title":"tf-gpt-2-master","children":[{"title":"src","children":[{"title":"site","children":[{"title":"site.xml <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"resources","children":[{"title":"logback.xml <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"simiacryptus","children":[{"title":"text","children":[{"title":"gpt2","children":[{"title":"TestUtil.java <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"UserTests.java <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"GraphComparer.java <span style='color:#111;'> 11.03KB </span>","children":null,"spread":false},{"title":"DevTests.java <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"simiacryptus","children":[{"title":"text","children":[{"title":"TemperatureWrapper.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"MinEntropyWrapper.java <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"SumModel.java <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"TopNWrapper.java <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"GraphModifier.java <span style='color:#111;'> 13.54KB </span>","children":null,"spread":false},{"title":"LanguageCodeModel.java <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"TextGenerator.java <span style='color:#111;'> 9.65KB </span>","children":null,"spread":false},{"title":"gpt2","children":[{"title":"GPT2Edit_345M.java <span style='color:#111;'> 313.88KB </span>","children":null,"spread":false},{"title":"GPT2Model.java <span style='color:#111;'> 11.55KB </span>","children":null,"spread":false},{"title":"GPT2Codec.java <span style='color:#111;'> 7.04KB </span>","children":null,"spread":false},{"title":"GPT2Util.java <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false}],"spread":false},{"title":"ModelWrapper.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"SimpleModel.java <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 905B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 340B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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