Skip to content

nishu-builder/tokenizer_tests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tokenizer_tests

Playing around with anomalous tokens

To use this, you'll need to run:

pip install openai pip install tiktoken

I used Python 3.9.16 to run this code, though another version may work as well.

For the code to run, you'll need to make a new file called local_settings.py in the same directory as settings.py, and populate it with the following line:

OPENAI_SECRET_KEY = "[Your OpenAI secret key here]"

About

Playing around with anomalous tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%