Datasets:
umarbutler
commited on
Commit
•
520a3aa
1
Parent(s):
71040df
Update README.md (#11)
Browse files- Update README.md (837c6464ce3d267feb47adbdaf96324b0509c734)
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 |
-
|
|
|
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))
|