forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] unifying NLP task output with existing inference outputs (elasti…
…c#78530) This unifies our current inference results and configuration options with our existing inference responses and configuration. Now results_field is configurable and updatable for all our inference configs. The following responses now resemble our classification response. text_classification zero_shot_classification (does not support "num_top_classes", as labels are fully configurable) mask_fill. This inference response also has <results_field>_sequence for the predicted value in the sequence. pass_through and text_embedding now write their results to the results_field parameter. For all, if results_field is not provided, the default is predicted_value. NER is not really unified yet, its a unique situation as its multiple token multi-class.
- Loading branch information
Showing
26 changed files
with
355 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.