Skip to content

Wrong offsets returned by FARMReader #2

@tholor

Description

@tholor

The offsets indicating the start and end of the answer are currently wrong. Seems that it was introduced by cab0932

{
    "question": "Who is the father of Arya?",
    "answers": [
        {
            "answer": "Eddard",
            "score": 17.154027938842773,
            "probability": 0.8951305652110051,
            "context": "ry warrior queen. She travels with her father, Eddard, to King's Landing when he is made Hand of the",
            "offset_start": 47,
            "offset_end": 47,
            "document_id": null
        },
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions