Unknown model· unknown
from ShareGPT 90K (shared ChatGPT conversations)
In sentence transformers, when they are trained, how are sentences tokenized?
- User
In sentence transformers, when they are trained, how are sentences tokenized?
- Assistant
In Sentence Transformers, sentences are tokenized using the wordpiece tokenization approach. This involves breaking down words into subwords or tokens, with the goal of handling out-of-vocabulary words that might not have appeared in the training data. The wordpiece tokenizer generates a vocabulary of subwords, and each sentence is then represented as a sequence of these subwords.