Skip to content

kristijanmatas/tokencounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Token Counter 21.3.2024.

A web application for token counting within OpenAI framework. It can be used by uploading TXT files or directly writing text into the provided text area field. It is based on Streamlit and TikToken. Additionaly, offers the flexibility to select from a variery of additional models through radio buttons.

REQUIREMENTS: pip install tiktoken pip install streamlit

RUN: streamlit run tokenizer.py

About

Count tokens for OpenAI models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages