Download utils/test_module/custom_tokenization_fast.py from sonalkum/GAMA-IT: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/spaces/sonalkum/GAMA-IT/resolve/main/utils/test_module/custom_tokenization_fast.py
- Command line
-
hf download hf://spaces/sonalkum/GAMA-IT/utils/test_module/custom_tokenization_fast.py
-
curl -L -o custom_tokenization_fast.py https://huggingface.co/spaces/sonalkum/GAMA-IT/resolve/main/utils/test_module/custom_tokenization_fast.py
193 Bytes
| from transformers import BertTokenizerFast | |
| from .custom_tokenization import CustomTokenizer | |
| class CustomTokenizerFast(BertTokenizerFast): | |
| slow_tokenizer_class = CustomTokenizer | |
| pass | |