Add BROS #23190

amyeroberts merged 120 commits into huggingface:main from jinhopark8345:add-bros
jinhopark8345
jinhopark8345 jinhopark8345 force pushed 3 years ago
jinhopark8345 jinhopark8345 force pushed 3 years ago
amyeroberts
jinhopark8345
amyeroberts
jinhopark8345 add Bros boilerplate
3db764f5
jinhopark8345 copy and pasted modeling_bros.py from official Bros repo
2dc368ae
jinhopark8345 update copyright of bros files
56030614
jinhopark8345 copy tokenization_bros.py from official repo and update import path
dbc56b8b
jinhopark8345 copy tokenization_bros_fast.py from official repo and update import path
e2a2d9de
jinhopark8345 copy configuration_bros.py from official repo and update import path
90ce7116
jinhopark8345 remove trailing period in copyright line
6126da1b
jinhopark8345 copy and paste bros/__init__.py from official repo
63139eb3
jinhopark8345 save formatting
596d1a72
jinhopark8345 remove unused unnecessary pe_type argument - using only crel type
764e8df1
jinhopark8345 resolve import issue
f35348ff
jinhopark8345 remove unused model classes
892dd2d6
jinhopark8345 remove unnecessary tests
37c7d9f7
jinhopark8345 remove unused classes
d878de0c
jinhopark8345 fix original code's bug - layer_module's argument order
772d20e2
jinhopark8345 clean up modeling auto
6ef6ca72
jinhopark8345 add bbox to prepare_config_and_inputs
c3382612
jinhopark8345 set temporary value to hidden_size (32 is too low because of the of the
7379457e
jinhopark8345 remove decoder test, update create_and_check* input arguemnts
602e2d95
jinhopark8345 add missing variable to model tests
79b886c6
jinhopark8345 do make fixup
5f35f684
jinhopark8345 update bros.mdx
3eace5db
jinhopark8345 add boilerate plate for no_head inference test
9f0e8cae
jinhopark8345 update BROS_PRETRAINED_MODEL_ARCHIVE_LIST (add naver-clova-ocr prefix)
66ff6ce3
jinhopark8345 add prepare_bros_batch_inputs function
f3e9dabe
jinhopark8345 update modeling_common to add bbox inputs in Bros Model Test
7022d4c7
jinhopark8345 remove unnecessary model inference
f9aab55a
jinhopark8345 jinhopark8345 force pushed to f9aab55a 3 years ago
jinhopark8345 add test case
41e1ad99
jinhopark8345 add model_doc
94cf5fc5
HuggingFaceDocBuilderDev
jinhopark8345 add test case for token_classification
d10e1669
jinhopark8345 apply fixup
2845c23c
github-actions
jinhopark8345
github-actions
github-actions github-actions closed this 3 years ago
jinhopark8345 update modeling code
55d5d7bc
jinhopark8345
amyeroberts amyeroberts reopened this 3 years ago
jinhopark8345 update BrosForTokenClassification loss calculation logic
e41ab5d1
jinhopark8345 revert logits preprocessing logic to make sure logits have original s…
4ef71fdc
jinhopark8345 - update class name
d735bd5f
jinhopark8345 - add BrosSpadeOutput
5ce570ee
jinhopark8345 add boilerate plate for no_head inference test
49330937
jinhopark8345 add prepare_bros_batch_inputs function
0d53a2dd
jinhopark8345 add test case
7228d98d
jinhopark8345 add test case for token_classification
9e758d7b
jinhopark8345 update modeling code
7be8d1d0
jinhopark8345 update BrosForTokenClassification loss calculation logic
ca9f5e84
jinhopark8345 revert logits preprocessing logic to make sure logits have original s…
a6e77d7c
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
13639d7a
jinhopark8345 apply masking on the fly
725e1452
jinhopark8345 add BrosSpadeForTokenLinking
f5113b34
jinhopark8345 update class name
a955d3c3
jinhopark8345 separate the logits calculation logic and loss calculation logic
0cb524f1
jinhopark8345 update logic for loss calculation so that logits shape doesn't change
59398609
jinhopark8345 update typo
179c4f9d
jinhopark8345 update prepare_config_and_inputs
24d55f94
jinhopark8345 update dummy node initialization
aa28567a
jinhopark8345 update last_hidden_states getting logic to consider when return_dict …
d1a120f2
jinhopark8345 update box first token mask param
ed5efb3d
jinhopark8345 bugfix: remove random attention mask generation
2d7bcc71
jinhopark8345 update keys to ignore on load missing
83795651
jinhopark8345 run make style and quality
632fde5b
jinhopark8345 apply make style and quality of other codes
1f2a956e
jinhopark8345 update box_first_token_mask to bool type
d83b042a
jinhopark8345 update index.md
794dbba6
jinhopark8345 apply make style and quality
863155f5
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
d18a5e6e
jinhopark8345 apply make fix-copies
6f7c3d37
jinhopark8345 pass check_repo
eb7ba73d
jinhopark8345 update bros model doc
16f4830c
jinhopark8345 docstring bugfix fix
ecce5524
jinhopark8345 add checkpoint for doc, tokenizer for doc
d9270150
jinhopark8345 jinhopark8345 marked this pull request as ready for review 3 years ago
amyeroberts
amyeroberts commented on 2023-08-18
jinhopark8345 Update README.md
46ec9314
jinhopark8345 Update docs/source/en/model_doc/bros.md
4433162e
jinhopark8345 Update bros.md
828c9b0b
jinhopark8345 Update src/transformers/__init__.py
41de331a
jinhopark8345 Update docs/source/en/model_doc/bros.md
fa52d901
jinhopark8345 Apply suggestions from code review
d2197604
jinhopark8345 apply suggestions from code review
3b64b104
jinhopark8345 apply suggestions from code review
6811e44c
jinhopark8345 revert test_processor_markuplm.py
8922ffaf
jinhopark8345 Update test_processor_markuplm.py
09c3f82f
jinhopark8345
jinhopark8345 apply suggestions from code review
a4d2e91d
jinhopark8345 apply suggestions from code review
6bce6e13
jinhopark8345 apply suggestions from code review
0b3e7506
jinhopark8345 update BrosSpadeELForTokenClassification head name to entity linker
a10fbac0
jinhopark8345 add doc string for config params
336a94c7
jinhopark8345 update class, var names to more explicit and apply suggestions from c…
9da2fa40
jinhopark8345 remove unnecessary keys to ignore
e2e304fc
jinhopark8345 update relation extractor to be initialized with config
f6214276
jinhopark8345 add bros processor
8a7d54c4
jinhopark8345 apply make style and quality
fb7a9915
jinhopark8345 update bros.md
9a47510d
jinhopark8345 remove bros tokenizer, add bros processor that wraps bert tokenizer
ab706c02
jinhopark8345 revert change
52222305
jinhopark8345 apply make fix-copies
3ef8bd53
jinhopark8345 update processor code, update itc -> initial token, stc -> subsequent…
2a5a0108
jinhopark8345 add type hint
7761029e
jinhopark8345 remove unnecessary condition branches in embedding forward
e9449d16
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
b001e882
jinhopark8345 fix auto tokenizer fail
6a220913
jinhopark8345
jinhopark8345 update docstring for each classes
c16e4d8b
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
66f14463
amyeroberts
jinhopark8345 update bbox input dimension as standard 2 points and convert them to 4
3f07cb40
jinhopark8345
amyeroberts
jinhopark8345 update bros docs
20a2bee4
jinhopark8345
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
14e55919
amyeroberts
amyeroberts commented on 2023-08-25
jinhopark8345 apply suggestions from code review : update Bros -> BROS in bros.md
52dcb38a
jinhopark8345 1. box prefix var -> bbox
6cdcaf2b
jinhopark8345 replace einsum with torch matmul
983ac626
jinhopark8345 apply style and quality
007333a4
jinhopark8345 remove unused argument
a51a66d7
jinhopark8345 remove unused arguments
04036752
jinhopark8345 update docstrings
e15b019f
jinhopark8345 apply suggestions from code review: add BrosBboxEmbeddings, replace
2b6a8f41
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
039afcb9
jinhopark8345
jinhopark8345 commented on 2023-09-07
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
0fb70f1f
jinhopark8345 revert einsum update
1a8558b7
jinhopark8345 update bros processor
8eb78e16
amyeroberts
amyeroberts approved these changes on 2023-09-13
NielsRogge
NielsRogge commented on 2023-09-13
NielsRogge
NielsRogge commented on 2023-09-13
NielsRogge
NielsRogge commented on 2023-09-13
jinhopark8345 apply suggestions from code review
44a0fc93
jinhopark8345 add conversion script for bros
19993a7a
jinhopark8345 Apply suggestions from code review
8fe9f5a4
jinhopark8345
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
e1d0c735
amyeroberts amyeroberts changed the title [WIP] Add BROS Add BROS 3 years ago
amyeroberts
amyeroberts commented on 2023-09-14
jinhopark8345 fix readme
9e883fbd
jinhopark8345 apply fix-copies
8223fed2
amyeroberts
jinhopark8345 Merge remote-tracking branch 'upstream/main' into add-bros
187c411d
amyeroberts amyeroberts merged 17fdd354 into main 3 years ago
amyeroberts
ydshieh
jinhopark8345
ydshieh
jinhopark8345
ydshieh
ydshieh
jinhopark8345
ydshieh
NielsRogge
Prathyusha-Akundi
jinhopark8345
Prathyusha-Akundi

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone