@huggingface/tasks
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -40,8 +40,9 @@ /** | ||
"stable-baselines3" = "Stable-Baselines3", | ||
"ml-agents" = "ML-Agents", | ||
"ml-agents" = "Unity ML-Agents", | ||
"pythae" = "Pythae", | ||
"mindspore" = "MindSpore" | ||
"mindspore" = "MindSpore", | ||
"unity-sentis" = "Unity Sentis" | ||
} | ||
type ModelLibraryKey = keyof typeof ModelLibrary; | ||
declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("speechbrain" | "fastai" | "adapter-transformers" | "allennlp" | "asteroid" | "bertopic" | "diffusers" | "doctr" | "espnet" | "fairseq" | "flair" | "keras" | "k2" | "mlx" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "sample-factory" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "tensorflowtts" | "timm" | "transformers" | "transformers.js" | "stanza" | "fasttext" | "stable-baselines3" | "ml-agents" | "pythae" | "mindspore")[]; | ||
declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("speechbrain" | "fastai" | "adapter-transformers" | "allennlp" | "asteroid" | "bertopic" | "diffusers" | "doctr" | "espnet" | "fairseq" | "flair" | "keras" | "k2" | "mlx" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "sample-factory" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "tensorflowtts" | "timm" | "transformers" | "transformers.js" | "stanza" | "fasttext" | "stable-baselines3" | "ml-agents" | "pythae" | "mindspore" | "unity-sentis")[]; | ||
@@ -48,0 +49,0 @@ declare const MODALITIES: readonly ["cv", "nlp", "audio", "tabular", "multimodal", "rl", "other"]; |
{ | ||
"name": "@huggingface/tasks", | ||
"packageManager": "pnpm@8.10.5", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "List of ML tasks for huggingface.co/tasks", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/huggingface/huggingface.js.git", |
@@ -544,2 +544,10 @@ import type { ModelData } from "./model-data"; | ||
const sentis = (model: ModelData) => [ | ||
`string modelName = "[Your model name here].sentis"; | ||
Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName); | ||
IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model); | ||
// Please see provided C# file for more details | ||
` | ||
]; | ||
const mlx = (model: ModelData) => [ | ||
@@ -774,6 +782,12 @@ `pip install huggingface_hub hf_transfer | ||
repoName: "ml-agents", | ||
repoUrl: "https://github.com/huggingface/ml-agents", | ||
repoUrl: "https://github.com/Unity-Technologies/ml-agents", | ||
docsUrl: "https://huggingface.co/docs/hub/ml-agents", | ||
snippets: mlAgents, | ||
}, | ||
"unity-sentis": { | ||
btnLabel: "unity-sentis", | ||
repoName: "unity-sentis", | ||
repoUrl: "https://github.com/Unity-Technologies/sentis-samples", | ||
snippets: sentis, | ||
}, | ||
pythae: { | ||
@@ -780,0 +794,0 @@ btnLabel: "pythae", |
@@ -40,5 +40,6 @@ /** | ||
"stable-baselines3" = "Stable-Baselines3", | ||
"ml-agents" = "ML-Agents", | ||
"ml-agents" = "Unity ML-Agents", | ||
"pythae" = "Pythae", | ||
"mindspore" = "MindSpore", | ||
"unity-sentis" = "Unity Sentis", | ||
} | ||
@@ -45,0 +46,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
778588
91
17015