GithubHelp home page GithubHelp logo

qiao1210 / novel_generation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shixin398/novel_generation

0.0 0.0 0.0 387 KB

基于东野圭吾的《白夜行》第一章作为语料,使用双向GRU模型预测下一个词是什么的方式进行文本生成。

Python 100.00%

novel_generation's Introduction

小说生成模型

应用one-hot形式,在不带入预训练embedding的情况下进行文本生成。

环境

Python 3+

Tensorflow 2+

语料

放置于'./data'中,使用《白夜行》第一章作为训练集

模型

目前尝试BidirectionalGRU的形式进行生成,主要就是对于输入的数据预测下一个词会是什么

运行

使用'./src/main.py'进行训练以及测试

novel_generation's People

Contributors

justinjiang1994 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.