Project fixes and cleanups (#5632)

This commit is contained in:
Stephanie Wang
2019-09-05 11:55:42 -07:00
committed by Philipp Moritz
parent 19bbf1eb4d
commit edcc56ea01
9 changed files with 102 additions and 64 deletions
+41
View File
@@ -0,0 +1,41 @@
Ray Projects
============
To run these example projects, we first have to make sure the full
repository is checked out into the project directory.
Open Tacotron
-------------
```shell
cd open-tacotron
# Check out the original repository
git init
git remote add origin https://github.com/keithito/tacotron.git
git fetch
git checkout -t origin/master
# Serve the model
ray session start serve
# Terminate the session
ray session stop
```
PyTorch Transformers
--------------------
```shell
cd python-transformers
# Check out the original repository
git init
git remote add origin https://github.com/huggingface/pytorch-transformers.git
git fetch
git checkout -t origin/master
# Now we can start the training
ray session start train --dataset SST-2
# Terminate the session
ray session stop
```
@@ -7,7 +7,7 @@ repo: https://github.com/keithito/tacotron
cluster: .rayproject/cluster.yaml
environment:
requirements: requirements.txt
requirements: .rayproject/requirements.txt
shell:
- curl http://data.keithito.com/data/speech/tacotron-20180906.tar.gz | tar xzC /tmp
@@ -7,7 +7,7 @@ repo: https://github.com/huggingface/pytorch-transformers
cluster: .rayproject/cluster.yaml
environment:
requirements: requirements.txt
requirements: .rayproject/requirements.txt
commands:
- name: train