This is a simple tool to visualize the log probabilities of OpenAI GPT completions. It is useful for debugging and understanding the model's behavior.

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-11-19 12:00:04

This is a simple tool to visualize the log probabilities of OpenAI GPT completions. It is useful for debugging and understanding the model's behavior.

A common usage is to tick the "logprobs" checkbox and enter a number of 1 to 20 in "top_logprobs. Enter your prompt and click "Complete". The log probabilities will be displayed below. Mouse over the tokens to see the log probabilities of candidates. Enable "stream" to see result in real-time.

Other parameters are not fully tested. Use them at your own risk. "n" > 1 is known not supported. Text input will be first attempted to be parsed with JSON. Mouse over the parameter names to see the descriptions.

Leave a Comment