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

[Backport 8.10] Add missing scores parameter in MLPutTrainedModelVocabularyRequest #2323

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Backport e279583 from #2321.

#2321)

This adds the missing scores parameter that was introduced in v8.9.0.

[Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.9/put-trained-model-vocabulary.html#ml-put-trained-model-vocabulary-request-body) say:

> (Optional, array) Vocabulary value scores used by sentence-piece tokenization. Must have the same length as vocabulary. Required for unigram sentence-piece tokenized models like XLMRoberta and T5.

(cherry picked from commit e279583)
@github-actions github-actions bot requested review from a team as code owners October 31, 2023 12:40
@dolaru dolaru merged commit 7111a05 into 8.10 Oct 31, 2023
@dolaru dolaru deleted the backport-2321-to-8.10 branch October 31, 2023 15:42
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.

1 participant