transformers
Add fuyu model
#26911
Merged

Add fuyu model #26911

LysandreJik merged 121 commits into main from add_fuyu_model
molbap
molbap initial commit
16d5a52a
molbap add processor, add fuyu naming
1ebd65e7
molbap add draft processor
ad664914
molbap fix processor
5658ebe0
molbap remove dropout to fix loading of weights
fb919aaa
molbap add image processing fixes from Pedro
83d8ccf9
molbap fix
a1743c3d
molbap fix processor
bdb90ec6
molbap add basic processing fuyu test
be791d8c
molbap add documentation and TODO
ff2e1fbf
molbap address comments, add tests, add doc
664000f3
molbap replace assert with torch asserts
79d21ffc
molbap add Mixins and fix tests
f7766c78
molbap clean imports
855f1f68
molbap add model tester, clean imports
cf8e89c2
molbap fix embedding test
68612918
molbap add updated tests from pre-release model
39829723
pcuenca Processor: return input_ids used for inference
1551e017
pcuenca Merge branch 'pablo_work' of github.com:huggingface/new-model-additio…
03168217
molbap separate processing and model tests
8058723a
molbap Merge branch 'pablo_work' of github.com:huggingface/new-model-additio…
52e04ecf
molbap relax test tolerance for embeddings
430225f6
molbap add test for logit comparison
e68ed044
ArthurZucker make sure fuyu image processor is imported in the init
8e1d0da9
ArthurZucker fix formattingh
28395c37
ArthurZucker more formatting issues
2b8ba54c
ArthurZucker and more
0ddfe7d8
ArthurZucker fixups
f7956abd
ArthurZucker remove some stuff
bc37977a
ArthurZucker nits
07770da6
ArthurZucker update init
5b249830
ArthurZucker remove the fuyu file
7873b4b0
pcuenca Update integration test with release model
a0087a31
pcuenca Update conversion script.
043a0135
molbap improve geenration
2ed8e056
molbap Merge branch 'pablo_work' of github.com:huggingface/new-model-additio…
38cb579a
pcuenca Remove duplicate function
4fe293b0
pcuenca Trickle down patches to model call
26f953ad
ArthurZucker processing fuyu updates
c2172409
ArthurZucker remove things
9695ddb4
molbap fix prepare_inputs_for_generation to fix generate()
29beded4
molbap Merge branch 'pablo_work' of github.com:huggingface/new-model-additio…
1f3f3446
molbap remove model_input
c2ae23e3
ArthurZucker update
952ee0a2
molbap merge and fix conflicts
afecfba1
molbap add generation tests
9490409c
ArthurZucker nits
7cfbc2da
ArthurZucker draft leverage automodel and autoconfig
fa456a7e
ArthurZucker nits
d96df4c4
ArthurZucker fix dtype patch
10a10315
molbap address comments, update READMEs and doc, include tests
91908edc
molbap add working processing test, remove refs to subsequences
0b3292ee
molbap add tests, remove Sequence classification
f4886159
ArthurZucker processing
01dcf143
ArthurZucker update
ea1a1234
ArthurZucker update the conversion script
57ae6086
ArthurZucker more processing cleanup
bbc1012b
ArthurZucker safe import
e5609f0e
molbap take out ModelTesterMixin for early release
6cc4e916
ArthurZucker more cl;eanup
635a1e90
ArthurZucker more cleanup
66081714
ArthurZucker more cleanup
be9256d6
ArthurZucker and more
d4502ccb
ArthurZucker register a buffer
42246ab6
ArthurZucker nits
c824fccd
molbap add postprocessing of generate output
f9195f79
ArthurZucker nits
b488f3cd
ArthurZucker updates
09d0092f
molbap add one working test
772e6df6
ArthurZucker Merge branch 'pablo_work' into fuyu-updates
456be60e
molbap fix test
7e0156ff
ArthurZucker make fixup works
d6bb550d
ArthurZucker Merge branch 'fuyu-updates' of github.com:huggingface/new-model-addit…
decab326
ArthurZucker fixup
31959ffe
LysandreJik Arthur's updates
df33e787
LysandreJik
LysandreJik approved these changes on 2023-10-18
molbap fix conflicts
c36b15b8
ArthurZucker nits
870773cc
ArthurZucker update
1582d872
ArthurZucker update
c5160bd2
ArthurZucker fix processor
6f585850
ArthurZucker update tests
730bacea
ArthurZucker passe more fixups
c5f6f7e6
ArthurZucker fix
291ca9bf
ArthurZucker nits
f5052de9
ArthurZucker don't import torch
efb8a761
ArthurZucker skip fuyu config for now
cdb97a3b
ArthurZucker fixup done
81aab96a
ArthurZucker fixup
78c81746
ArthurZucker update
5267d3d8
ArthurZucker oups
fa69cc12
ArthurZucker nits
0aa05b08
pcuenca Use input embeddings
f31b189c
ArthurZucker no buffer
3852aaeb
ArthurZucker update
7b2f08de
pcuenca Merge branch 'fuyu-updates' of github.com:huggingface/new-model-addit…
3264c9f4
pcuenca Merge branch 'fuyu-updates' of github.com:huggingface/new-model-addit…
a9adfc25
molbap fixing conflicts
775b18f7
molbap Merge remote-tracking branch 'origin/fuyu-updates' into add_fuyu_model
01b3d451
ArthurZucker styling processing fuyu
7faa5960
molbap fix test
90a87c5e
molbap Merge branch 'add_fuyu_model' of github.com:huggingface/new-model-add…
a89dac34
ArthurZucker update licence
ea0ff504
ArthurZucker Merge branch 'add_fuyu_model' of github.com:huggingface/new-model-add…
c6564b25
molbap Merge remote-tracking branch 'origin/main' into add_fuyu_model
254900ce
ArthurZucker
ArthurZucker approved these changes on 2023-10-18
molbap protect torch import
73dff42c
ArthurZucker fixup and update not doctested
e41e850e
ArthurZucker kwargs should be passed
afa9e5d7
molbap Merge branch 'add_fuyu_model' of github.com:huggingface/new-model-add…
8a80e8e5
ArthurZucker udpates
c1e0927e
ArthurZucker update the impofixuprts in the test
f02f889c
NielsRogge
NielsRogge commented on 2023-10-18
NielsRogge
NielsRogge commented on 2023-10-18
molbap protect import
e5a0b701
NielsRogge
NielsRogge commented on 2023-10-18
molbap protecting imports
8de63823
molbap protect imports in type checking
2ae2dad4
molbap add testing decorators
a9718767
molbap protect top level import structure
3ac68176
ArthurZucker
ArthurZucker commented on 2023-10-18
ArthurZucker
ArthurZucker commented on 2023-10-18
molbap fix typo
4364724d
ArthurZucker fix check init
d270d4c4
molbap fix merge conflict
7d4b4281
molbap move requires_backend to functions
c4f752e8
LysandreJik Imports
08464ed9
LysandreJik Protect types
1e5e90eb
LysandreJik LysandreJik merged caa0ff0b into main 3 years ago
LysandreJik LysandreJik deleted the add_fuyu_model branch 3 years ago
phillip-kravtsov
NightMachinery
ArthurZucker

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone