Download src/transformers/commands/__init__.py from Deku21/RegFM: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/Deku21/RegFM/resolve/main/src/transformers/commands/__init__.py
- Command line
-
hf download hf://Deku21/RegFM/src/transformers/commands/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Deku21/RegFM/resolve/main/src/transformers/commands/__init__.py
316 Bytes
| from abc import ABC, abstractmethod | |
| from argparse import ArgumentParser | |
| class BaseTransformersCLICommand(ABC): | |
| def register_subcommand(parser: ArgumentParser): | |
| raise NotImplementedError() | |
| def run(self): | |
| raise NotImplementedError() | |