From eaab9397cd9302d66a6790b30ef61c1c64dfa6ef Mon Sep 17 00:00:00 2001 From: Nick Lane-Smith Date: Mon, 24 May 2021 11:26:02 -0700 Subject: [PATCH] Fix two typos in docs (#11852) * typo2 * fix typo --- docs/source/installation.md | 2 +- docs/source/model_sharing.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/installation.md b/docs/source/installation.md index 1b7d8d5d59..89d4f2af2b 100644 --- a/docs/source/installation.md +++ b/docs/source/installation.md @@ -107,7 +107,7 @@ This command performs a magical link between the folder you cloned the repositor ``` now this editable install will reside where you clone the folder to, e.g. `~/transformers/` and python will search it too. -Do note that you have to keep that `transformers` folder around and not delete it to continue using the `transfomers` library. +Do note that you have to keep that `transformers` folder around and not delete it to continue using the `transformers` library. Now, let's get to the real benefit of this installation approach. Say, you saw some new feature has been just committed into `master`. If you have already performed all the steps above, to update your transformers to include all the latest commits, all you need to do is to `cd` into that cloned repository folder and update the clone to the latest version: diff --git a/docs/source/model_sharing.rst b/docs/source/model_sharing.rst index 5c545695b3..06bd09f613 100644 --- a/docs/source/model_sharing.rst +++ b/docs/source/model_sharing.rst @@ -131,7 +131,7 @@ directly create a PyTorch version of your TensorFlow model: .. code-block:: python - from transfomers import AutoModel + from transformers import AutoModel model = AutoModel.from_pretrained(save_directory, from_tf=True)