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
89a8739f
Unverified
Commit
89a8739f
authored
Jul 05, 2021
by
Lysandre Debut
Committed by
GitHub
Jul 05, 2021
Browse files
Add `Repository` import to the FLAX example script (#12501)
parent
2df63282
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
examples/research_projects/jax-projects/README.md
examples/research_projects/jax-projects/README.md
+1
-0
No files found.
examples/research_projects/jax-projects/README.md
View file @
89a8739f
...
...
@@ -1106,6 +1106,7 @@ just three lines of code:
from
flax
import
serialization
from
jax
import
random
from
flax
import
linen
as
nn
from
huggingface_hub
import
Repository
model
=
nn
.
Dense
(
features
=
5
)
...
...
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