Doc tweak on model sharing
This commit is contained in:
parent
34a3c25a30
commit
119dc50e2a
10
README.md
10
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 <abbr title="Command-line interface">CLI</abbr> 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 <abbr title="Command-line interface">CLI</abbr> 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
|
||||
|
|
|
@ -38,3 +38,8 @@ transformers-cli s3 ls
|
|||
# List all your S3 objects.
|
||||
```
|
||||
|
||||
You can also delete files:
|
||||
|
||||
```shell
|
||||
transformers-cli s3 rm …
|
||||
```
|
Loading…
Reference in New Issue