Skip to content

Switch from custom cosine-similarity computation to UKPLab/util #3

@lefnire

Description

@lefnire

UKPLab/util.py has a paragraph_mining function. It's nice in that it does it over batches, rather than loading all at once, which will be needed eventually for larger x<->y comparisons. I didn't do it yet myself since it uses top-k, and I want all - I don't know if k can just be set to 1 or 0 or len(corpus) to bypass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions