abetlen / abetlen/llama-cpp-python

[Missing documentation/functionality]: choices

未关闭
#1,130 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
10.6k
派生
1.4k
PR 合并指标
PR 指标待抓取

描述

When using llama-cpp-python the dict entry `choices` is always created.
I couldn't find any documentation on what `choices` stands for. While skimming the code it looks like there is always only one list entry created. I couldn't find any example or documentation to the choices entry.
Why is it called choices? How can I generate more choices?

Depending on the reason why it's called choices I would like to propose an implementation for it. If it's called choices, because of historical reasons (meaning there is no real rhyme or reason) it would be nice to generate multiple possible responses to the same prompt. You could specify that you want to generate 5 responses and then let some heuristic go over the choices and present the best one/

If there is a reason why it's called choices and a possibility to have more than one choice I would be interested in that as well.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。