IBM/pytorchpipe

View on GitHub
configs/default/components/masking/join_masked_predictions.yml

Summary

Maintainability
Test Coverage
# This file defines the default values for the Join Masked Predictions component.

####################################################################
# 1. CONFIGURATION PARAMETERS that will be LOADED by the component.
####################################################################

# List of input stream names, each containing batch of predictions (LOADED)
input_prediction_streams: ''

# List of input stream names, each containing batch of masks (LOADED)
input_mask_streams: ''

# List of word mapping names - those will be loaded from globals (LOADED)
input_word_mappings: ''

streams: 
  ####################################################################
  # 2. Keymappings associated with INPUT and OUTPUT streams.
  ####################################################################

  # Stream containing batch of output strings (OUTPUT)
  output_strings: output_strings

  # Stream containing batch of output indices (OUTPUT)
  # WARNING: As performed operations are not differentiable,
  # those indices cannot be used for e.g. calculation of loss!!
  output_indices: output_indices

globals:
  ####################################################################
  # 3. Keymappings of variables that will be RETRIEVED from GLOBALS.
  ####################################################################

  # Vocabulary used to produce output strings (RETRIEVED)
  output_word_mappings: output_word_mappings

  ####################################################################
  # 4. Keymappings associated with GLOBAL variables that will be SET.
  ####################################################################

  ####################################################################
  # 5. Keymappings associated with statistics that will be ADDED.
  ####################################################################