transformers
add Qianfan-OCR model definition
#45280
Merged

add Qianfan-OCR model definition #45280

vasqu merged 40 commits into huggingface:main from marvinzh:add-qianfan-ocr
marvinzh
zucchini-nlp
zucchini-nlp commented on 2026-04-07
marvinzh marvinzh force pushed from b3c01642 to 0291780b 73 days ago
marvinzh
marvinzh marvinzh requested a review from zucchini-nlp zucchini-nlp 72 days ago
zucchini-nlp
zucchini-nlp commented on 2026-04-10
marvinzh marvinzh force pushed from 0291780b to cf8b9b94 69 days ago
marvinzh marvinzh requested a review from zucchini-nlp zucchini-nlp 69 days ago
marvinzh
zucchini-nlp
zucchini-nlp zucchini-nlp requested a review from vasqu vasqu 68 days ago
marvinzh marvinzh force pushed from cf8b9b94 to 1015cfe8 68 days ago
marvinzh
vasqu
vasqu
vasqu commented on 2026-04-14
marvinzh marvinzh force pushed from dbb5438b to ee8deed0 67 days ago
marvinzh
vasqu
vasqu commented on 2026-04-15
add QianfanOCR Model
34694a2e
marvinzh update remote model id
08fe5fae
marvinzh update model attributes
14c9187e
marvinzh fix errors in ddp
d4ec4c0a
marvinzh fix dtype mismatch
4e3060a9
marvinzh fix template error
c1871817
marvinzh fix style
c098b821
marvinzh fix code style
82fd32ea
marvinzh Update expected logits and output strings in tests (tested on 4090)
5578485d
marvinzh update expected result under 4090
78386a0b
marvinzh align test result on 4090 x2
6c4902e5
fix CI run_tests issue
572634c9
add QianfanOCR Model
f006bad2
fix CI run_tests issue
7df2d896
marvinzh using conversion mapping to mapping weights
98b48d9e
fix ddp issue
105da02f
marvinzh fix processor UT errors
6181828d
squeeze modular to make use of existing implementation
391f9d22
update format fixs by tools
9b834d8a
marvinzh Apply suggestion from @vasqu
5bd2d12f
marvinzh Update src/transformers/models/qianfan_ocr/modular_qianfan_ocr.py
a98a1fca
fix format/code style issue from comments
ca747c22
fix UT errors
cedf73ba
fix processor UT errors
683f6860
formatting code
58ae5fa1
refactor modular
d67c5ff0
refactor test to use VLMModelTest
eeb4efbd
format code
58755e40
fix data in doc
c9e88e81
remove compile graph
1d218c75
marvinzh marvinzh force pushed from ee8deed0 to 1d218c75 66 days ago
marvinzh
marvinzh marvinzh requested a review from vasqu vasqu 66 days ago
vasqu
vasqu vasqu added New model
vasqu fix modular inheritance on config
92fa1c3c
vasqu no need to skip
b59e6b84
vasqu Merge branch 'main' into add-qianfan-ocr
ade2eff5
vasqu fix auto mappings and apply fix repo
a4a6f503
vasqu fix
36026a52
vasqu fix
4edb19e0
vasqu nits
45897a84
vasqu move conversion mapping
cfd2a9cc
vasqu
vasqu approved these changes on 2026-04-16
vasqu
github-actions
github-actions
vasqu
marvinzh
vasqu Merge branch 'main' into add-qianfan-ocr
07e75381
github-actions
vasqu fix integration test for our CI
2fbd0d7a
vasqu
github-actions
HuggingFaceDocBuilderDev
github-actions
github-actions
vasqu vasqu merged 77de8dd8 into main 65 days ago
vasqu

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone