michael-guenther commited on
Commit
5bfbdc0
·
verified ·
1 Parent(s): 44aa200

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -3
README.md CHANGED
@@ -88,21 +88,39 @@ 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 F16, you can do:
92
 
93
  ```sh
94
  llama-server -hf jinaai/jina-embeddings-v5-text-small-clustering:F16 --embedding --pooling last -ub 32768
95
  ```
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  </details>
98
 
99
  ### License
100
 
101
- The model is licensed under CC BY-NC 4.0. For commercial use, please [contact us](link).
102
 
103
 
104
  ### Citation
105
 
106
  If you find `jina-embeddings-v5-text-small-clustering` useful in your research, please cite the following paper:
107
 
108
- [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-clustering: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
+ }'
112
+ ```
113
+
114
+
115
  </details>
116
 
117
  ### License
118
 
119
+ The model is licensed under CC BY-NC 4.0. For commercial use, please [contact us](sales@jina.ai).
120
 
121
 
122
  ### Citation
123
 
124
  If you find `jina-embeddings-v5-text-small-clustering` useful in your research, please cite the following paper:
125
 
126
+ [will be published soon]