You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/how-to-custom-speech-train-model.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ To create a model with datasets for training, use the `spx csr model create` com
63
63
- Set the required `dataset` parameter to the ID of a dataset that you want used for training. To specify multiple datasets, set the `datasets` (plural) parameter and separate the IDs with a semicolon.
64
64
- Set the required `language` parameter. The dataset locale must match the locale of the project. The locale can't be changed later. The Speech CLI `language` parameter corresponds to the `locale` property in the JSON request and response.
65
65
- Set the required `name` parameter. This is the name that will be displayed in the Speech Studio. The Speech CLI `name` parameter corresponds to the `displayName` property in the JSON request and response.
66
-
- Optionally, you can set the `baseModel` parameter. If you don't specify the `baseModel`, the default base model for the locale is used.
66
+
- Optionally, you can set the `base` property. For example: `--base 1aae1070-7972-47e9-a977-87e3b05c457d`. If you don't specify the `base`, the default base model for the locale is used.
67
67
68
68
Here's an example Speech CLI command that creates a model with datasets for training:
69
69
@@ -72,7 +72,7 @@ spx csr model create --project YourProjectId --name "My Model" --description "My
72
72
```
73
73
74
74
> [!NOTE]
75
-
> In this example, the `baseModel` isn't set, so the default base model for the locale is used. The base model URI is returned in the response.
75
+
> In this example, the `base` isn't set, so the default base model for the locale is used. The base model URI is returned in the response.
76
76
77
77
You should receive a response body in the following format:
78
78
@@ -132,7 +132,7 @@ To create a model with datasets for training, use the [CreateModel](https://east
132
132
- Set the required `datasets` property to the URI of the datasets that you want used for training.
133
133
- Set the required `locale` property. The model locale must match the locale of the project and base model. The locale can't be changed later.
134
134
- Set the required `displayName` property. This is the name that will be displayed in the Speech Studio.
135
-
- Optionally, you can set the `baseModel` property. If you don't specify the `baseModel`, the default base model for the locale is used.
135
+
- Optionally, you can set the `baseModel` property. For example: `"baseModel": {"self": "https://eastus.api.cognitive.microsoft.com/speechtotext/v3.0/models/base/1aae1070-7972-47e9-a977-87e3b05c457d"}`. If you don't specify the `baseModel`, the default base model for the locale is used.
136
136
137
137
Make an HTTP POST request using the URI as shown in the following example. Replace `YourSubscriptionKey` with your Speech resource key, replace `YourServiceRegion` with your Speech resource region, and set the request body properties as previously described.
0 commit comments