Module: tfm.nlp

TensorFlow Models NLP Libraries.


encoders module: Transformer Encoders.

layers module: Layers are the fundamental building blocks for NLP models.

losses module: Losses contains common loss computation used in NLP (subject to change).

models module: Models are combinations of tf.keras layers and models that can be trained.

networks module: Networks are combinations of tf.keras layers (and possibly other networks).

ops module: Ops package definition.

serving_modules module: Serving export modules for TF Model Garden NLP models.

tasks module: TensorFlow Models NLP Tasks.