Skip to content

QuestionAnsweringOutput does not return start/end index #1245

Open
@sleep9

Description

@sleep9

Question

Question/Answering pipeline does not seem to return start/end index.

console output example

{ answer: 'anywhere', score: 0.8719829671013909 }

source code in pipeline.js

class QuestionAnsweringPipeline ...

// TODO add start and end?
// NOTE: HF returns character index
                toReturn.push({
                    answer, score
                });```

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions