This commit is contained in:
Patrick von Platen 2021-01-06 14:36:55 +01:00 committed by GitHub
parent bcb55d33ce
commit b972c1bfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,9 @@ Once you are logged in with your model hub credentials, you can start building y
transformers-cli repo create your-model-name
This creates a repo on the model hub, which can be cloned.
This creates a repo on the model hub, which can be cloned. If you want to create a repo under a specific organization,
you might find the `upload_a_new_repo.py script
<https://github.com/huggingface/efficient_scripts/blob/main/upload_a_new_repo.py>`__ useful.
.. code-block:: bash
@ -98,8 +100,10 @@ with any other git repo.
echo "hello" >> README.md
git add . && git commit -m "Update from $USER"
We are intentionally not wrapping git too much, so that you can go on with the workflow you're used to and the tools
you already know.
If you want to change multiple repos at once, the `change_config.py script
<https://github.com/huggingface/efficient_scripts/blob/main/change_config.py>`__ can probably save you some time. We
are intentionally not wrapping git too much, so that you can go on with the workflow you're used to and the tools you
already know.
The only learning curve you might have compared to regular git is the one for git-lfs. The documentation at
`git-lfs.github.com <https://git-lfs.github.com/>`__ is decent, but we'll work on a tutorial with some tips and tricks