Skip to content

Configuration of DensePassageRetreiver #519

@mathieudumayet

Description

@mathieudumayet

Question
Hi,
I am new to all of this, so I have a question regarding max_seq_len parameter of DPR.

As default, it is set to 256. What does it actually mean? Is it the number of tokens question+passage combined?
If not, what is it?

I divided my documents into passages which consist of less than 512 tokens each. So I wonder if I would set max_len_seq to be 256 and a passage is larger than 256 token, would DPR ignore half of each passage?

This issue is very crucial to me! :)

Thanks in advance!
Additional context
Add any other context or screenshots about the question (optional).

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