Downloads · 30 days
8
1% of all-time downloads
flax-community/t5-vae-wiki
t5-vae-wiki is a machine learning model from flax-community. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
8
1% of all-time downloads
All-time downloads
779
Public
Repo size
1.8 GB
Likes
1
Public
Click a slice to open those files.
.msgpack892 MB · 100%
From the Hugging Face model README
A Transformer-VAE made using flax.
It has been trained to interpolate on sentences form wikipedia.
Done as part of Huggingface community training (see forum post).
Builds on T5, using an autoencoder to convert it into an MMD-VAE (more info).
Add model repo as a submodule:
git submodule add https://github.com/Fraser-Greenlee/t5-vae-flax.git t5_vae_flax
from transformers import AutoTokenizer
from t5_vae_flax.src.t5_vae import FlaxT5VaeForAutoencoding
tokenizer = AutoTokenizer.from_pretrained("t5-base")
model = FlaxT5VaeForAutoencoding.from_pretrained("flax-community/t5-vae-wiki")
Run setup_tpu_vm_venv.sh to setup a virtual enviroment on a TPU VM for training.