Add missing `trust_remote_code=True` for Sentence Transformers

#1
by tomaarsen HF Staff - opened
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -184,7 +184,7 @@ pip install -U sentence-transformers
184
 
185
  ```python
186
  from sentence_transformers import SparseEncoder
187
- model = SparseEncoder("Linkup-Platform/linkup-sparseup-embed-v1")
188
  queries = [
189
  "England football player highest paid",
190
  "NYC capital which country?",
 
184
 
185
  ```python
186
  from sentence_transformers import SparseEncoder
187
+ model = SparseEncoder("Linkup-Platform/linkup-sparseup-embed-v1", trust_remote_code=True)
188
  queries = [
189
  "England football player highest paid",
190
  "NYC capital which country?",