Fraser commited on
Commit
9361f12
1 Parent(s): 06f36dd
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -17,9 +17,9 @@ Builds on T5, using an autoencoder to convert it into an MMD-VAE.
17
 
18
  ## How to use from the 🤗/transformers library
19
 
20
- Clone the model repo.
21
  ```bash
22
- git clone https://github.com/Fraser-Greenlee/t5-vae-flax.git
23
  ```
24
 
25
  ```python
@@ -28,7 +28,7 @@ from t5_vae_flax.src.t5_vae import FlaxT5VaeForAutoencoding
28
 
29
  tokenizer = AutoTokenizer.from_pretrained("t5-base")
30
 
31
- model = T5VaeForAutoencoding.from_pretrained("flax-community/t5-vae-python")
32
  ```
33
 
34
  ## Setup
 
17
 
18
  ## How to use from the 🤗/transformers library
19
 
20
+ Add model repo as a submodule:
21
  ```bash
22
+ git submodule add https://github.com/Fraser-Greenlee/t5-vae-flax.git t5_vae_flax
23
  ```
24
 
25
  ```python
 
28
 
29
  tokenizer = AutoTokenizer.from_pretrained("t5-base")
30
 
31
+ model = FlaxT5VaeForAutoencoding.from_pretrained("flax-community/t5-vae-python")
32
  ```
33
 
34
  ## Setup