MCPcopy Create free account
hub / github.com/Aveiro-Lin/GraphiContact / build_processor

Function build_processor

src/transformers/utils/create_dummy_models.py:246–373  ·  view source on GitHub ↗

Create a processor for `processor_class`. If a processor is not able to be built with the original arguments, this method tries to change the arguments and call itself recursively, by inferring a new `config_class` or a new `processor_class` from another one, in order to find a checkpoi

(config_class, processor_class, allow_no_checkpoint=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

buildFunction · 0.85

Calls 7

replaceMethod · 0.80
from_pretrainedMethod · 0.45
valuesMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected