Skip to content

Guess for missing informations #4

@KuRoti

Description

@KuRoti

In the code, there is a mention about "cosine similarity from BERT-based embeddings but observed longer inference time and
similar performance", and this version of code is using SBRT similarity, which is missing "from Layer2.Fine_tuned_BERT import get_similarity_from_SBERT" file.

So in order to implement the paper settings, we need to replace this sbert similarity function to LDA similarity function.
(

probabilities_of_concepts = self.__calculate_probs_of_concepts_bert(

->
def __calculate_probs_of_concepts(self, concepts, sentence, debug):

)
The code is fragmented, but it seems to contain all the important information. Thank you for providing codes for feature similarity calculation

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