-
Notifications
You must be signed in to change notification settings - Fork 25.5k
[ML] Support sparse embedding models in the elasticsearch inference service #112270
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
Conversation
Documentation preview: |
Pinging @elastic/ml-core (Team:ML) |
Hi @davidkyle, I've created a changelog YAML for you. |
} | ||
|
||
@Override | ||
public void start(Model model, ActionListener<Boolean> listener) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These deleted methods were duplicates of the same in the base class BaseElasticsearchInternalService
} | ||
|
||
@Override | ||
public void isModelDownloaded(Model model, ActionListener<Boolean> listener) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate of the base class method
service.parseRequestConfig(randomInferenceEntityId, taskType, settings, Set.of(), modelListener); | ||
} | ||
|
||
// Valid model variant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These deleted cases were repeated tests
createTextExpansionModel(modelId); | ||
putModelDefinition(modelId, BASE_64_ENCODED_MODEL, RAW_MODEL_SIZE); | ||
putVocabulary( | ||
List.of("these", "are", "my", "words", "the", "washing", "machine", "is", "leaking", "octopus", "comforter", "smells"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunate
…ervice (elastic#112270) For a sparse embedding model created with the ml trained models APIs
…ervice (elastic#112270) For a sparse embedding model created with the ml trained models APIs
For a sparse embedding model created with the ml trained models APIs