tomaarsen HF Staff commited on
Commit
04af09b
·
verified ·
1 Parent(s): 060ffbb

Drop unnecessary trust_remote_code from the SentenceTransformer example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -6,7 +6,7 @@ tags:
6
 
7
  # Example Documents
8
 
9
- A small set of example documents across modalities (image, audio, video) for use in [Sentence Transformers](https://www.sbert.net/) retrieval snippets and documentation. These are the kinds of files you pass to `model.encode_document(...)`. They can safely be used as examples in your model cards if you don't want to host the example assets in your model repositories themselves.
10
 
11
  ## Contents
12
 
@@ -49,7 +49,7 @@ or with a single-vector `SentenceTransformer`:
49
  ```python
50
  from sentence_transformers import SentenceTransformer
51
 
52
- model = SentenceTransformer("LCO-Embedding/LCO-Embedding-Omni-3B-2605", trust_remote_code=True)
53
  queries = ["What is the Llama 4 model?"]
54
  documents = [
55
  "https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/llama4_hgf.png",
 
6
 
7
  # Example Documents
8
 
9
+ A small set of example documents across modalities (image, audio, video) for use in [Sentence Transformers](https://www.sbert.net/) retrieval snippets and documentation. These are the kinds of files you pass to `model.encode_document(...)`.
10
 
11
  ## Contents
12
 
 
49
  ```python
50
  from sentence_transformers import SentenceTransformer
51
 
52
+ model = SentenceTransformer("LCO-Embedding/LCO-Embedding-Omni-3B-2605")
53
  queries = ["What is the Llama 4 model?"]
54
  documents = [
55
  "https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/llama4_hgf.png",