The TensorFlow official models are a collection of models that use TensorFlow’s high-level APIs. They are intended to be well-maintained, tested, and kept up to date with the latest TensorFlow API.
They should also be reasonably optimized for fast performance while still being easy to read. These models are used as end-to-end tests, ensuring that the models run with the same or improved speed and performance with each new TensorFlow build.
The API documentation of the latest stable release is published to tensorflow.org.
The team is actively developing new models. In the near future, we will add:
Model | Reference (Paper) |
---|---|
Mobile Video Networks (MoViNets) | MoViNets: Mobile Video Networks for Efficient Video Recognition |
Model | Reference (Paper) |
---|---|
Transformer | Attention Is All You Need |
Model | Reference (Paper) |
---|---|
NHNet (News Headline generation model) | Generating Representative Headlines for News Stories |
Model | Reference (Paper) |
---|---|
MobileBERT | MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices |
pip
binary) master branch of
official models , master branch of TensorFlow gets downloaded as a
dependency. This is equivalent to the following.pip3 install tf-models-nightly
pip3 install tensorflow-text-nightly # when model uses `nlp` packages
pip3 install tf-models-official==2.8.0
pip3 install tensorflow-text==2.8.0 # when models in uses `nlp` packages
Starting from 2.9.x release, we release the modeling library as
tensorflow_models
package and users can import tensorflow_models
directly to
access to the exported symbols. If you are
using the latest nightly version or github code directly, please follow the
docstrings in the github.
Please follow the below steps before running models in this repository.
Our integration tests run with Python 3.7. Although Python 3.6 should work, we don’t recommend earlier versions.
Please check here for the instructions.
Available pypi packages:
tensorflow
and tensorflow-text
in the install_requires
list.Get started with TensorFlow Model Garden by exploring the provided examples and tutorials:
If you want to contribute, please review the contribution guidelines.