umarbutler commited on
Commit
837c646
1 Parent(s): 71040df

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -77,7 +77,8 @@ from sentence_transformers import SentenceTransformer
77
  model = SentenceTransformer('BAAI/bge-small-en-v1.5')
78
  instruction = 'Represent this sentence for searching relevant passages: '
79
 
80
- oale = load_dataset('umarbutler/open_australian_legal_embeddings', split='train', streaming=True) # Set `streaming` to `False` if you wish to load the entire dataset into memory (unadvised unless you have at least 64 GB of RAM).
 
81
 
82
  # Sample the first 100,000 embeddings.
83
  sample = list(itertools.islice(oale, 100000))
 
77
  model = SentenceTransformer('BAAI/bge-small-en-v1.5')
78
  instruction = 'Represent this sentence for searching relevant passages: '
79
 
80
+ # Load the embeddings.
81
+ oale = load_dataset('open_australian_legal_embeddings.py', split='train')
82
 
83
  # Sample the first 100,000 embeddings.
84
  sample = list(itertools.islice(oale, 100000))