mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 20:07:41 +08:00
Project fixes and cleanups (#5632)
This commit is contained in:
committed by
Philipp Moritz
parent
19bbf1eb4d
commit
edcc56ea01
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user