|
|
|
|
|
by wjessup
1122 days ago
|
|
We are experimenting with ways to use ChatGPT to get better answers more reliably, remove hallucinations, etc. This little library will generate multiple draft responses and then use a second model to judge the answers and pick a winner, which is then returned to the user. Google's Bard uses this same approach. With this library you can apply the pattern to gpt-3.5 and gpt-4. Drafts are generated in parallel and all drafts are evaluated with a single prompt. This will use a lot of tokens. For example to generate 3 drafts, you are at 3x + you need to feed those drafts into another prompt + get that response, so >7x. Streamlit demo: https://theoremone-gptgladiator-streamlit-ui-5ljwmm.streamli... |
|
Looking forward to exploring the Streamlit demo and seeing the Gladiator package in action. Keep up the great work!