Skip to content

Commit

Permalink
Fix typo (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova authored Jan 3, 2024
1 parent 733f982 commit 5da0297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ export class TokenClassificationPipeline extends (/** @type {new (options: TextP
* @callback QuestionAnsweringPipelineCallback Answer the question(s) given as inputs by using the context(s).
* @param {string|string[]} question One or several question(s) (must be used in conjunction with the `context` argument).
* @param {string|string[]} context One or several context(s) associated with the question(s) (must be used in conjunction with the `question` argument).
* @param {TokenClassificationPipelineOptions} [options] The options to use for question answering.
* @param {QuestionAnsweringPipelineOptions} [options] The options to use for question answering.
* @returns {Promise<QuestionAnsweringOutput|QuestionAnsweringOutput[]>} An array or object containing the predicted answers and scores.
*/

Expand Down

0 comments on commit 5da0297

Please sign in to comment.