zhichao-geng commited on
Commit
a8abaa9
·
verified ·
1 Parent(s): f4f4ac7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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."