Skip to content

Is there a way to do less computation for T5 and DPR models? #63

Description

@cybershape

After reading the vectorizer.py, I found that the models do all the computation but we only take the output from a middle(hidden) layer in T5Model and DPRModel. Is there a way to prevent the models from doing all the work after the hidden layer?

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