Update infinity example
#23
by
michaelfeil
- opened
README.md
CHANGED
@@ -5579,6 +5579,17 @@ print(similarities)
|
|
5579 |
# [0.32818374 0.80954516]]
|
5580 |
```
|
5581 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5582 |
# FAQ
|
5583 |
|
5584 |
Q: The details of training?
|
|
|
5579 |
# [0.32818374 0.80954516]]
|
5580 |
```
|
5581 |
|
5582 |
+
### infinity_emb
|
5583 |
+
|
5584 |
+
Usage via [infinity, MIT Licensed](https://github.com/michaelfeil/infinity).
|
5585 |
+
|
5586 |
+
```bash
|
5587 |
+
docker run \
|
5588 |
+
--gpus all -p "7997":"7997" \
|
5589 |
+
michaelf34/infinity:0.0.69 \
|
5590 |
+
v2 --model-id dunzhang/stella_en_400M_v5 --revision "refs/pr/24" --dtype bfloat16 --batch-size 16 --device cuda --engine torch --port 7997 --no-bettertransformer
|
5591 |
+
```
|
5592 |
+
|
5593 |
# FAQ
|
5594 |
|
5595 |
Q: The details of training?
|