Open suunryo opened 1 year ago
Follow README at CodeBERT/codesearch, I fine-tuned the model.
But, it's task type is 'classification', so, when i want to search something by model, i got a classification result, like this:
[{'label': 'LABEL_1', 'score': 0.9671146273612976}]
I mean, i want to search code, not classify my input.
you can use unixcoder, which uses retrieval setting.
Follow README at CodeBERT/codesearch, I fine-tuned the model.
But, it's task type is 'classification', so, when i want to search something by model, i got a classification result, like this:
[{'label': 'LABEL_1', 'score': 0.9671146273612976}]
I mean, i want to search code, not classify my input.