| Crates.io | modelscope |
| lib.rs | modelscope |
| version | 0.1.3 |
| created_at | 2025-09-11 10:07:52.17787+00 |
| updated_at | 2026-01-11 10:44:09.584813+00 |
| description | A command-line interface tool for downloading models from Modelscope, which can also be used as a library |
| homepage | |
| repository | https://github.com/xgpxg/modelscope |
| max_upload_size | |
| id | 1833615 |
| size | 130,976 |
A CLI tool for downloading models from Modelscope.
Features:
Supported OS:
You can install it in one of the following ways:
cargo install modelscope
modelscope download -m <MODEL_ID> -s <SAVE_DIR>

Usage: modelscope <COMMAND>
Commands:
download Download model
login Login to modelscope use your token
logout Logout
list List all local models
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Add crate:
cargo add modelscope
Example:
use modelscope::ModelScope;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let model_id = "Qwen/Qwen3-0.6B";
let save_dir = "./data";
ModelScope::download(model_id, save_dir).await?;
Ok(())
}