async function createModel() {
    // Set model name and dataset.
    const myModel = {
      displayName: modelName,
      datasetId: datasetId,
      translationModelMetadata: {},
    };

    // Create a model with the model metadata in the region.
    const [, response] = await client.createModel({
      parent: projectLocation,
      model: myModel,
    });

    console.log('Training operation name: ', response.name);
    console.log('Training started...');
  }
TODO(developer): Uncomment the following line before running the sample.