Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.15] [DOCS] Adds pre-cleaning recommendation to ELSER docs (backport #2796) #2799

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/en/stack/ml/nlp/ml-nlp-elser.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,27 @@ To learn more about ELSER performance, refer to the <<elser-benchmarks>>.


[discrete]
<<<<<<< HEAD
=======
szabosteve marked this conversation as resolved.
Show resolved Hide resolved
[[pre-cleaning]]
== Pre-cleaning input text

The quality of the input text significantly affects the quality of the embeddings.
To achieve the best results, it's recommended to clean the input text before generating embeddings.
The exact preprocessing you may need to do heavily depends on your text.
For example, if your text contains HTML tags, use the {ref}/htmlstrip-processor.html[HTML strip processor] in an ingest pipeline to remove unnecessary elements.
Always review and clean your input text before ingestion to eliminate any irrelevant entities that might affect the results.


[discrete]
[[elser-adaptive-allocations]]
== Adaptive allocations

include::ml-nlp-shared.asciidoc[tag=ml-nlp-adaptive-allocations]


[discrete]
>>>>>>> 34a6c7b5 ([DOCS] Adds pre-cleaning recommendation to ELSER docs. (#2796))
szabosteve marked this conversation as resolved.
Show resolved Hide resolved
[[further-readings]]
== Further reading

Expand Down