Giter Site home page Giter Site logo

stylisticpoetry's People

Contributors

xiaoyuanyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stylisticpoetry's Issues

程序问题

您好,看了您的code,发现有些内容没有提供,但是也没有说这个文件的格式,请问一下,在Yun.py文件中的totalpoemlist方法中,您使用到了data/poemcorpus/totaljiantipoems_change.txt这个文件,这个文件是什么样的格式的,如果方便的话请加qq讨论:1147413415 谢谢您的解答。

数据集

请问现在训练用的数据集能上传了吗?

程序运行时缺少很多文件

您好,作者。我对你的研究这一块非常感兴趣,但是,在运行您的代码时,发现缺少很多文件。如果作者能分享这些文件,会对很多人受益。谢谢~~

vocab.pkl和ivocab.pkl读取错误

我用dic=pickle.load(open(path,"rb")),得到'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128),
我是python3.6 64位,请问要如何修改?
谢谢

请问贵方的藏头诗有没有开源?

我在贵方官网上看到可以生成藏头诗,但是贵方GitHub首页里我没有找到相关项目,请问是没有开源还是我没有找到呢?StylisticPoetry能训练藏头诗吗?

Various questions about the code, and how one can run it

Many thanks for making the code of the paper available.

I'm trying to understand how the code works, but finding it very hard to get the code to run (and generate something). Could you please clarify the following:

  1. What does beam_size mean? I get asked to provide a beam_size when I run generate.py, but not sure what that should be?
  2. What does the file "DubplicateCheckLib.txt" do? It's missing in the repository, so I'm using "DubplicateCheckLib_example.txt" instead, but not sure of the effect that would have on the model.
  3. I trained the model for about an hour with training/testing/validation pkl files I created from the poems example corpus (poems.txt) - (I understand that amount of time with that corpus size is not enough, I was just trying to see if the generation process works). Then I tried to generate something with it (by running generate.py). I tried beam_size (from 1-10) and gave an input sentence ("戴花三朵镇长春"), but I kept getting this error:
    "generation failed! line 2 generation failed!", is this because the model wasn't trained enough? or am I doing something wrong.

Thanks a lot for your help!

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.