8000 GitHub - Watchfulio/heatmap-demo: Streamlit demo for A surprisingly effective way to estimate token importances in LLM prompts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Watchfulio/heatmap-demo

Repository files navigation

Token Importance Demo 🔥

A surprisingly effective way to estimate token importance in LLM prompts

You can find a live version of the demo here


Token Importance Demo GIF


Quickstart

pip install -r requirements.txt
OPENAI_API_KEY=<KEY> streamlit run app.py

For more information, refer to the blog post

About

Streamlit demo for A surprisingly effective way to estimate token importances in LLM prompts

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages

0