public class TrainAcousticModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
TrainAcousticModelOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
customizationId()
Gets the customizationId.
|
String |
customLanguageModelId()
Gets the customLanguageModelId.
|
TrainAcousticModelOptions.Builder |
newBuilder()
New builder.
|
Boolean |
strict()
Gets the strict.
|
public TrainAcousticModelOptions.Builder newBuilder()
public String customizationId()
The customization ID (GUID) of the custom acoustic model that is to be used for the request. You must make the request with credentials for the instance of the service that owns the custom model.
public String customLanguageModelId()
The customization ID (GUID) of a custom language model that is to be used during training of the custom acoustic model. Specify a custom language model that has been trained with verbatim transcriptions of the audio resources or that contains words that are relevant to the contents of the audio resources. The custom language model must be based on the same version of the same base model as the custom acoustic model, and the custom language model must be fully trained and available. The credentials specified with the request must own both custom models.
public Boolean strict()
If `false`, allows training of the custom acoustic model to proceed as long as the model contains at least one valid audio resource. The method returns an array of `TrainingWarning` objects that lists any invalid resources. By default (`true`), training of a custom acoustic model fails (status code 400) if the model contains one or more invalid audio resources.
Copyright © 2023 IBM Cloud. All rights reserved.