transformers
Add `Kosmos-2` model
#24709
Merged

Add `Kosmos-2` model #24709

ydshieh merged 91 commits into main from add_kosmos_2
ydshieh
HuggingFaceDocBuilderDev
Rajmehta123
ydshieh
ydshieh ydshieh force pushed from da2971f0 to 2b5a045f 2 years ago
ydshieh ydshieh force pushed from 2b5a045f to fba0303d 2 years ago
ydshieh ydshieh force pushed to 6edb6e2d 2 years ago
ydshieh ydshieh force pushed to f400efd6 2 years ago
ydshieh ydshieh force pushed from 0c99ca40 2 years ago
ydshieh ydshieh force pushed to 2ab66a47 2 years ago
ydshieh ydshieh force pushed to 723403a8 2 years ago
ydshieh ydshieh force pushed 2 years ago
ydshieh ydshieh force pushed 2 years ago
ydshieh ydshieh force pushed 2 years ago
ydshieh ydshieh force pushed 2 years ago
ydshieh ydshieh changed the title [WIP] Add `kosmos-2` Add `Kosmos-2` model 2 years ago
ydshieh ydshieh marked this pull request as ready for review 2 years ago
ydshieh ydshieh force pushed to 9c6e954a 2 years ago
ydshieh
ydshieh commented on 2023-09-08
ydshieh
ydshieh commented on 2023-09-08
ydshieh
ydshieh commented on 2023-09-08
ydshieh ydshieh requested a review from amyeroberts amyeroberts 2 years ago
ydshieh ydshieh requested a review from ArthurZucker ArthurZucker 2 years ago
ydshieh ydshieh requested a review from NielsRogge NielsRogge 2 years ago
amyeroberts
amyeroberts approved these changes on 2023-09-08
ydshieh ydshieh force pushed 2 years ago
ydshieh ydshieh force pushed to b4fe4937 2 years ago
ydshieh ydshieh force pushed from b4fe4937 to ad15fb2b 2 years ago
ArthurZucker
ArthurZucker commented on 2023-09-21
ydshieh
NielsRogge
NielsRogge commented on 2023-09-27
NielsRogge
NielsRogge commented on 2023-09-27
NielsRogge
NielsRogge commented on 2023-09-27
NielsRogge
NielsRogge commented on 2023-09-27
NielsRogge
NielsRogge commented on 2023-09-27
NielsRogge
NielsRogge commented on 2023-09-27
ydshieh
ArthurZucker
ArthurZucker commented on 2023-09-28
ArthurZucker
ArthurZucker commented on 2023-09-28
ydshieh ydshieh force pushed from b03057cf to 7ec1d2d0 2 years ago
ydshieh ydshieh force pushed from 7ec1d2d0 to cf501abe 2 years ago
ydshieh
ydshieh ydshieh requested a review from ArthurZucker ArthurZucker 2 years ago
ydshieh
ArthurZucker
ArthurZucker commented on 2023-10-20
ydshieh ydshieh force pushed from 01b37ba1 to 436d3bc3 2 years ago
ydshieh ydshieh force pushed from 436d3bc3 to ef9102ce 2 years ago
ydshieh
ArthurZucker
ArthurZucker approved these changes on 2023-10-25
ydshieh Add KOSMOS-2 model
ab90b849
ydshieh update
325865c2
ydshieh update
97c226b2
ydshieh update
bd9a5411
ydshieh address review comment - 001
d06fcb69
ydshieh address review comment - 002
cdad77d4
ydshieh address review comment - 003
e53e4692
ydshieh style
1138adb0
ydshieh Apply suggestions from code review
c4b5e431
ydshieh fix
58977ecc
ydshieh address review comment - 004
4dbf3e13
ydshieh address review comment - 005
0264eef7
ydshieh address review comment - 006
b9ced380
ydshieh address review comment - 007
303e65da
ydshieh address review comment - 008
7d4c9ed8
ydshieh address review comment - 009
a74bf291
ydshieh address review comment - 010
64f823bf
ydshieh address review comment - 011
a1b72c03
ydshieh update readme
db77c8a0
ydshieh fix
af81ef0c
ydshieh fix
a9b8925b
ydshieh fix
3b7a90d2
ydshieh [skip ci] fix
2c019189
ydshieh revert the change in _decode
5e1fe950
ydshieh fix docstring
169364c2
ydshieh fix docstring
20985729
ydshieh Update docs/source/en/model_doc/kosmos-2.md
8cd95153
ydshieh no more Kosmos2Tokenizer
0f74fedc
ydshieh style
c6babb58
ydshieh remove "returned when being computed by the model"
6efd3c33
ydshieh Apply suggestions from code review
0b907f5c
ydshieh UTM5 Atten
eed83d04
ydshieh fix attn mask
1bd1f7f9
ydshieh use present_key_value_states instead of next_decoder_cache
5fe028ec
ydshieh style
2a390899
ydshieh conversion scripts
1a7a068e
ydshieh conversion scripts
4cca0c4a
ydshieh conversion scripts
395dbcf2
ydshieh Add _reorder_cache
9a6d2e2b
ydshieh fix doctest and copies
4ca2b1df
ydshieh rename 1
e88a4955
ydshieh rename 2
30620aec
ydshieh rename 3
f233e081
ydshieh make fixup
5ad3914e
ydshieh fix table
d2c2311c
ydshieh fix docstring
45b61b6d
ydshieh rename 4
6bd5b2bb
ydshieh change repo_id
48f77ff2
ydshieh remove tip
1d4b5ac8
ydshieh update md file
6383476d
ydshieh make style
89cffbe2
ydshieh update md file
59656821
ydshieh update md file
6383476d
ydshieh make style
89cffbe2
ydshieh update conversion script
61ef208f
ydshieh Use CLIPImageProcessor in Kosmos2Processor
5b2b29dd
ydshieh Remove Kosmos2ImageProcessor
8f088c14
ydshieh Remove to_dict in Kosmos2Config
92f51bdf
ydshieh Remove files
61347952
ydshieh fix import
7c29934f
ydshieh Update conversion
e4911eac
ydshieh normalized=False
74b022d0
ydshieh Not using hardcoded values like <image>
041b75f5
ydshieh elt --> element
fd7e267f
ydshieh Apply suggestion
c0be44d7
ydshieh Not using hardcoded values like </image>
dd2ed982
ydshieh No assert
d3eefbf2
ydshieh No nested functions
15a2309d
ydshieh Fix md file
65a45191
ydshieh copy
0712158f
ydshieh update doc
b225b136
ydshieh fix docstring
f2335814
ydshieh fix name
856bdc6d
ydshieh Remove _add_remove_spaces_around_tag_tokens
472b4dde
ydshieh Remove dummy docstring of _preprocess_single_example
a051ea74
ydshieh Use `BatchEncoding`
38dd9d7f
ydshieh temp
ba48faa9
ydshieh temp
d76da955
ydshieh temp
af0af4dd
ydshieh Update
bfb91ebe
ydshieh Update
f2b8b758
ydshieh Make Kosmos2ProcessorTest a bit pretty
e2c360cb
ydshieh Update gradient checkpointing
9d950e35
ydshieh ydshieh force pushed from e7785afb to 9d950e35 2 years ago
ydshieh Fix gradient checkpointing test
de7e19ac
ydshieh Remove one liner remove_special_fields
fb572ab1
ydshieh Simplify conversion script
a2998d1d
ydshieh fix add_eos_token
bafdde7b
ydshieh update readme
74ca72dc
ydshieh update tests
151554e0
ydshieh Change to microsoft/kosmos-2-patch14-224
0c809cb5
ydshieh style
f29c324c
ydshieh Fix doc
9ace07ab
ydshieh ydshieh merged 691fd8fd into main 2 years ago
ydshieh ydshieh deleted the add_kosmos_2 branch 2 years ago
BIGBALLON

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone