spacemanidol
commited on
Commit
•
3730650
1
Parent(s):
e2b128b
Update README.md
Browse files
README.md
CHANGED
@@ -2965,13 +2965,14 @@ for query, query_scores in zip(queries, scores):
|
|
2965 |
for document, score in doc_score_pairs:
|
2966 |
print(score, document)
|
2967 |
```
|
|
|
2968 |
```
|
2969 |
Query: what is snowflake?
|
2970 |
-
0.
|
2971 |
-
0.
|
2972 |
Query: Where can I get the best tacos?
|
2973 |
-
0.
|
2974 |
-
0.
|
2975 |
```
|
2976 |
|
2977 |
### Using Huggingface transformers
|
|
|
2965 |
for document, score in doc_score_pairs:
|
2966 |
print(score, document)
|
2967 |
```
|
2968 |
+
Produces:
|
2969 |
```
|
2970 |
Query: what is snowflake?
|
2971 |
+
0.2747492 The Data Cloud!
|
2972 |
+
0.19998045 Mexico City of Course!
|
2973 |
Query: Where can I get the best tacos?
|
2974 |
+
0.29974818 Mexico City of Course!
|
2975 |
+
0.2344071 The Data Cloud!
|
2976 |
```
|
2977 |
|
2978 |
### Using Huggingface transformers
|