Skip to content

Commit fc3a01c

Browse files
remove task and add dedicated field to the models manifest
1 parent f8fc142 commit fc3a01c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

modus/app-manifest.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ The `models` object in the app manifest allows you to easily define models, whet
243243
{
244244
"models": {
245245
"sentiment-classifier": {
246-
"task": "classification",
247246
"sourceModel": "distilbert/distilbert-base-uncased-finetuned-sst-2-english",
248247
"provider": "hugging-face",
249248
"host": "hypermode"
@@ -256,11 +255,6 @@ Each model requires a unique name, specified as a key, containing only alphanume
256255

257256
### Models Properties
258257

259-
<ResponseField name="task" type="string" required>
260-
Training intent of the model. Currently, must be one of: `classification`,
261-
`embedding`, or `generation`.
262-
</ResponseField>
263-
264258
<ResponseField name="sourceModel" type="string" required>
265259
Original relative path of the model within the provider's repository.
266260
</ResponseField>
@@ -278,6 +272,10 @@ Each model requires a unique name, specified as a key, containing only alphanume
278272

279273
</ResponseField>
280274

275+
<ResponseField name="dedicated" type="boolean" optional>
276+
Whether to have the model be dedicated to the project, or shared. Only relevant for Hypermode-hosted models.
277+
</ResponseField>
278+
281279
### Auto-deployed models
282280

283281
When using `hugging-face` as the `provider` and `hypermode` as the `host`, Hypermode automatically deploys a dedicated

0 commit comments

Comments
 (0)