char-rnn-tensorflow icon indicating copy to clipboard operation
char-rnn-tensorflow copied to clipboard

Multi-layer Recurrent Neural Networks (LSTM, RNN) for character-level language models in Python using Tensorflow

Results 49 char-rnn-tensorflow issues
Sort by recently updated
recently updated
newest added

This works fine for me with Tensorflow 0.10 but does not with Tensorflow 0.11 Some issue with Tuple. Is anyone else having this issue? state_is_tuple=true might be the solution but...

The tensorflow variable self.lr is really for traning only, as well as the variable self.train_op.

My goal is to predict a probability of a new sentence, could you give a example of hot to calculate the probability of a new sentence?

Python opens files as bytes by default. It would be nice if `TextLoader.preprocess` read the file and encoded it as unicode. I'll submit a PR. Thanks.

When training on large files, I get a MemoryError despite having more than enough memory to hold the file: > reading text file > Traceback (most recent call last): >...

Is there a way to tune the temperature parameter ? > Temperature. An important parameter you may want to play with is -temperature, which takes a number in range (0,...

In def create_batches(self) (util.py): ``` python ydata[:-1] = xdata[1:] ydata[-1] = xdata[0] ``` The first line is fair enough. However, why we need the second line? Say our data is...

`weighted_pick(weights)` in model.py can return an index which is larger than len(chars)-1 this happens if `sum(weights)sum(weights)` then, `int(np.searchsorted(t, np.random.rand(1)*s) )==len(t)`, which leads to an IndexError ``` import numpy as np...

Hi I wanted to see whether I could learn things about other types of text but it seems to be problematic. Is there something specific about the headline chapter format...