ion from data.&#34;
            )
            name = FASTTEXT
        U.vprint(&#34;Is Multi-Label? %s&#34; % (multilabel), verbose=verbose)

        # set metrics
        if multilabel and metrics is None:
            metrics = [&#34;binary_accuracy&#34;]
        elif metrics is None:
            metrics = [&#34;accuracy&#34;]

        # set loss and activations
        loss_func = &#34;categorical_crossentropy&#34;
        activation = &#34;softmax&#34;
        if multilabel:
            loss_func = &#34;