Skip to content

Commit 1ca4998

Browse files
author
DomHudson
authored
Update README.md
1 parent 4c8d809 commit 1ca4998

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ writer = LmdbEmbeddingsWriter(
5151
# These vectors can now be loaded with the LmdbEmbeddingsReader.
5252
```
5353

54-
## Running tests
55-
```
56-
pytest
57-
```
58-
5954
## Customisation
6055
By default, LMDB Embeddings uses pickle to serialize the vectors to bytes (optimized and pickled with the highest available protocol). However, it is very easy to use an alternative approach - simply inject the serializer and unserializer as callables into the `LmdbEmbeddingsWriter` and `LmdbEmbeddingsReader`.
6156

@@ -80,3 +75,8 @@ reader = LmdbEmbeddingsReader(
8075
unserializer = MsgpackSerializer.unserialize
8176
)
8277
```
78+
79+
## Running tests
80+
```
81+
pytest
82+
```

0 commit comments

Comments
 (0)