Legacy Product

Fusion 5.10
    Fusion 5.10

    Trains Smart Answers model on a supervised basis with pre-trained or trained embeddings and deploys the trained model to the ML Model Service

    answerColName - stringrequired

    Name of the field containing answers

    >= 1 characters

    baseLR - number

    Base learning rate that should be used during training. Reasonable values are from 0.0001 to 0.003 depending on model base. It's better to use lower LR with Transformer models.

    deployModelName - stringrequired

    Name of the model to be used for deployment (must be a valid DNS subdomain with no underscores)

    <= 30 characters

    Match pattern: [a-zA-Z][\-a-zA-Z0-9]*[a-zA-Z0-9]?

    distance - string

    Vectors distance/similarity that should be used during training and in the pipelines. Choose one of: ['cosine_similarity', 'dot_product_similarity', 'euclidean_distance'].

    Default: cosine_similarity

    Allowed values: cosine_similaritydot_product_similarityeuclidean_distance

    embSPDP - number

    Fraction of input to drop with Dropout layer (from 0-1)

    Default: 0.3

    embTrainable - boolean

    Choose this to fine-tune token embeddings during model training. Tends to work well with eCommerce data.

    Default: false

    epochs - integer

    eps - number

    Epsilon is the AdamW optimizer. By default 1e-8 is used for RNN models and 1e-6 is used for Transformer models.

    evalAnnIndex - string

    Choose this to use Approximate Nearest Neighbor search during evaluation. For big datasets it can speed up the evaluation time with minimum loss in accuracy, for small datasets it will most likely make it slower.

    Default: auto

    Allowed values: autotruefalse

    globalPoolType - string

    Determines how token vectors should be aggregated to obtain final content vector. Must be one of: [avg, max, self_attention].

    Default: self_attention

    Allowed values: avgmaxself_attention

    id - stringrequired

    The ID for this job. Used in the API to reference this job. Allowed characters: a-z, A-Z, dash (-) and underscore (_)

    <= 63 characters

    Match pattern: [a-zA-Z][_\-a-zA-Z0-9]*[a-zA-Z0-9]?

    infBatch - integer

    Batch size during validation. If left blank, this will be set automatically based on the input data

    kList - string

    The k retrieval position that will be used to compute for each metric

    Default: [1,3,5]

    lowerCases - boolean

    Whether to lower case all words in training, i.e. whether to treat upper case and lower case words equally. Only utilized for custom embeddings or for the default model base: word_en_300d_2M.

    Default: false

    maxGradNorm - number

    Max norm used for gradients clipping. By default it’s not used for RNN models but 1.0 value is used for Transformer models.

    maxLen - integer

    Maximum length of text processed by the model. Texts longer than this value will be trimmed. This parameter is especially important for Transformer-based models as it affects training and inference time. Note that the maximum supported length for Transformer models is 512, so you can specify any value up to that. The default value is the max value between three times the STD of question lengths and two times the STD of answer lengths.

    maxTokensNum - integer

    Drop document if the total words is greater than this value

    >= 1

    exclusiveMinimum: false

    Default: 5000

    maxVocabSize - integer

    Maximum number of words in vocabulary, words will be trimmed if frequency is too low. Only utilized for custom embeddings or for the default model base: word_en_300d_2M.

    >= 1

    exclusiveMinimum: false

    minLR - number

    Minimum learning rate used during training. Reasonable values are from 0.00001 to 0.00003.

    minTokensNum - integer

    Drop document if the total words is lower than this value

    >= 1

    exclusiveMinimum: false

    Default: 1

    modelBase - stringrequired

    Specify one of these custom embeddings: ['word_custom', 'bpe_custom'] or choose one of the included pre-trained embeddings / models.

    Default: word_en_300d_2M

    Allowed values: word_custombpe_customword_en_300d_2Mbpe_en_300d_10Kbpe_en_300d_200Kbpe_ja_300d_100Kbpe_ko_300d_100Kbpe_zh_300d_50Kbpe_multi_300d_320Kdistilbert_endistilbert_multibiobert_v1.1

    modelReplicas - integerrequired

    How many replicas of the model should be deployed by Seldon Core

    Default: 1

    monitorMetric - string

    The main metric at k that should be monitored to decide when to stop training. Possible metrics are: ["map", "mrr", "recall", "precision"]

    Default: mrr@3

    monitorMetricsList - string

    List of evaluation metrics on validation data that will be printed in the log at the end of each epoch. Possible metrics are: ["map", "mrr", "recall", "precision"]

    Default: ["map", "mrr", "recall"]

    monitorPatience - integer

    Stop training if no improvement in metrics by this number of epochs

    numClusters - integer

    DEPRECATED: please, consider using Milvus for fast dense vector similarity search. Number of clusters to be used for fast dense vector retrieval. Note no clustering will be applied if this is set to 0. If left blank, cluster count will be inferred by the job depending on the data

    Default: 0

    numFlatEpochs - integer

    Number of epochs used in flat stage for learning rates. Reasonable value would be one-half of the epochs, so the other half will be with Cosine Annealing learning rate.

    numWarmUpEpochs - integer

    Number of epochs used for the warm-up stage for learning rates. Reasonable values are from 0-4 epochs, usually 1-2 are used.

    questionColName - stringrequired

    Name of the field containing questions

    >= 1 characters

    readOptions - array[object]

    Options used when reading input from Solr or other sources.

    object attributes:{key required : {
     display name: Parameter Name
     type: string
    }
    value : {
     display name: Parameter Value
     type: string
    }
    }

    rnnNamesList - string

    List of layers of RNNs to be used, with possible values of lstm, gru. E.g. ["lstm", "lstm"]. This value will be automatically decided based on data if left blank

    rnnUnitsList - string

    List of RNN layer units numbers, corresponding to RNN function list. E.g. 150, 150. This value will be automatically decided based on data if left blank

    secretName - string

    Name of the secret used to access cloud storage as defined in the K8s namespace

    >= 1 characters

    sparkConfig - array[object]

    Provide additional key/value pairs to be injected into the training JSON map at runtime. Values will be inserted as-is, so use " to surround string values

    object attributes:{key required : {
     display name: Parameter Name
     type: string
    }
    value : {
     display name: Parameter Value
     type: string
    }
    }

    textsFormat - string

    The format of the texts training data - solr, parquet etc.

    topKClusters - integer

    How many closest clusters the model can find for each query. At retrieval time, all answers in top k nearest clusters will be returned and reranked

    Default: 10

    trainBatch - integer

    Batch size during training. If left blank, this will be set automatically based on the input data

    trainingCollection - stringrequired

    Solr collection or cloud storage path where training data is present.

    >= 1 characters

    trainingDataFilterQuery - string

    Solr or SQL query to filter training data. Use solr query when solr collection is specified in Training Path. Use SQL query when cloud storage location is specified. The table name for SQL is `spark_input`

    trainingFormat - stringrequired

    The format of the training data - solr, parquet etc.

    >= 1 characters

    Default: solr

    trainingSampleFraction - number

    The proportion of data to be sampled from the full dataset. Use a value between 0 and 1 for a proportion (e.g. 0.5 for 50%), or for a specific number of examples, use an integer larger than 1. Leave blank for no sampling

    type - stringrequired

    Default: argo-qna-supervised

    Allowed values: argo-qna-supervised

    unidecode - boolean

    Use Unidecode library to transform Unicode input into ASCII transliterations. Only utilized for custom embeddings or for the default model base: word_en_300d_2M

    Default: true

    useAutoML - boolean

    Automatically tune hyperparameters (will take longer to train). Transformer models aren't used in this regime

    Default: false

    useLabelingResolution - boolean

    Check this to determine similar questions and similar answers via labeling resolution and graph connected components. Does not work well with noisy data like eCommerce queries. But helps with FAQ / QnA data.

    Default: false

    useLayerNorm - boolean

    Check this to use layer norm for pooling.

    Default: false

    useMixedPrecision - string

    Check this option to train a model with mixed precision support.This will only work if the node has a GPU. You'll only see a speed up on newer NVidia GPUs (Turing and later) with Transformer models.

    Default: auto

    Allowed values: autotruefalse

    useXbm - string

    Stores encoded representations of previous batches in memory for better negative examples sampling. Works well for Transformer models. Leave this at 'auto' to let the training module determine this.

    Default: auto

    Allowed values: autotruefalse

    valSize - number

    Proportion of the unique questions that should be used as validation samples. When val_size > 1, then that specific number of unique questions will be sampled rather than a proportion.

    >= 0.001

    exclusiveMinimum: false

    Default: 0.1

    w2vEpochs - integer

    Number of epochs to train custom word2vec embeddings

    Default: 15

    w2vTextColumns - string

    Which fields in the text collection to use. If multiple fields, please separate them by comma, e.g. description_t,title_t.

    w2vTextsCollection - string

    Solr collection or cloud storage path which contains extra documents that will be used to get better vocabulary coverage as well as to train custom word embeddings if custom Model Base is specified.

    w2vVectorSize - integer

    Word-vector dimensionality to represent text (suggested dimension ranges: 100~300)

    Default: 150

    w2vWindowSize - integer

    The window size (context words from [-window, window]) for Word2Vec

    Default: 8

    weightColName - string

    Name of the field to be used for weights

    >= 1 characters

    weightDecay - number

    L2 penalty used in AdamW optimizer. Bigger values will provide stronger regularization. Default values are 0.0003 for RNN models and 0.01 for Transformer models.

    writeOptions - array[object]

    Options used when writing output to Solr or other sources

    object attributes:{key required : {
     display name: Parameter Name
     type: string
    }
    value : {
     display name: Parameter Value
     type: string
    }
    }

    xbmEpochActivation - integer

    After which epoch cross-batch memory should be activated. By default it’s activated after the first epoch for Transformer models.

    xbmMemorySize - integer

    Number of examples from the previous batches that are stored in memory. The default size for Transformer models is 256.