# \donttest{
# Load tokenizer (requires prior model download)
if (model_exists("tiny")) {
tok <- whisper_tokenizer("tiny")
tok$encode("Hello world")
tok$decode(c(50258, 50259, 50359, 50363))
}
# }
Run the code above in your browser using DataLab