Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
ae5a32bb
Unverified
Commit
ae5a32bb
authored
Jan 07, 2021
by
Patrick von Platen
Committed by
GitHub
Jan 07, 2021
Browse files
up (#9454)
parent
812045ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
docs/source/model_sharing.rst
docs/source/model_sharing.rst
+12
-7
No files found.
docs/source/model_sharing.rst
View file @
ae5a32bb
...
...
@@ -78,9 +78,13 @@ 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
.
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
.
If
you
want
to
create
a
repo
under
a
specific
organization
,
you
should
add
a
`--
organization
`
flag
:
..
code
-
block
::
bash
transformers
-
cli
repo
create
your
-
model
-
name
--
organization
your
-
org
-
name
This
creates
a
repo
on
the
model
hub
,
which
can
be
cloned
.
..
code
-
block
::
bash
...
...
@@ -100,15 +104,16 @@ with any other git repo.
echo
"hello"
>>
README
.
md
git
add
.
&&
git
commit
-
m
"Update from $USER"
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.
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
in
the
coming
weeks
!
Additionally
,
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
.
Make
your
model
work
on
all
frameworks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment