Bundle CLIP for offline Pipeline.from_pretrained
Browse files- clip.safetensors +3 -0
- mdm_config.json +8 -0
- model_index.json +25 -10
clip.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:431adb635d7a35aaaf5b70acf8738712c6f9ae30d08e17698c6f505c9a686fb8
|
| 3 |
+
size 353470708
|
mdm_config.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
| 1 |
{
|
| 2 |
"model_type": "mdm",
|
|
|
|
| 3 |
"guidance_param": 2.5,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"config": {
|
| 5 |
"dataset": "humanml",
|
| 6 |
"arch": "trans_enc",
|
|
|
|
| 1 |
{
|
| 2 |
"model_type": "mdm",
|
| 3 |
+
"format": "motius-mdm-v2",
|
| 4 |
"guidance_param": 2.5,
|
| 5 |
+
"components": {
|
| 6 |
+
"clip": {
|
| 7 |
+
"name": "ViT-B/32",
|
| 8 |
+
"stored_in_artifact": true,
|
| 9 |
+
"path": "clip.safetensors"
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
"config": {
|
| 13 |
"dataset": "humanml",
|
| 14 |
"arch": "trans_enc",
|
model_index.json
CHANGED
|
@@ -1,23 +1,38 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "MDMPipeline",
|
| 3 |
"_library_name": "motius",
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
|
|
|
| 7 |
"tasks": [
|
| 8 |
"text_to_motion"
|
| 9 |
],
|
| 10 |
"required_files": [
|
| 11 |
-
"Mean.npy",
|
| 12 |
-
"Std.npy",
|
| 13 |
"mdm_config.json",
|
| 14 |
-
"model.safetensors"
|
|
|
|
|
|
|
|
|
|
| 15 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
"api": {
|
| 17 |
"loader": "motius.Pipeline.from_pretrained",
|
| 18 |
"task_methods": [
|
| 19 |
-
"infer_text_to_motion"
|
|
|
|
| 20 |
]
|
| 21 |
-
}
|
| 22 |
-
|
| 23 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "MDMPipeline",
|
| 3 |
"_library_name": "motius",
|
| 4 |
+
"model_type": "mdm",
|
| 5 |
+
"format": "motius-mdm-v2",
|
| 6 |
+
"pipeline_class": "motius.pipelines.mdm.pipeline.MDMPipeline",
|
| 7 |
+
"bundle_class": "motius.models.mdm.bundle.MDMBundle",
|
| 8 |
"tasks": [
|
| 9 |
"text_to_motion"
|
| 10 |
],
|
| 11 |
"required_files": [
|
|
|
|
|
|
|
| 12 |
"mdm_config.json",
|
| 13 |
+
"model.safetensors",
|
| 14 |
+
"clip.safetensors",
|
| 15 |
+
"Mean.npy",
|
| 16 |
+
"Std.npy"
|
| 17 |
],
|
| 18 |
+
"artifacts": {
|
| 19 |
+
"model": "model.safetensors",
|
| 20 |
+
"clip": "clip.safetensors",
|
| 21 |
+
"mean": "Mean.npy",
|
| 22 |
+
"std": "Std.npy"
|
| 23 |
+
},
|
| 24 |
+
"components": {
|
| 25 |
+
"clip": {
|
| 26 |
+
"name": "ViT-B/32",
|
| 27 |
+
"stored_in_artifact": true,
|
| 28 |
+
"path": "clip.safetensors"
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
"api": {
|
| 32 |
"loader": "motius.Pipeline.from_pretrained",
|
| 33 |
"task_methods": [
|
| 34 |
+
"infer_text_to_motion",
|
| 35 |
+
"infer_t2m"
|
| 36 |
]
|
| 37 |
+
}
|
| 38 |
+
}
|
|
|