Datasets:
Update README.md
#11
by
umarbutler
- opened
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))
|