Repository navigation
Release v0.1.0 - Initial Release
Release v0.1.0
This release introduces the Token Probability Visualizer, a web application designed to help users understand the token probabilities generated by OpenAI models.
Overview
The Token Probability Visualizer allows you to:
- Visualize token probabilities from OpenAI models in generated text.
- See color-coded tokens indicating different probability levels (high probability = green, low probability = red).
- Hover over tokens to view detailed probability information and alternative likely tokens.
Key Features
- Model Configuration: Select from available OpenAI models associated with your API key, adjust temperature, top_p, and maximum tokens.
- Interactive Prompting: Enter prompts and generate text with probability visualization.
- Detailed Insights: Hover over tokens for log probabilities and alternative token options.
- Customizable Legend: Default probability thresholds and colors are provided (details in
config.pyandmodels/token_processor.py).
Getting Started
- Installation: Please refer to the Installation Guide in the README for detailed setup instructions.
- Running the App: Follow the Running the Application steps in the README.
- Usage: See the Using the Application section for a guide on how to use the visualizer.
Requirements
- Python 3.10+
- Flask
- OpenAI API key (configured in a
.envfile)
Please report any issues or provide feedback.