您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

训练模型Train a model

对模型进行训练是用于生成翻译模型的重要步骤,因为不进行训练便无法生成模型。Training a model is the important step to building a translation model, because without a training, model can't be built. 训练将根据你选择用于训练的文档进行。Training happens based on documents you select for the trainings.

若要训练模型,请执行以下操作:To train a model:

  1. 选择要在其中生成模型的项目。Select the project where you want to build a model.

  2. 项目的“数据”选项卡将显示项目语言对的所有相关文档。The Data tab for the project will show all the relevant documents for the project language pair. 手动选择要用来训练模型的文档。Manually select the documents you want to use to train your model. 可以从此屏幕选择训练、优化和测试文档。You can select training, tuning, and testing documents from this screen. 另外,你只需要选择训练集并让自定义翻译为你创建优化和测试集。Also you just select the training set and have Custom Translator create the tuning and test sets for you.

    • 文档名:文档的名称。Document name: Name of the document.

    • 配对:如果此文档是一个并行或多语言文档。Pairing: If this document is a parallel or monolingual document. 通常不支持使用多语言文档进行训练。Monolingual documents are currently not supported for training.

    • 文档类型:可以是训练、优化、测试或字典。Document type: Can be training, tuning, testing, or dictionary.

    • 语言对:这显示项目的源和目标语言。Language pair: This show the source and target language for the project.

    • 源语句:显示从源文件中提取的语句的数量。Source sentences: Shows the number of sentences extracted from the source file.

    • 目标语句:显示从目标文件中提取的语句的数量。Target sentences: Shows the number of sentences extracted from the target file.

    训练模型

  3. 单击“训练”按钮。Click Train button.

  4. 在对话框中,为你的模型指定一个名称。On the dialog, specify a name for your model.

  5. 单击“训练模型”。Click Train model.

    “训练模型”对话框

  6. 自定义翻译将提交训练,并在“模型”选项卡中显示训练状态。Custom Translator will submit the training, and show the status of the training in the models tab.

    “训练模型”页面

备注

自定义转换器在某个时间点在工作区中支持10个并发培训。Custom Translator supports 10 concurrent trainings within a workspace at any point in time.

编辑模型Edit a model

可以使用“模型详细信息”页面上的“编辑”链接来编辑模型。You can edit a model using the Edit link on the Model Details page.

  1. 单击铅笔图标。Click on the Pencil icon.

    编辑模型

  2. 在对话框中,更改In the dialog change,

    1. 模型名称(必需):为模型提供一个有意义的名称。Model Name (required): Give your model a meaningful name.

      “编辑模型”对话框

  3. 单击“保存”。Click Save.

后续步骤Next steps