Skip to content

Commit

Permalink
update sim test.
Browse files Browse the repository at this point in the history
  • Loading branch information
shibing624 committed Jan 21, 2022
1 parent ba5d7cc commit ee34bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_similarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_sbert_sim_batch(self):
for i in range(len(sents1)):
sims.append(scores[i][i])
corr = compute_corrcoef(sims, labels)
print('scores:', scores[:10])
print('scores:', sims[:10])
print('labels:', labels[:10])
print('sbert_batch_sim spearman corr:', corr)

Expand Down

0 comments on commit ee34bd9

Please sign in to comment.