Update README.md
Browse files
README.md
CHANGED
@@ -61,7 +61,7 @@ Then you can load this model and run inference.
|
|
61 |
from sentence_transformers.sparse_encoder import SparseEncoder
|
62 |
|
63 |
# Download from the 🤗 Hub
|
64 |
-
model = SparseEncoder("opensearch-project/opensearch-neural-sparse-encoding-doc-v3-gte")
|
65 |
|
66 |
query = "What's the weather in ny now?"
|
67 |
document = "Currently New York is rainy."
|
|
|
61 |
from sentence_transformers.sparse_encoder import SparseEncoder
|
62 |
|
63 |
# Download from the 🤗 Hub
|
64 |
+
model = SparseEncoder("opensearch-project/opensearch-neural-sparse-encoding-doc-v3-gte", trust_remote_code=True)
|
65 |
|
66 |
query = "What's the weather in ny now?"
|
67 |
document = "Currently New York is rainy."
|