Feliks Zaslavskiy commited on
Commit
78b9733
1 Parent(s): 63e8c9b

formatting

Browse files
Files changed (1) hide show
  1. data.py +3 -3
data.py CHANGED
@@ -34,11 +34,11 @@ e2 = get_embedding(a2)
34
  e4 = get_embedding(a4)
35
  e5 = get_embedding(a5)
36
 
37
- print(f"a1 {a1} to {a2} a2")
38
  print(cosine_similarity([e1], [e2]))
39
- print(f"a1 {a1} to {a4} a4")
40
  print(cosine_similarity([e1], [e4]))
41
- print(f"a1 {a1} to {a5} a5")
42
  print(cosine_similarity([e1], [e5]))
43
 
44
  # with base
 
34
  e4 = get_embedding(a4)
35
  e5 = get_embedding(a5)
36
 
37
+ print(f"a1 \"{a1}\" to \"{a2}\" a2")
38
  print(cosine_similarity([e1], [e2]))
39
+ print(f"a1 \"{a1}\" to \"{a4}\" a4")
40
  print(cosine_similarity([e1], [e4]))
41
+ print(f"a1 \"{a1}\" to \"{a5}\" a5")
42
  print(cosine_similarity([e1], [e5]))
43
 
44
  # with base