tensorflow / community

Stores documents used by the TensorFlow developer community
Apache License 2.0
1.26k stars 576 forks source link

RFC: Modify BulkInferrer TFX component #417

Closed abin-thomas-by closed 2 years ago

abin-thomas-by commented 2 years ago

RFC: Modify BulkInferrer TFX component

Status Proposed
RFC # 417
Author(s) Abin Thomas (abin.thomas@blueyonder.com), Iain Stitt (iain.stitt@blueyonder.com)
Sponsor Robert Crowe (robertcrowe@google.com)
Updated 2020-06-20

Objective

Modify BulkInferrer TFX component.

Changes :-

Motivation

A BulkInferrer TFX component is used to perform batch inference on unlabeled tf.Examples. The generated output examples contains the original features and the prediction results. Keeping all original features in the output is troubling when dealing with feature heavy models. For most of the use cases we only require example identifiers and the predictions in the output.

In machine learning, it is a common practice to train multiple models using the same feature set to perform different tasks (sometimes same tasks). It will be convenient to have a multimodel inference feature in bulk-inferrer. The component should take a list of models and produce predictions for all models.