Download conversion/buckets.py from anylab/embeddinggemma-2-coreml: direct link, hf CLI and curl.
- Browser
- Download file 143 Bytes
-
https://huggingface.co/anylab/embeddinggemma-2-coreml/resolve/main/conversion/buckets.py
- Command line
-
hf download hf://anylab/embeddinggemma-2-coreml/conversion/buckets.py
-
curl -L -o buckets.py https://huggingface.co/anylab/embeddinggemma-2-coreml/resolve/main/conversion/buckets.py
143 Bytes
| """The exported fixed sequence lengths, including BOS/EOS and prompt tokens.""" | |
| LENGTHS = (128, 256, 512, 1024, 2048) | |
| MAX_LENGTH = LENGTHS[-1] | |