Giter Club home page Giter Club logo

got-book-6's People

Contributors

zackthoutt 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  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

got-book-6's Issues

RNN or LSTM?

Is this a vanilla RNN or an LSTM? I can't find the actual code.

Also take a look at the newer text generation papers. In particular, there was this one paper (from Baidu research i believe?) on Chinese poetry generation that did incredibly well. I would in particular try GANs and autoregressive CNN models.

Some questions.

1.Wiil it work if I put no GOT book?
2.Is there any way to start training and when I dont wanna train i can pause it and
resume it from place that I stoped?
3.How can I generate book using trained model without starting training from begining?

Hope you will anserw my questions :)

Your project is so amazing ๐Ÿ‘

Input dataset contains concerning non-speech artefacts

No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from the publisher.

This passage (line 27 /data/got1.txt) is stylistically different from George's usual prose, and may have some impact on the quality of the data that can be generated.

Saving and Reloading

Hi, I'm wondering if it is possible to reload the model from a saved checkpoint. I've tried to implement this myself, but I don't really know much about tensorflow and run into errors.

Memory issue

Hi. that's a great project there.. i loved it.. Could you please tell me about your hardware, I have MacBook Air with 8gb ram and it took almost 13 hours and then it crashed.. I was thinking to run it on a server so if you could just give me an idea about the memory.. i would really appreciate it... Thanks!

Greenbeard

Greenbeard was actually a character (although I've forgotten him)
I was initially perplexed thinking the network came up with a word outside the vocab.

http://awoiaf.westeros.org/index.php/Greenbeard

Just clearing it up for anybody who might be thinking along similar lines.

No `LICENSE.md`

In order to enable open-source contributions, it would be formative to consider the specifics of a license agreement.

Porting to TensorFlow 1.4

Hello,
has anybody successfully ported to TensorFlow 1.4 ?
I am encountering problems, and would appreciate help.

  1. crash here
38     # Build RNN
---> 39     outputs, final_state = tf.nn.dynamic_rnn(cell, embed, dtype=tf.float32)

if embed_dim is different from rnn_size.
For the time being, I leave the 2 values equal.

  1. crash here
---> 34         pred_word = pick_word(probabilities[dyn_seq_length-1], int_to_vocab)
IndexError: index 2 is out of bounds for axis 0 with size 1

same problem as #15

Any ideas ?

It could take days not hours to train...

Greetings,

Nice project... With the default parameters you've gave, it takes days not hours, even with powerful GPUs on AWS.

num_epochs = 10000; batch_size = 512; rnn_size = 512; num_layers = 3; keep_prob = 0.7; embed_dim = 512; seq_length = 30; learning_rate = 0.001;

Also I have to cut the batch_size to 256 (as I think you also did) since I've got a GPU memory overflow. I'm curious to know if there is less greedy hyperparameters. In your Notebook, the executable shows more than 24 days.

I'm also curious to compare with a simple Markov chain.

Anyway thanks for the nice project that allows us to dream with tales.

Claude Coulombe

Chapter 2 - Hodor

Hodor looked at them bellowing, "which road you should be home."

I think a special case needs handled here ;-D
Awesome job

Making trained model available?

Nice project!
Is there any chance you could provide the trained model, so we can play a bit with it without going through the trouble of training a new one from scratch?

ValueError: object too deep for desired array

Hi Buddy,

There is an error when I run your program via 'ipython notebook' with following tips

NFO:tensorflow:Restoring parameters from ./save

ValueError Traceback (most recent call last)
in ()
30
31 #pred_word = pick_word(probabilities[dyn_seq_length-1], int_to_vocab)
---> 32 pred_word = pick_word(probabilities[0], int_to_vocab)
33
34 gen_sentences.append(pred_word)

in pick_word(probabilities, int_to_vocab)
6 :return: String of the predicted word
7 """
----> 8 return np.random.choice(list(int_to_vocab.values()), 1, p=probabilities)[0]

mtrand.pyx in mtrand.RandomState.choice (numpy/random/mtrand/mtrand.c:17602)()

ValueError: object too deep for desired array

Great job

How long did it take to train your model?
Best flo

IndexError: index 1 is out of bounds for axis 0 with size 1

IndexError Traceback (most recent call last)
in ()
29 {input_text: dyn_input, initial_state: prev_state})
30
---> 31 pred_word = pick_word(probabilities[dyn_seq_length-1], int_to_vocab)
32
33 gen_sentences.append(pred_word)

IndexError: index 1 is out of bounds for axis 0 with size 1

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.