mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
donut -> donut-swin (#19920)
* donut -> donut-swin * remove ("donut-swin", "DonutProcessor") Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
a83bb45fb8
commit
b047472650
@ -334,7 +334,6 @@ MODEL_NAMES_MAPPING = OrderedDict(
|
||||
("dialogpt", "DialoGPT"),
|
||||
("distilbert", "DistilBERT"),
|
||||
("dit", "DiT"),
|
||||
("donut", "Donut"),
|
||||
("donut-swin", "DonutSwin"),
|
||||
("dpr", "DPR"),
|
||||
("dpt", "DPT"),
|
||||
|
@ -47,7 +47,7 @@ FEATURE_EXTRACTOR_MAPPING_NAMES = OrderedDict(
|
||||
("deformable_detr", "DeformableDetrFeatureExtractor"),
|
||||
("deit", "DeiTFeatureExtractor"),
|
||||
("detr", "DetrFeatureExtractor"),
|
||||
("donut", "DonutFeatureExtractor"),
|
||||
("donut-swin", "DonutFeatureExtractor"),
|
||||
("dpt", "DPTFeatureExtractor"),
|
||||
("flava", "FlavaFeatureExtractor"),
|
||||
("glpn", "GLPNFeatureExtractor"),
|
||||
|
@ -40,7 +40,6 @@ logger = logging.get_logger(__name__)
|
||||
PROCESSOR_MAPPING_NAMES = OrderedDict(
|
||||
[
|
||||
("clip", "CLIPProcessor"),
|
||||
("donut", "DonutProcessor"),
|
||||
("flava", "FlavaProcessor"),
|
||||
("groupvit", "CLIPProcessor"),
|
||||
("layoutlmv2", "LayoutLMv2Processor"),
|
||||
|
Loading…
Reference in New Issue
Block a user