DB vector search tutorial with GTE large - BPE tokenizer correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2025 03:34 PM
Hi,
I was trying to implement a vector search use case based on the databricks example notebook with GTE large:
For chunking, the notebook uses BPE tokenization cl100kbase which is the same as in the equivalent example notebook which uses an openAI model.
Is this correct? I couldn't find any info on the used tokenization encoding in the original paper of GTE large as well as in the web. Does GTE large really also use BPE with exactly the same encoding as for the newer open AI models, or is this an error in the tutorial notebook? And one should rather use AutoTokenizer from huggingface?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2025 05:14 AM
I created an vector index using databricks-gte-large-en and it was working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 05:13 AM
I just found the definition and it is indeed word piece tokenization.
So I think the tutorial is wrong.
https://huggingface.co/Alibaba-NLP/gte-large-en-v1.5/blob/main/tokenizer.json