Skip to content

Added information about the use of slow tokenizers - #2517

Merged
bmorelli25 merged 6 commits into
mainfrom
ppf2-slow-tokenizers
Aug 22, 2025
Merged

Added information about the use of slow tokenizers#2517
bmorelli25 merged 6 commits into
mainfrom
ppf2-slow-tokenizers

Conversation

@ppf2

@ppf2 ppf2 commented Aug 11, 2025

Copy link
Copy Markdown
Contributor

Added information about the use of slow tokenizers to generate vocab files in ML.

Added information about the use of slow tokenizers to generate vocab files in ML.
@ppf2
ppf2 requested a review from davidkyle August 11, 2025 22:06
@ppf2
ppf2 requested review from a team as code owners August 11, 2025 22:06
@github-actions

github-actions Bot commented Aug 11, 2025

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@benironside benironside left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not familiar with the content, but the writing LGTM

@davidkyle

Copy link
Copy Markdown
Member

FYI I started work on switching to the fast tokenizers for Eland in elastic/eland#803. This change is required for supporting more of the models found on HuggingFace, the Jina AI Reranker is an example

However, some tests failed after the switch so it is not a simple change and we must first understand why those failures are occuring

Comment thread explore-analyze/machine-learning/nlp/ml-nlp-model-ref.md Outdated
Co-authored-by: David Kyle <david.kyle@elastic.co>
@ppf2
ppf2 enabled auto-merge (squash) August 13, 2025 22:48

@davidkyle davidkyle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've lost the part about the slow tokenizers now

@ppf2

ppf2 commented Aug 14, 2025

Copy link
Copy Markdown
Contributor Author

@davidkyle Oh I thought it was intentional because we are about to support fast tokenizers 😄 Do you think we should hold off on this PR until fast tokenizer support is available and we will make the statement about slow/fast tokenizers then? WDYT?

@vishaangelova
vishaangelova disabled auto-merge August 15, 2025 07:06
@vishaangelova

Copy link
Copy Markdown
Member

@ppf2 I disabled the auto-merge as I saw your question on holding off on this PR, just to be sure this doesn’t get merged until you want it to.

@davidkyle davidkyle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidkyle

Copy link
Copy Markdown
Member

Oh I thought it was intentional because we are about to support fast tokenizers 😄

Good point. Let's merge as is and I will concentrate on the fast tokenizer work. If I don't make any progress next week I will create another PR here to document the use of slow tokenizers

Comment thread explore-analyze/machine-learning/nlp/ml-nlp-model-ref.md Outdated
ppf2 and others added 2 commits August 15, 2025 11:20
Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
@vishaangelova

Copy link
Copy Markdown
Member

@ppf2 please feel free to merge at your convenience as the auto-merge is not enabled.

@bmorelli25
bmorelli25 enabled auto-merge (squash) August 22, 2025 17:19
@bmorelli25
bmorelli25 merged commit b8bedb2 into main Aug 22, 2025
6 of 7 checks passed
@bmorelli25
bmorelli25 deleted the ppf2-slow-tokenizers branch August 22, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants