abetlen / abetlen/llama-cpp-python

[Missing documentation/functionality]: choices

オープン
#1,130 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。