Instructions to use flax-community/t5-vae-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flax-community/t5-vae-python with Transformers:
# Load model directly from transformers import T5VaeForAutoencoding model = T5VaeForAutoencoding.from_pretrained("flax-community/t5-vae-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| # setup training on a TPU VM | |
| rm -fr venv | |
| python3 -m venv venv | |
| source venv/bin/activate | |
| pip install -U pip | |
| pip install -U wheel | |
| pip install requests | |
| pip install "jax[tpu]>=0.2.16" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html | |
| cd .. | |
| git clone https://github.com/huggingface/transformers.git | |
| cd transformers | |
| pip install -e ".[flax]" | |
| cd .. | |
| git clone https://github.com/huggingface/datasets.git | |
| cd datasets | |
| pip install -e ".[streaming]" | |
| cd .. | |