Giter Site home page Giter Site logo

vae-text-generation's People

Contributors

rohithreddy024 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

Watchers

 avatar  avatar  avatar

vae-text-generation's Issues

Perplexity score

Please could tell me how to include code for calculating perplexity in this code? #help

Title generation

Hi, I want use this code to generate titles for Wikipedia articles. Please could I know what changes I need to make. The train dataset has both the articles and the title for each article. Please help. Thanks

Training is very slow on Intel Xeon 2.3Ghz, CUDA not working

I am using a google collab VM with an Nvidia K80 GPU and Intel Xeon CPU. On running python3 main.py, training is occurring but seems to be very slow. It has been 1 hour and 1 epoch doesn't seem to have been completed. Is that normal?

Also, on running nvidia-smi on CLI, it says that my GPU is not being utilised at al (0% utilization). This means the GPU isn't being used at all. I suspected that this was because the default gpu_device is set to 1 in main.py, but my gpu has an id of 0. After changing this parameter, I am getting an error during training.

I did not copy the error, but in essence, it is saying that all of the vectors are not present in the same device. I am assuming that this is because there is a bug in the code that did not send the vector to gpu with id = 0. I will paste this error as soon as I run in it again to replicate this problem.

So finally I have 2 questions, 1. is training on CPU meant to be this slow? 2. How do I change the gpu id to 0 without causing an error. Thanks in advance.

Bug in model?

May I ask if the input size of hidden_to_logvar should be 2 * opt.n_hidden_E?

self.hidden_to_mu = nn.Linear(2 * opt.n_hidden_E, opt.n_z)
self.hidden_to_logvar = nn.Linear(2 * opt.n_hidden_G, opt.n_z) => should be nn.Linear(2 * opt.n_hidden_E, opt.n_z)

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.