Skip to content

ConEModel/Pre-training-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Leaf Goal Identification from Event Log Using LogFiBER Model

Prerequisite

LogFiBER Model

  • Download LogFiBER Model from Here

  • Extract the zip file

  • Create a python file in the same directory

  • Execute the sample code for measuring semantic similarity

    !pip install -U sentence-transformers
    from sentence_transformers import SentenceTransformer, util
    model = SentenceTransformer('./LogFiBER/') #LogFiBER is the directory.
    sentence1 = ['This framework generates embeddings for sentences']
    sentence2 = ['The model encodes sentences']
    embeddings1 = model.encode(sentence1)
    embeddings2 = model.encode(sentence2)
    cosine_scores = util.pytorch_cos_sim(embeddings1, embeddings2)
    print(cosine_scores)
    

    Other Models

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published