fix: logprobs for Aphrodite
Since Aphrodite follows the same logprobs style as ooba, we can enable it easily.
This commit is contained in:
parent
3cf01e765a
commit
8af3939f09
|
@ -712,6 +712,7 @@ function parseTextgenLogprobs(token, logprobs) {
|
|||
}
|
||||
|
||||
switch (settings.type) {
|
||||
case APHRODITE:
|
||||
case OOBA: {
|
||||
/** @type {Record<string, number>[]} */
|
||||
const topLogprobs = logprobs.top_logprobs;
|
||||
|
|
Loading…
Reference in New Issue