← 返回命令列表

Linux command

kaggle-models 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

List models

kaggle models list

Get model details

kaggle models get -m [owner/model-name]

Initialize model metadata

kaggle models init -p [path]

Create a new model

kaggle models create -p [path]

Download model instance version

kaggle models instances versions download -m [owner/model/framework/instance] -v [version]

说明

kaggle models manages Kaggle machine learning models from the command line. Part of the Kaggle CLI, it provides access to pre-trained models and allows publishing custom models for the community. The command hierarchy has three levels: models (top-level repositories), instances (specific framework implementations), and instance versions (versioned snapshots). The shorthand kaggle m can be used instead of kaggle models.

参数

list
List available models.
get -m _model_
Get model details.
init
Initialize model metadata.
create
Create new model.
update
Update an existing model.
delete
Delete a model.
instances
Manage model instances (get, init, create, update, delete, files).
instances versions
Manage model instance versions (create, download, delete, files).

FAQ

What is the kaggle-models command used for?

kaggle models manages Kaggle machine learning models from the command line. Part of the Kaggle CLI, it provides access to pre-trained models and allows publishing custom models for the community. The command hierarchy has three levels: models (top-level repositories), instances (specific framework implementations), and instance versions (versioned snapshots). The shorthand kaggle m can be used instead of kaggle models.

How do I run a basic kaggle-models example?

Run `kaggle models list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list do in kaggle-models?

List available models.