Train a New ModelLucidworks AI
This feature is currently only available to clients who have contracted with Lucidworks for features related to Neural Hybrid Search and Lucidworks AI. |
This topic details how to train a new Lucidworks AI custom model using the Lucidworks AI custom embedding model user interface.
For technical information about parameters and configuration for custom embedding models, see Custom embedding model training.
To train a new custom model, complete the following:
-
In the Lucidworks AI screen, click the Custom Models tab.
-
In the Custom Models screen, click + Train New Model.
-
In the Train New Model screen, review the information about how to generate your service account key. To view an example, click Sample service account key.
-
In the Model Type field, select either General, which is typically used by informational sites or eCommerce for online sales sites.
-
In the Signals Training Data field, enter the location of signals in the training data in Google Cloud Storage (GCS). For configuration information, see Training data query file.
-
In the Catalog Training Data field, enter the location of the catalog of the training data in Google Cloud Storage (GCS). For configuration information, see Training data index file.
-
In the Upload Service Account Key section, click Upload.
If your Google Cloud Storage (GCS) bucket is publicly accessible, the service account key is optional and you can click Continue without entering a key. If you enter a key, it is validated when you click Continue. If the key is not valid, the model cannot be configured. -
Click Continue to configure the model.
Basic model configuration
-
In the Name field, enter the name of the new model.
-
In the Region field, select the region where the model is deployed.
This selection cannot be changed. If you need to train a model in a different region, you need to create another model, specify that other region, and then train the new model. -
Click Continue.
The Guided Entry screen is displayed. If you want to enter a configuration, click Switch to Manual Entry.
Guided entry
-
In Layer 1 of the RNN Layers field:
-
Select the bi-directional recurrent neural network (RNN) layers to use. Options are
gru
andlstm
. -
Select the unit size of the layer.
Layer 2 is optional. If needed, select the RNN and unit.
-
-
In the Text Processor Config field, select the type of tokenization and embedding to be used as the base for the selected RNN layer. Two primary options are word or byte pair encoding (BPE).
-
Click Save & Run to execute the model training. To exit without saving and running the model, click Cancel.
Manual entry
If you click Switch to Manual Entry, the Custom Config field displays.
-
In the Custom Config field, enter the configuration parameters for your custom model.
For detailed information about configuration options for a model, see Custom configuration. -
Click Save & Run to execute the model training. To exit without saving and running the model, click Cancel. To return to creating a model without entering custom configuration, click Switch to Guided Entry.