You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<script src="https://unpkg.com/gpt-tokenizer"></script>
<script>
// the package is now available as a global:
const { encode, decode } = GPTTokenizer
</script>
When I try that, it fails because GPTTokenizer is undefined. There are no other errors in console.
The text was updated successfully, but these errors were encountered:
The README says this should work:
When I try that, it fails because GPTTokenizer is undefined. There are no other errors in console.
The text was updated successfully, but these errors were encountered: