Skip to content

Commit

Permalink
Fix JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Apr 6, 2024
1 parent b88b6a2 commit ed74883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generation/stopping_criteria.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class EosTokenCriteria extends StoppingCriteria {
*
* @param {number[][]} input_ids
* @param {number[][]} scores
* @returns
* @returns {boolean[]}
*/
_call(input_ids, scores) {
return input_ids.map(ids => this.eos_token_id.includes(ids.at(-1)));
Expand Down

0 comments on commit ed74883

Please sign in to comment.