You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: explore-analyze/machine-learning/data-frame-analytics/ml-trained-models.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,4 +115,4 @@ If you also want to copy the {{dfanalytics-job}} to the new cluster, you can exp
115
115
116
116
## Importing an external model to the {{stack}} [import-external-model-to-es]
117
117
118
-
It is possible to import a model to your {{es}} cluster even if the model is not trained by Elastic {{dfanalytics}}. Eland supports [importing models](asciidocalypse://docs/eland/docs/reference/machine-learning.md) directly through its APIs. Please refer to the latest [Eland documentation](https://eland.readthedocs.io/en/latest/index.md) for more information on supported model types and other details of using Eland to import models with.
118
+
It is possible to import a model to your {{es}} cluster even if the model is not trained by Elastic {{dfanalytics}}. Eland supports [importing models](eland://reference/machine-learning.md) directly through its APIs. Please refer to the latest [Eland documentation](https://eland.readthedocs.io/en/latest/index.md) for more information on supported model types and other details of using Eland to import models with.
Copy file name to clipboardExpand all lines: explore-analyze/machine-learning/nlp/ml-nlp-import-model.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ mapped_pages:
9
9
# Import the trained model and vocabulary [ml-nlp-import-model]
10
10
11
11
::::{important}
12
-
If you want to install a trained model in a restricted or closed network, refer to [these instructions](asciidocalypse://docs/eland/docs/reference/machine-learning.md#ml-nlp-pytorch-air-gapped).
12
+
If you want to install a trained model in a restricted or closed network, refer to [these instructions](eland://reference/machine-learning.md#ml-nlp-pytorch-air-gapped).
13
13
::::
14
14
15
15
After you choose a model, you must import it and its tokenizer vocabulary to your cluster. When you import the model, it must be chunked and imported one chunk at a time for storage in parts due to its size.
@@ -22,7 +22,7 @@ Trained models must be in a TorchScript representation for use with {{stack-ml-f
22
22
23
23
## Import with the Eland client installed [ml-nlp-import-script]
24
24
25
-
1. Install the [Eland Python client](asciidocalypse://docs/eland/docs/reference/installation.md) with PyTorch extra dependencies.
25
+
1. Install the [Eland Python client](eland://reference/installation.md) with PyTorch extra dependencies.
26
26
27
27
```shell
28
28
python -m pip install 'eland[pytorch]'
@@ -43,7 +43,7 @@ Trained models must be in a TorchScript representation for use with {{stack-ml-f
43
43
3. Specify the identifier forthe modelin the Hugging Face model hub.
44
44
4. Specify the type of NLP task. Supported values are `fill_mask`, `ner`, `question_answering`, `text_classification`, `text_embedding`, `text_expansion`, `text_similarity`, and `zero_shot_classification`.
45
45
46
-
For more details, refer to [asciidocalypse://docs/eland/docs/reference/elasticsearch/elasticsearch-client-eland/machine-learning.md#ml-nlp-pytorch](asciidocalypse://docs/eland/docs/reference/machine-learning.md#ml-nlp-pytorch).
46
+
For more details, refer to [asciidocalypse://docs/eland/docs/reference/elasticsearch/elasticsearch-client-eland/machine-learning.md#ml-nlp-pytorch](eland://reference/machine-learning.md#ml-nlp-pytorch).
47
47
48
48
## Import with Docker [ml-nlp-import-docker]
49
49
@@ -70,7 +70,7 @@ Replace the `$ELASTICSEARCH_URL` with the URL for your {{es}} cluster. Refer to
70
70
The following authentication options are available when using the import script:
71
71
72
72
* username/password authentication (specified with the `-u` and `-p` options):
Copy file name to clipboardExpand all lines: raw-migrated-files/stack-docs/elastic-stack/air-gapped-install.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@ Air-gapped setup of this component is, essentially, identical to the setup of th
151
151
Some {{ml}} features, like natural language processing (NLP), require you to deploy trained models. To learn about deploying {{ml}} models in an air-gapped environment, refer to:
152
152
153
153
*[Deploy ELSER in an air-gapped environment](../../../explore-analyze/machine-learning/nlp/ml-nlp-elser.md#air-gapped-install).
154
-
*[Install trained models in an air-gapped environment with Eland](asciidocalypse://docs/eland/docs/reference/machine-learning.md#ml-nlp-pytorch-air-gapped).
154
+
*[Install trained models in an air-gapped environment with Eland](eland://reference/machine-learning.md#ml-nlp-pytorch-air-gapped).
155
155
156
156
157
157
#### 1.13 {{kib}} Product documentation for AI Assistants [air-gapped-kibana-product-documentation]
Copy file name to clipboardExpand all lines: solutions/search/ranking/semantic-reranking.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@ applies_to:
8
8
9
9
# Semantic reranking [semantic-reranking]
10
10
11
-
::::{warning}
11
+
::::{warning}
12
12
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
13
13
::::
14
14
15
15
16
-
::::{tip}
16
+
::::{tip}
17
17
This overview focuses more on the high-level concepts and use cases for semantic re-ranking. For full implementation details on how to set up and use semantic re-ranking in {{es}}, see the [reference documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#operation-search-body-application-json-retriever) in the Search API docs.
18
18
19
19
::::
@@ -26,7 +26,7 @@ Semantic re-ranking requires relatively large and complex machine learning model
26
26
The next sections provide more details on the benefits, use cases, and model types used for semantic re-ranking. The final sections include a practical, high-level overview of how to implement [semantic re-ranking in {{es}}](#semantic-reranking-in-es) and links to the full reference documentation.
27
27
28
28
29
-
## Use cases [semantic-reranking-use-cases]
29
+
## Use cases [semantic-reranking-use-cases]
30
30
31
31
Semantic re-ranking enables a variety of use cases:
32
32
@@ -50,11 +50,11 @@ Semantic re-ranking enables a variety of use cases:
50
50
Now that we’ve outlined the value of semantic re-ranking, we’ll explore the specific models that power this process and how they differ.
51
51
52
52
53
-
## Cross-encoder and bi-encoder models [semantic-reranking-models]
53
+
## Cross-encoder and bi-encoder models [semantic-reranking-models]
54
54
55
55
At a high level, two model types are used for semantic re-ranking: cross-encoders and bi-encoders.
56
56
57
-
::::{note}
57
+
::::{note}
58
58
In this version, {{es}} **only supports cross-encoders** for semantic re-ranking.
59
59
::::
60
60
@@ -84,7 +84,7 @@ The following is a non-exhaustive list of considerations when choosing between c
84
84
85
85
86
86
87
-
## Semantic re-ranking in {{es}} [semantic-reranking-in-es]
87
+
## Semantic re-ranking in {{es}} [semantic-reranking-in-es]
88
88
89
89
In {{es}}, semantic re-rankers are implemented using the {{es}} [Inference API](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-inference) and a [retriever](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#operation-search-body-application-json-retriever).
90
90
@@ -95,7 +95,7 @@ To use semantic re-ranking in {{es}}, you need to:
95
95
1. Use the [Elastic Rerank](../inference-api/elasticsearch-inference-integration.md#inference-example-elastic-reranker) cross-encoder model via the inference API’s {{es}} service.
96
96
2. Use the [Cohere Rerank inference endpoint](../inference-api/cohere-inference-integration.md) to create a `rerank` endpoint.
97
97
3. Use the [Google Vertex AI inference endpoint](../inference-api/google-vertex-ai-inference-integration.md) to create a `rerank` endpoint.
98
-
4. Upload a model to {{es}} from Hugging Face with [Eland](asciidocalypse://docs/eland/docs/reference/machine-learning.md#ml-nlp-pytorch). You’ll need to use the `text_similarity` NLP task type when loading the model using Eland. Then set up an [{{es}} service inference endpoint](../inference-api/elasticsearch-inference-integration.md#inference-example-eland) with the `rerank` endpoint type.
98
+
4. Upload a model to {{es}} from Hugging Face with [Eland](eland://reference/machine-learning.md#ml-nlp-pytorch). You’ll need to use the `text_similarity` NLP task type when loading the model using Eland. Then set up an [{{es}} service inference endpoint](../inference-api/elasticsearch-inference-integration.md#inference-example-eland) with the `rerank` endpoint type.
99
99
100
100
Refer to [the Elastic NLP model reference](../../../explore-analyze/machine-learning/nlp/ml-nlp-model-ref.md#ml-nlp-model-ref-text-similarity) for a list of third party text similarity models supported by {{es}} for semantic re-ranking.
101
101
@@ -133,7 +133,7 @@ POST _search
133
133
134
134
135
135
136
-
## Learn more [semantic-reranking-learn-more]
136
+
## Learn more [semantic-reranking-learn-more]
137
137
138
138
* Read the [retriever reference documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#operation-search-body-application-json-retriever) for syntax and implementation details
139
139
* Learn more about the [retrievers](../querying-for-search.md) abstraction
0 commit comments