🏠
Author: simonwillison.net (did:plc:kft6lu4trxowqmter2b6vg6z)

Record🤔

uri:
"at://did:plc:kft6lu4trxowqmter2b6vg6z/app.bsky.feed.post/3jufrpl3eul2n"
cid:
"bafyreigfpzsm7oxgeev7fzd3i7k6nv4vfo6c47w4lqyrflfv64twmsusuy"
value:
text:
"I built a little tool for playing with the GPT-3 tokenizer using an Observable notebook

You can convert a string of text into numeric tokens, convert tokens back to text and search the full list of tokens

https://observablehq.com/@simonw/gpt-3-token-encoder-decoder"
$type:
"app.bsky.feed.post"
embed:
$type:
"app.bsky.embed.external"
external:
thumb:
View blob content
$type:
"blob"
mimeType:
"image/jpeg"
size:
243521
title:
"GPT-3 token encoder and decoder"
description:
"Enter text to tokenize it: Or convert tokens to text: Search tokens Or... paste a JSON prompt in below, e.g."
facets:
createdAt:
"2023-04-28T04:29:26.142Z"