Skip to content

Commit

Permalink
Add TensorFlow dependency to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
batzner committed Apr 9, 2018
1 parent 48c51cf commit 4106866
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ Generate Shakespeare poems with 4 lines of code.

## Installation

`tensorlm` is written in / for Python 3.4+
`tensorlm` is written in / for Python 3.4+ and TensorFlow 1.1+

pip3 install tensorflow>=1.1
pip3 install tensorlm

## Basic Usage
Expand Down
10 changes: 2 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ tensorlm

Generate Shakespeare poems with 4 lines of code.

\ |showcase of the package|\

Installation
------------

``tensorlm`` is written in / for Python 3.4+
``tensorlm`` is written in / for Python 3.4+ and TensorFlow 1.1+

::

pip3 install tensorflow>=1.1
pip3 install tensorlm

Basic Usage
Expand Down Expand Up @@ -42,7 +39,7 @@ This should output something like:

::

The eee ee ee ee e e ee ee e e e e e e e e e e
The ee e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e

Command Line Usage
------------------
Expand Down Expand Up @@ -156,6 +153,3 @@ This should output something like:
Sampled: "The ee e e e e e e e e e e e e e e e e e e e e e e e e e e e "
Epoch: 19, Step: 500, Train Loss: 2.444502, Dev Loss: 2.479753
Sampled: "The an an an on on on on on on on on on on on on on on on on on on on on on o"

.. |showcase of the package| image:: http://i.cubeupload.com/8Cm5RQ.gif
:target: http://www.mlowl.com/post/character-language-model-lstm-tensorflow/
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy==1.13.1
# tensorflow==1.1.0
tensorflow>=1.1.0
nltk==3.2.4
python-dateutil==2.6.1
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
setup(
name="tensorlm",
packages=find_packages(exclude=["examples"]),
version="0.4.1",
version="0.4.2",
description="TensorFlow wrapper for deep neural text generation on character or word level "
"with RNNs / LSTMs",
long_description=long_description,
author="Kilian Batzner",
author_email="tensorlm@kilians.net",
license="MIT",
url="https://github.com/batzner/tensorlm",
download_url="https://github.com/batzner/tensorlm/archive/v0.4.1.tar.gz",
download_url="https://github.com/batzner/tensorlm/archive/v0.4.2.tar.gz",
keywords=["tensorflow", "text", "generation", "language", "model", "rnn", "lstm", "deep",
"neural", "char", "word"],
classifiers=[
Expand All @@ -31,6 +31,7 @@
],
install_requires=[
"numpy==1.13.1",
"tensorflow>=1.1.0",
"nltk==3.2.4",
"python-dateutil==2.6.1",
],
Expand Down

0 comments on commit 4106866

Please sign in to comment.