Skip to content

Commit 938e2b0

Browse files
committed
doc: added download step in standalone fastapi server section
1 parent 287eb40 commit 938e2b0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ To run the embeddings endpoint locally as a standalone FastAPI server, follow th
5656
pip install --no-cache-dir open-text-embeddings[server]
5757
```
5858

59-
2. Run the server with the desired model using the following command which normalize embeddings is enabled by default:
59+
2. Download the desired model using the following command, for example `intfloat/e5-large-v2`:
60+
61+
```bash
62+
./download.sh intfloat/e5-large-v2
63+
```
64+
65+
3. Run the server with the desired model using the following command which normalize embeddings is enabled by default:
6066

6167
```bash
6268
MODEL=intfloat/e5-large-v2 python -m open.text.embeddings.server
@@ -82,7 +88,7 @@ To run the embeddings endpoint locally as a standalone FastAPI server, follow th
8288
MODEL=intfloat/e5-large-v2 VERBOSE=1 python -m open.text.embeddings.server
8389
```
8490

85-
3. You will see the following text from your console once the server has started:
91+
4. You will see the following text from your console once the server has started:
8692

8793
```bash
8894
INFO: Started server process [19705]

0 commit comments

Comments
 (0)