Update README.md
Browse files
README.md
CHANGED
@@ -132,7 +132,8 @@ contexts_reranked = sorted(
|
|
132 |
lambda x: x[0]['label'] == "LABEL_1",
|
133 |
zip(similarities, contexts)
|
134 |
),
|
135 |
-
key=lambda x: x[0]
|
|
|
136 |
)
|
137 |
score, contexts_cleaned = zip(
|
138 |
*filter(
|
|
|
132 |
lambda x: x[0]['label'] == "LABEL_1",
|
133 |
zip(similarities, contexts)
|
134 |
),
|
135 |
+
key=lambda x: x[0],
|
136 |
+
reverse=True
|
137 |
)
|
138 |
score, contexts_cleaned = zip(
|
139 |
*filter(
|