Buckets:

download
raw
147 Bytes
import tiktoken
encoding = tiktoken.get_encoding("cl100k_base") # or another encoding name
token_count = len(encoding.encode(preprocessed_prompt))

Xet Storage Details

Size:
147 Bytes
·
Xet hash:
e59a1597fcd0ac8bf7eb923c991894bbb11233c005c03939648d7c6a5cc88337

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.