@huggingface/tasks
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -19,2 +19,3 @@ /** | ||
"k2" = "K2", | ||
"mlx" = "mlx", | ||
"nemo" = "NeMo", | ||
@@ -21,0 +22,0 @@ "open_clip" = "OpenCLIP", |
{ | ||
"name": "@huggingface/tasks", | ||
"packageManager": "pnpm@8.10.5", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "List of ML tasks for huggingface.co/tasks", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/huggingface/huggingface.js.git", |
@@ -544,2 +544,9 @@ import type { ModelData } from "./model-data"; | ||
const mlx = (model: ModelData) => [ | ||
`pip install huggingface_hub hf_transfer | ||
export HF_HUB_ENABLE_HF_TRANSFER=1 | ||
huggingface-cli download --local-dir ${nameWithoutNamespace(model.id)} ${model.id}`, | ||
]; | ||
const nemo = (model: ModelData) => { | ||
@@ -625,2 +632,8 @@ let command: string[] | undefined = undefined; | ||
}, | ||
mlx: { | ||
btnLabel: "MLX", | ||
repoName: "MLX", | ||
repoUrl: "https://github.com/ml-explore/mlx-examples/tree/main", | ||
snippets: mlx, | ||
}, | ||
nemo: { | ||
@@ -627,0 +640,0 @@ btnLabel: "NeMo", |
@@ -19,2 +19,3 @@ /** | ||
"k2" = "K2", | ||
"mlx" = "mlx", | ||
"nemo" = "NeMo", | ||
@@ -21,0 +22,0 @@ "open_clip" = "OpenCLIP", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
774554
16961