Giter Site home page Giter Site logo

pytorch_name_net's Introduction

PyTorch 人工智能自动取名

本repo基于conditional rnn,如果对condition rnn不是非常了解也没有关系,大概原理就是根据给定的条件来生成不同的东西。我之前做过一个自动作诗机器人,近期打算用conditional RNN进行重构,这应该是个先行版本,最终目的就是指定不同年代创作不同的古诗,比如做宋词还是唐诗,还是汉律,还是现代诗,当然也欢迎大家直接把这个repo进行扩展。

PicName

Done

  • 模型可以断点续训
  • 数据集中包含了500个公司名字,和将近一千个人名,其中很多明星的名字
  • Conditional RNN可以根据设定条件自动生成相应的名字,比如给定category是company就能生成有点像公司的名字

Usage

使用非常简单:

python3 train.py
python3 generate.py company 国

Future Work

这个项目可以作为RNN的练手,但是我隐约感觉到这里面有个很玄学的问题,那就是好像不同的姓生成的名字都差不多,大家有兴趣可以一起来debug了一下是哪里的问题,欢迎给我提PR!

Copyright

this repo implement by Jin Fagang, owns the copyriht of datasets, please it user Apache License 2.0

pytorch_name_net's People

Contributors

lucasjinreal avatar

Watchers

James Cloos avatar iampanda 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.