textgenrnn
textgenrnn copied to clipboard
Easily train your own text-generating neural network of any size and complexity on any text dataset with a few lines of code.
I'm using textgenrnn library in my Flask app and `return_as_list` is working so and so. ``` generatedtext = textgen_anxious.generate(3, temperature=0.5, return_as_list=True) ``` Instead of returning 3 texts, this might return...
After the fix mentioned here: https://github.com/minimaxir/textgenrnn/issues/231 the model training is back to normal speed, but the actual generation of modeled text appears to have slowed down tremendously, both in the...
I'm adding my hobby project https://www.makeitmetal.net/ to the README as an example of what you can do with textgenrnn. This library made it much easier to get the project off...
Training new model w/ 4-layer, 128-cell Bidirectional LSTMs Training on 92,139 character sequences. Epoch 1/10 --------------------------------------------------------------------------- InternalError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args) 1321 try: ->...
textgen_2.generate(3, temperature=1.0) ValueError Traceback (most recent call last) in ----> 1 textgen2= textgenrnn('colaboratory_weights.hdf5') 2 #textgen2.generate(3, temperature=1.0) /usr/local/lib/python3.6/dist-packages/textgenrnn/textgenrnn.py in __init__(self, weights_path, vocab_path, config_path, name, allow_growth) 74 self.model = textgenrnn_model(self.num_classes, 75 cfg=self.config,...
When i try do do : `textgen.generate()` i get : `UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 4: ordinal not in range(128)` Please help me
Hi, I have been playing around with textgenrnn trying to generate short texts in Italian. It kind of works, the results are interesting, but I don't know if textgenrnn is...
it does this error when i do pip install textgenrnn ![image](https://user-images.githubusercontent.com/70319047/91421774-6448f580-e867-11ea-92d6-469cee68f5ab.png)
can't run demo, getting the following error: ImportError: You need to first `import keras` in order to use `keras_preprocessing`. For instance, you can do: ``` import keras from keras_preprocessing import...