vaibhavad commited on
Commit
0801a6c
1 Parent(s): f2163ff

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -55,8 +55,11 @@ q_reps_norm = torch.nn.functional.normalize(q_reps, p=2, dim=1)
55
  d_reps_norm = torch.nn.functional.normalize(d_reps, p=2, dim=1)
56
  cos_sim = torch.mm(q_reps_norm, d_reps_norm.transpose(0, 1))
57
 
58
- print(cos_sim.tolist())
59
-
 
 
 
60
  ```
61
 
62
  ## Questions
 
55
  d_reps_norm = torch.nn.functional.normalize(d_reps, p=2, dim=1)
56
  cos_sim = torch.mm(q_reps_norm, d_reps_norm.transpose(0, 1))
57
 
58
+ print(cos_sim)
59
+ """
60
+ tensor([[0.5486, 0.0554],
61
+ [0.0567, 0.5437]])
62
+ """
63
  ```
64
 
65
  ## Questions