From d52f914e245128bdc60447f7e234361aa8f3701e Mon Sep 17 00:00:00 2001 From: Desiree Vogt-Lee Date: Thu, 21 Mar 2019 15:02:59 +1000 Subject: [PATCH] weigths to weights --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index afc2b6efda..377695754d 100644 --- a/README.md +++ b/README.md @@ -461,12 +461,12 @@ Here is a detailed documentation of the classes in the package and how to use th | Sub-section | Description | |-|-| -| [Loading Google AI's/OpenAI's pre-trained weigths](#loading-google-ai-or-openai-pre-trained-weigths-or-pytorch-dump) | How to load Google AI/OpenAI's pre-trained weight or a PyTorch saved instance | +| [Loading Google AI's/OpenAI's pre-trained weights](#loading-google-ai-or-openai-pre-trained-weights-or-pytorch-dump) | How to load Google AI/OpenAI's pre-trained weight or a PyTorch saved instance | | [PyTorch models](#PyTorch-models) | API of the BERT, GPT, GPT-2 and Transformer-XL PyTorch model classes | | [Tokenizers](#tokenizers) | API of the tokenizers class for BERT, GPT, GPT-2 and Transformer-XL| | [Optimizers](#optimizerss) | API of the optimizers | -### Loading Google AI or OpenAI pre-trained weigths or PyTorch dump +### Loading Google AI or OpenAI pre-trained weights or PyTorch dump To load one of Google AI's, OpenAI's pre-trained models or a PyTorch saved model (an instance of `BertForPreTraining` saved with `torch.save()`), the PyTorch model classes and the tokenizer can be instantiated as