diff --git a/README.md b/README.md index db11b910ee..2cb3a7d445 100644 --- a/README.md +++ b/README.md @@ -466,7 +466,7 @@ python ./examples/run_generation.py \ ## Quick tour of model sharing -New in `v2.2.2`: you can now upload and share your fine-tuned models with the community, using the CLI that's built-in to the library. +Starting with `v2.2.2`, you can now upload and share your fine-tuned models with the community, using the CLI that's built-in to the library. **First, create an account on [https://huggingface.co/join](https://huggingface.co/join)**. Then: @@ -489,7 +489,7 @@ transformers-cli upload ./config.json [--filename folder/foobar.json] Your model will then be accessible through its identifier, a concatenation of your username and the folder name above: ```python -"username/model_name" +"username/pretrained_model" ``` Anyone can load it from code: @@ -504,6 +504,12 @@ transformers-cli s3 ls # List all your S3 objects. ``` +You can also delete files: + +```shell +transformers-cli s3 rm … +``` + ## Quick tour of pipelines New in version `v2.3`: `Pipeline` are high-level objects which automatically handle tokenization, running your data through a transformers model diff --git a/docs/source/model_sharing.md b/docs/source/model_sharing.md index 1f0343e84e..03ea4c3d80 100644 --- a/docs/source/model_sharing.md +++ b/docs/source/model_sharing.md @@ -38,3 +38,8 @@ transformers-cli s3 ls # List all your S3 objects. ``` +You can also delete files: + +```shell +transformers-cli s3 rm … +``` \ No newline at end of file