Update README.md
Browse files
README.md
CHANGED
|
@@ -2619,6 +2619,26 @@ model-index:
|
|
| 2619 |
|
| 2620 |
If you would like to finetune a model on more data, you can use this model as an initialization
|
| 2621 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2622 |
|
| 2623 |
## Training Details
|
| 2624 |
|
|
|
|
| 2619 |
|
| 2620 |
If you would like to finetune a model on more data, you can use this model as an initialization
|
| 2621 |
|
| 2622 |
+
## Hosted Inference API
|
| 2623 |
+
|
| 2624 |
+
The easiest way to get started with Nomic Embed is through the Nomic Embedding API.
|
| 2625 |
+
|
| 2626 |
+
Generating embeddings with the `nomic` Python client is as easy as
|
| 2627 |
+
|
| 2628 |
+
```python
|
| 2629 |
+
from nomic import embed
|
| 2630 |
+
|
| 2631 |
+
output = embed.text(
|
| 2632 |
+
texts=['Nomic Embedding API', '#keepAIOpen'],
|
| 2633 |
+
model='nomic-embed-text-v1',
|
| 2634 |
+
task_type='search_document'
|
| 2635 |
+
)
|
| 2636 |
+
|
| 2637 |
+
print(output)
|
| 2638 |
+
```
|
| 2639 |
+
|
| 2640 |
+
For more information, see the [API reference](https://docs.nomic.ai/reference/endpoints/nomic-embed-text)
|
| 2641 |
+
|
| 2642 |
|
| 2643 |
## Training Details
|
| 2644 |
|