Merge pull request #1749 from AlpinDale/patch-2
This commit is contained in:
commit
354a6b76c7
|
@ -712,6 +712,7 @@ function parseTextgenLogprobs(token, logprobs) {
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (settings.type) {
|
switch (settings.type) {
|
||||||
|
case APHRODITE:
|
||||||
case OOBA: {
|
case OOBA: {
|
||||||
/** @type {Record<string, number>[]} */
|
/** @type {Record<string, number>[]} */
|
||||||
const topLogprobs = logprobs.top_logprobs;
|
const topLogprobs = logprobs.top_logprobs;
|
||||||
|
|
Loading…
Reference in New Issue