transformers
Add TFConvNextModel
#15750
Merged

Add TFConvNextModel #15750

sgugger merged 77 commits into huggingface:master from convnext-tf
sayakpaul
sayakpaul feat: initial implementation of convnext in tensorflow.
d2a08483
sayakpaul Merge branch 'master' into convnext-tf
66fc8fad
sayakpaul fix: sample code for the classification model.
583769c7
sayakpaul Merge branch 'master' into convnext-tf
1e0a5898
sayakpaul chore: added checked for from the classification model.
c667d93e
sayakpaul chore: set bias initializer in the classification head.
7aecfa9a
sayakpaul chore: updated license terms.
222c4654
sayakpaul chore: removed ununsed imports
835dbdb9
sayakpaul feat: enabled argument during using drop_path.
d6f91b64
sayakpaul Merge branch 'master' into convnext-tf
e92b6ce7
sayakpaul chore: replaced tf.identity with layers.Activation(linear).
e1fec885
sayakpaul chore: edited default checkpoint.
30e4bcb6
sayakpaul fix: minor bugs in the initializations.
b0051ace
sayakpaul partial-fix: tf model errors for loading pretrained pt weights.
aeb14f73
ariG23498 partial-fix: call method updated
aec69dcf
sayakpaul partial-fix: cross loading of weights (4x3 variables to be matched)
6c0fae26
sayakpaul chore: removed unneeded comment.
ee62db49
sayakpaul removed playground.py
8c1d6a3e
sayakpaul rebasing
490adf88
sayakpaul rebasing and removing playground.py.
fa494693
sayakpaul Merge branch 'master' into convnext-tf
18f0b0ac
ariG23498 fix: renaming TFConvNextStage conv and layer norm layers
acb6fa00
sayakpaul Merge branch 'convnext-tf' of https://github.com/sayakpaul/transforme…
077ee252
sayakpaul chore: added initializers and other minor additions.
8d56711c
sayakpaul chore: added initializers and other minor additions.
11b0683d
sayakpaul add: tests for convnext.
fd0ca7fa
sayakpaul fix: integration tester class.
98911a24
sayakpaul fix: issues mentioned in pr feedback (round 1).
b30a8ccb
sayakpaul fix: how output_hidden_states arg is propoagated inside the network.
2181d5b2
sayakpaul feat: handling of arg for pure cnn models.
cc98979f
sayakpaul chore: added a note on equal contribution in model docs.
12e4505d
sayakpaul rebasing
eb493386
sayakpaul rebasing and removing playground.py.
5e01b71b
sayakpaul Merge branch 'master' of https://github.com/sayakpaul/transformers
3bd1c92a
sayakpaul Merge branch 'master' into convnext-tf
3aefac74
sayakpaul feat: encapsulation for the convnext trunk.
908d0cf8
gante Fix variable naming; Test-related corrections; Run make fixup
d386cf88
sayakpaul chore: added Joao as a contributor to convnext.
15c916f4
sayakpaul rebasing
05b82737
sayakpaul rebasing and removing playground.py.
d247441d
sayakpaul rebasing
bb8e6c20
sayakpaul rebasing and removing playground.py.
3b5366d7
sayakpaul Merge branch 'master' into convnext-tf
d3752141
HuggingFaceDocBuilder
gante
ydshieh
ydshieh commented on 2022-02-21
ydshieh
ydshieh commented on 2022-02-21
Rocketknight1
Rocketknight1 commented on 2022-02-21
ydshieh
ydshieh commented on 2022-02-21
ydshieh
gante
Rocketknight1
Rocketknight1 commented on 2022-02-21
Rocketknight1
Rocketknight1 commented on 2022-02-21
Rocketknight1
Rocketknight1 commented on 2022-02-21
Rocketknight1
Rocketknight1 approved these changes on 2022-02-21
sayakpaul
sayakpaul chore: corrected copyright year and added comment on NHWC.
49b35cda
ydshieh
sayakpaul
ydshieh
sayakpaul chore: fixed the black version and ran formatting.
d9b50793
ydshieh
gante
gante gante requested a review from LysandreJik LysandreJik 4 years ago
sayakpaul chore: ran make style.
4b4737f5
sayakpaul
ydshieh
gante
sayakpaul chore: removed from_pt argument from test, ran make style.
2322a5f4
sayakpaul rebasing
61ae121e
sayakpaul rebasing and removing playground.py.
b5683772
sayakpaul rebasing
1259bf8b
sayakpaul rebasing and removing playground.py.
96c1ea4e
sayakpaul Merge branch 'master' into convnext-tf
0f98fb5d
sayakpaul
ydshieh
ydshieh
sgugger
sgugger commented on 2022-02-23
ydshieh
sgugger
sayakpaul
ydshieh
gante
ydshieh
sayakpaul fix: tests in the convnext subclass, ran make style.
b1972164
sayakpaul rebasing
7dcd98a3
sayakpaul rebasing and removing playground.py.
95fffedb
sayakpaul rebasing
f8129a11
sayakpaul rebasing and removing playground.py.
dab68667
sayakpaul Merge branch 'master' into convnext-tf
9d6b8adc
sayakpaul chore: moved convnext test to the correct location
69b54139
sayakpaul fix: locations for the test file of convnext.
15c6814e
sayakpaul Merge branch 'fix/convnext-tf' into convnext-tf
e39c41b1
sayakpaul
sayakpaul fix: convnext tests.
98111f85
sayakpaul
sayakpaul chore: applied sgugger's suggestion for dealing w/ output_attentions.
3e069429
sayakpaul chore: added comments.
bc460169
ydshieh
sayakpaul
sayakpaul
ydshieh
sayakpaul
ydshieh
sayakpaul chore: applied updated quality enviornment style.
06e19cd3
sayakpaul chore: applied formatting with quality enviornment.
229a817a
sayakpaul
ydshieh
sayakpaul chore: revert to the previous tests/test_modeling_common.py.
ad5d7e01
sayakpaul chore: revert to the original test_modeling_common.py
4dea1750
sayakpaul
sayakpaul
gante
gante commented on 2022-02-24
sayakpaul chore: revert to previous states for test_modeling_tf_common.py and m…
0f8069d6
sayakpaul fix: tests for convnext.
f4292b45
sayakpaul chore: removed output_attentions argument from convnext config.
8b99c8e6
sayakpaul chore: revert to the earlier tf utils.
78198505
sayakpaul
ydshieh
sayakpaul
ydshieh
sayakpaul fix: output shapes of the hidden states
ba9484ff
sayakpaul
gante
gante approved these changes on 2022-02-25
sayakpaul chore: removed unnecessary comment
553bac53
sayakpaul
gante
sayakpaul chore: reverting to the right test_modeling_tf_common.py.
d22e0cbc
gante
sgugger
sgugger Styling nits
de00fb28
sayakpaul
sgugger
sayakpaul Merge pull request #3 from huggingface/tfconvnext
b2309fe4
sayakpaul
sgugger sgugger merged 84eaa6ac into master 4 years ago
sgugger
sayakpaul

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone