transformers

Notes

  • Installation
  • Quickstart
  • Pretrained models
  • Examples
  • Notebooks
  • Loading Google AI or OpenAI pre-trained weights or PyTorch dump
  • Serialization best-practices
  • Converting Tensorflow Checkpoints
  • Migrating from pytorch-pretrained-bert
  • BERTology
  • TorchScript

Main classes

  • Configuration
  • Models
  • Tokenizer
  • Optimizer
  • Schedules
  • Processors

Package Reference

  • AutoModels
  • BERT
  • OpenAI GPT
  • Transformer XL
  • OpenAI GPT2
  • XLM
  • XLNet
  • RoBERTa
  • DistilBERT
transformers

ⓘ You are viewing legacy docs. Go to latest documentation instead.

  • Docs »
  • Overview: module code

All modules for which code is available

  • transformers.configuration_auto
  • transformers.configuration_bert
  • transformers.configuration_distilbert
  • transformers.configuration_gpt2
  • transformers.configuration_openai
  • transformers.configuration_roberta
  • transformers.configuration_transfo_xl
  • transformers.configuration_utils
  • transformers.configuration_xlm
  • transformers.configuration_xlnet
  • transformers.data.processors.glue
  • transformers.data.processors.utils
  • transformers.modeling_auto
  • transformers.modeling_bert
  • transformers.modeling_distilbert
  • transformers.modeling_gpt2
  • transformers.modeling_openai
  • transformers.modeling_roberta
  • transformers.modeling_tf_bert
  • transformers.modeling_tf_distilbert
  • transformers.modeling_tf_gpt2
  • transformers.modeling_tf_openai
  • transformers.modeling_tf_roberta
  • transformers.modeling_tf_transfo_xl
  • transformers.modeling_tf_utils
  • transformers.modeling_tf_xlm
  • transformers.modeling_tf_xlnet
  • transformers.modeling_transfo_xl
  • transformers.modeling_utils
  • transformers.modeling_xlm
  • transformers.modeling_xlnet
  • transformers.optimization
  • transformers.tokenization_auto
  • transformers.tokenization_bert
  • transformers.tokenization_distilbert
  • transformers.tokenization_gpt2
  • transformers.tokenization_openai
  • transformers.tokenization_roberta
  • transformers.tokenization_transfo_xl
  • transformers.tokenization_utils
  • transformers.tokenization_xlm
  • transformers.tokenization_xlnet

© Copyright 2019, huggingface

Built with Sphinx using a theme provided by Read the Docs.