You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I like to do is to compare the similarities between nl and code from codebert and unixcoder.
I could see quick tour code on unixcoder explaining how to get the similarity between nl and code but I don't see how to get the similarity between nl and code on the codebert page. My questions are as follows.
Can I change the model on the unixcoder quick tour page from 'microsoft/unixcoder-base' to 'microsoft/codebert-base' to get the similarity result?
I also tried to get the nl embedding and code embedding separately from the code on codebert page. I found that nl embedding shape and code embedding shape is different. Could you tell me how I can get the cosine similarity in this case?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Dear all,
What I like to do is to compare the similarities between nl and code from codebert and unixcoder.
I could see quick tour code on unixcoder explaining how to get the similarity between nl and code but I don't see how to get the similarity between nl and code on the codebert page. My questions are as follows.
Can I change the model on the unixcoder quick tour page from 'microsoft/unixcoder-base' to 'microsoft/codebert-base' to get the similarity result?
I also tried to get the nl embedding and code embedding separately from the code on codebert page. I found that nl embedding shape and code embedding shape is different. Could you tell me how I can get the cosine similarity in this case?
Thank you in advance.
The text was updated successfully, but these errors were encountered: