yuanjunchai
commited on
Commit
·
c5d446d
1
Parent(s):
2596ac1
add application files
Browse files
app.py
CHANGED
|
@@ -285,7 +285,7 @@ def averaged_glove_embeddings_gdrive(sentence, word_index_dict, embeddings, mode
|
|
| 285 |
|
| 286 |
|
| 287 |
# Task III: Sort the cosine similarity
|
| 288 |
-
def get_sorted_cosine_similarity(
|
| 289 |
"""
|
| 290 |
Get sorted cosine similarity between input sentence and categories
|
| 291 |
Steps:
|
|
|
|
| 285 |
|
| 286 |
|
| 287 |
# Task III: Sort the cosine similarity
|
| 288 |
+
def get_sorted_cosine_similarity(embeddings_metadata):
|
| 289 |
"""
|
| 290 |
Get sorted cosine similarity between input sentence and categories
|
| 291 |
Steps:
|