The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.
Overview
TensorFlow Model Garden is a collection of state-of-the-art model implementations and supporting code for TensorFlow users. It is meant to demonstrate modeling practices for research and product work with TensorFlow.
Content is organized into areas such as research model code maintained by researchers, a curated community list of TensorFlow 2 repositories, and Orbit, a library for custom training loops that integrates with tf.distribute and CPU, GPU, or TPU devices.
Users can install the stable tf-models-official pip package, which pulls in models and dependencies, or clone the source tree and add the models folder to the Python path. Training logs on TensorBoard.dev are provided when suitable for transparency and reproducibility.
The garden includes examples for basic library import and NLP model building using the packaged modules.
Key features
- Research TensorFlow model implementations
- Curated TensorFlow 2 model list
- Orbit custom training loop library
- tf-models-official pip package
- Nightly tf-models-nightly package option
- TensorBoard.dev training logs where available
- NLP model building examples
- tf.distribute and multi-device support via Orbit
Use cases
- Starting from reference TensorFlow models
- Studying published modeling implementations
- Building NLP models from official examples
- Writing custom training loops with Orbit
- Reproducing experiments with logged training runs