Infinity usage
#9
by
michaelfeil
- opened
README.md
CHANGED
@@ -1850,6 +1850,14 @@ scores = (query_embeddings @ doc_embeddings.T) * 100
|
|
1850 |
print(scores.tolist())
|
1851 |
```
|
1852 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1853 |
|
1854 |
## Evaluation
|
1855 |
|
|
|
1850 |
print(scores.tolist())
|
1851 |
```
|
1852 |
|
1853 |
+
### Usage with infinity
|
1854 |
+
|
1855 |
+
Usage with Docker and infinity: https://github.com/michaelfeil/infinity
|
1856 |
+
|
1857 |
+
```
|
1858 |
+
docker run -it --gpus all -v ./data:/app/.cache -p 7997:7997 michaelf34/infinity:0.0.72 \
|
1859 |
+
v2 --model-id BAAI/bge-en-icl --batch-size 8
|
1860 |
+
```
|
1861 |
|
1862 |
## Evaluation
|
1863 |
|