From 6b70760204fd2fb562701251c3f0b0a13e5a8c45 Mon Sep 17 00:00:00 2001 From: thomwolf Date: Tue, 16 Jul 2019 21:21:03 +0200 Subject: [PATCH] typos --- README.md | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4bc022ca44..4e2949e4c9 100644 --- a/README.md +++ b/README.md @@ -314,7 +314,7 @@ loss, logits, attentions = outputs Breaking change: Models are now set in evaluation mode by default when instantiated with the `from_pretrained()` method. To train them don't forget to set them back in training mode (`model.train()`) to activate the dropout modules. -Also, while not a breaking change, the serialization methods have been standardized and you probably should switch to the new method `save_pretrained(save_directory)` if you were using any other seralization method before. +Also, while not a breaking change, the serialization methods have been standardized and you probably should switch to the new method `save_pretrained(save_directory)` if you were using any other serialization method before. Here is an example: diff --git a/setup.py b/setup.py index 987deb1e94..514499481a 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ To create the package for pypi. (pypi suggest using twine as other methods upload files via plaintext.) Check that you can install it in a virtualenv by running: - pip install -i https://testpypi.python.org/pypi allennlp + pip install -i https://testpypi.python.org/pypi pytorch-transformers 6. Upload the final version to actual pypi: twine upload dist/* -r pypi