fix
Browse files
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 |
-
|
21 |
```bash
|
22 |
-
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 =
|
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
|