test-dynamic-processor / custom_processing.py
ydshieh's picture
ydshieh HF staff
commit files to HF hub
990cd1d
raw
history blame contribute delete
172 Bytes
from transformers import ProcessorMixin
class CustomProcessor(ProcessorMixin):
feature_extractor_class = "AutoFeatureExtractor"
tokenizer_class = "AutoTokenizer"