michael-guenther commited on
Commit
a3e8a43
·
verified ·
1 Parent(s): d24cdc8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -9
README.md CHANGED
@@ -88,23 +88,24 @@ embed_document2 = outputs[1].outputs.data
88
 
89
  <details>
90
  <summary> via <a href="https://github.com/ggml-org/llama.cpp">llama.cpp (GGUF)</a></summary>
91
- After installing <a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a> one can run llama-server to host the embedding model as OpenAI API compatible HTTP server. As an example for using text-matching with FP16, you can do:
92
 
93
  ```sh
94
  llama-server -hf jinaai/jina-embeddings-v5-text-small-classification:F16 --embedding --pooling last -ub 32768
95
  ```
96
 
97
- When the server is running, one can send requests to encode embeddings:
98
 
99
- ```sh
 
 
100
  curl -X POST "http://127.0.0.1:8080/v1/embeddings" \
101
  -H "Content-Type: application/json" \
102
  -d '{
103
  "input": [
104
- "Query: A beautiful sunset over the beach",
105
- "Query: Un beau coucher de soleil sur la plage",
106
- "Query: 海滩上美丽的日落",
107
- "Query: 浜辺に沈む美しい夕日",
108
  "Document: Golden sunlight melts into the horizon, painting waves in warm amber and rose, while the sky whispers goodnight to the quiet, endless sea."
109
  ]
110
  }'
@@ -114,11 +115,11 @@ curl -X POST "http://127.0.0.1:8080/v1/embeddings" \
114
 
115
  ### License
116
 
117
- The model is licensed under CC BY-NC 4.0. For commercial use, please [contact us](link).
118
 
119
 
120
  ### Citation
121
 
122
  If you find `jina-embeddings-v5-text-small-classification` useful in your research, please cite the following paper:
123
 
124
- [TODO]
 
88
 
89
  <details>
90
  <summary> via <a href="https://github.com/ggml-org/llama.cpp">llama.cpp (GGUF)</a></summary>
91
+ After installing <a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a> one can run llama-server to host the embedding model as OpenAI API compatible HTTP server with the respective model version:
92
 
93
  ```sh
94
  llama-server -hf jinaai/jina-embeddings-v5-text-small-classification:F16 --embedding --pooling last -ub 32768
95
  ```
96
 
 
97
 
98
+ Client:
99
+
100
+ ```
101
  curl -X POST "http://127.0.0.1:8080/v1/embeddings" \
102
  -H "Content-Type: application/json" \
103
  -d '{
104
  "input": [
105
+ "Document: A beautiful sunset over the beach",
106
+ "Document: Un beau coucher de soleil sur la plage",
107
+ "Document: 海滩上美丽的日落",
108
+ "Document: 浜辺に沈む美しい夕日",
109
  "Document: Golden sunlight melts into the horizon, painting waves in warm amber and rose, while the sky whispers goodnight to the quiet, endless sea."
110
  ]
111
  }'
 
115
 
116
  ### License
117
 
118
+ The model is licensed under CC BY-NC 4.0. For commercial use, please [contact us](sales@jina.ai).
119
 
120
 
121
  ### Citation
122
 
123
  If you find `jina-embeddings-v5-text-small-classification` useful in your research, please cite the following paper:
124
 
125
+ [will be published soon]