Download src/transformers/data/__init__.py from Deku21/RegFM: direct link, hf CLI and curl.
- Browser
- Download file 739 Bytes
-
https://huggingface.co/Deku21/RegFM/resolve/main/src/transformers/data/__init__.py
- Command line
-
hf download hf://Deku21/RegFM/src/transformers/data/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Deku21/RegFM/resolve/main/src/transformers/data/__init__.py
739 Bytes
| # flake8: noqa | |
| # There's no way to ignore "F401 '...' imported but unused" warnings in this | |
| # module, but to preserve other warnings. So, don't check this module at all. | |
| from .metrics import is_sklearn_available | |
| from .processors import ( | |
| DataProcessor, | |
| InputExample, | |
| InputFeatures, | |
| SingleSentenceClassificationProcessor, | |
| SquadExample, | |
| SquadFeatures, | |
| SquadV1Processor, | |
| SquadV2Processor, | |
| glue_convert_examples_to_features, | |
| glue_output_modes, | |
| glue_processors, | |
| glue_tasks_num_labels, | |
| squad_convert_examples_to_features, | |
| xnli_output_modes, | |
| xnli_processors, | |
| xnli_tasks_num_labels, | |
| ) | |
| if is_sklearn_available(): | |
| from .metrics import glue_compute_metrics, xnli_compute_metrics | |