From 1749ca317eea9840dde044eb497a0b75fe0db0d5 Mon Sep 17 00:00:00 2001 From: Boris Dayma Date: Mon, 28 Sep 2020 07:17:30 -0500 Subject: [PATCH] docs: fix model sharing file names (#5855) * docs: fix model sharing file names * Update docs/source/model_sharing.rst Co-authored-by: Julien Chaumond * docs(model_sharing.rst): fix new line Co-authored-by: Julien Chaumond Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> --- docs/source/model_sharing.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/source/model_sharing.rst b/docs/source/model_sharing.rst index 0176bfd5e4..14358acad9 100644 --- a/docs/source/model_sharing.rst +++ b/docs/source/model_sharing.rst @@ -112,8 +112,7 @@ Make sure there are no garbage files in the directory you'll upload. It should o - a `tf_model.h5` file, which is the TensorFlow checkpoint (unless you can't have it for some reason) ; - a `special_tokens_map.json`, which is part of your :doc:`tokenizer ` save; - a `tokenizer_config.json`, which is part of your :doc:`tokenizer ` save; -- a `vocab.txt`, which is the vocabulary of your tokenizer, part of your :doc:`tokenizer ` - save; +- files named `vocab.json`, `vocab.txt`, `merges.txt`, or similar, which contain the vocabulary of your tokenizer, part of your :doc:`tokenizer ` save; - maybe a `added_tokens.json`, which is part of your :doc:`tokenizer ` save. Other files can safely be deleted. @@ -221,4 +220,3 @@ You can also delete unneeded files with .. code-block:: transformers-cli s3 rm awesome-name-you-picked/filename -