Commit bb5798c7 authored by Neal Wu's avatar Neal Wu
Browse files

Made several fixes to the embedding README

parent 12f279d6
...@@ -7,7 +7,7 @@ ICLR 2013. ...@@ -7,7 +7,7 @@ ICLR 2013.
Detailed instructions on how to get started and use them are available in the Detailed instructions on how to get started and use them are available in the
tutorials. Brief instructions are below. tutorials. Brief instructions are below.
* [Word2Vec Tutorial](http://tensorflow.org/tutorials/word2vec/index.md) * [Word2Vec Tutorial](http://tensorflow.org/tutorials/word2vec)
To download the example text and evaluation data: To download the example text and evaluation data:
...@@ -19,11 +19,11 @@ unzip -p source-archive.zip word2vec/trunk/questions-words.txt > questions-word ...@@ -19,11 +19,11 @@ unzip -p source-archive.zip word2vec/trunk/questions-words.txt > questions-word
rm source-archive.zip rm source-archive.zip
``` ```
Assuming you are using the pip package install and have cloned the git Assuming you have cloned the git repository, navigate into this directory and
repository, navigate into this directory and run using: run using:
```shell ```shell
cd tensorflow/models/embedding cd models/tutorials/embedding
python word2vec_optimized.py \ python word2vec_optimized.py \
--train_data=text8 \ --train_data=text8 \
--eval_data=questions-words.txt \ --eval_data=questions-words.txt \
...@@ -33,7 +33,7 @@ python word2vec_optimized.py \ ...@@ -33,7 +33,7 @@ python word2vec_optimized.py \
To run the code from sources using bazel: To run the code from sources using bazel:
```shell ```shell
bazel run -c opt tensorflow/models/embedding/word2vec_optimized -- \ bazel run -c opt models/tutorials/embedding/word2vec_optimized -- \
--train_data=text8 \ --train_data=text8 \
--eval_data=questions-words.txt \ --eval_data=questions-words.txt \
--save_path=/tmp/ --save_path=/tmp/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment