Spaces:
Runtime error
Runtime error
Download transformers/utils/test_module/custom_processing.py from chendl/compositional_test: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/spaces/chendl/compositional_test/resolve/main/transformers/utils/test_module/custom_processing.py
- Command line
-
hf download hf://spaces/chendl/compositional_test/transformers/utils/test_module/custom_processing.py
-
curl -L -o custom_processing.py https://huggingface.co/spaces/chendl/compositional_test/resolve/main/transformers/utils/test_module/custom_processing.py
172 Bytes
| from transformers import ProcessorMixin | |
| class CustomProcessor(ProcessorMixin): | |
| feature_extractor_class = "AutoFeatureExtractor" | |
| tokenizer_class = "AutoTokenizer" | |