Download toolbox/torch/utils/data/tokenizers/tokenizer.py from intelli-zen/text_classification: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/spaces/intelli-zen/text_classification/resolve/main/toolbox/torch/utils/data/tokenizers/tokenizer.py
- Command line
-
hf download hf://spaces/intelli-zen/text_classification/toolbox/torch/utils/data/tokenizers/tokenizer.py
-
curl -L -o tokenizer.py https://huggingface.co/spaces/intelli-zen/text_classification/resolve/main/toolbox/torch/utils/data/tokenizers/tokenizer.py
214 Bytes
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| from typing import List | |
| class Tokenizer(object): | |
| def tokenize(self, text: str) -> List[str]: | |
| raise NotImplementedError | |
| if __name__ == '__main__': | |
| pass | |