update comments
Browse files- calculate-distances.py +2 -2
calculate-distances.py
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
|
3 |
"""
|
4 |
Plan:
|
5 |
-
Read in
|
6 |
-
Read in pre-calculated "proper" embedding for each
|
7 |
Prompt user for a word from the list
|
8 |
Generate a tensor array of distance to all the other known words
|
9 |
Print out the 20 closest ones
|
|
|
2 |
|
3 |
"""
|
4 |
Plan:
|
5 |
+
Read in "dictionary" for list of words
|
6 |
+
Read in pre-calculated "proper" embedding for each word from safetensor file
|
7 |
Prompt user for a word from the list
|
8 |
Generate a tensor array of distance to all the other known words
|
9 |
Print out the 20 closest ones
|