Normalize Motius Pipeline.from_pretrained metadata
Browse files- README.md +8 -0
- model_index.json +23 -1
README.md
CHANGED
|
@@ -139,3 +139,11 @@ in this public package.
|
|
| 139 |
year={2023}
|
| 140 |
}
|
| 141 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
year={2023}
|
| 140 |
}
|
| 141 |
```
|
| 142 |
+
|
| 143 |
+
## Direct Loading
|
| 144 |
+
|
| 145 |
+
```python
|
| 146 |
+
from motius import Pipeline
|
| 147 |
+
|
| 148 |
+
pipeline = Pipeline.from_pretrained("ZeyuLing/Motius-MotionGPT-HumanML3D")
|
| 149 |
+
```
|
model_index.json
CHANGED
|
@@ -5,5 +5,27 @@
|
|
| 5 |
"format": "motius-motiongpt-artifact-v1",
|
| 6 |
"bundle_class": "motius.models.motiongpt.MotionGPTBundle",
|
| 7 |
"pipeline_class": "motius.pipelines.motiongpt.MotionGPTPipeline",
|
| 8 |
-
"api":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
|
|
|
| 5 |
"format": "motius-motiongpt-artifact-v1",
|
| 6 |
"bundle_class": "motius.models.motiongpt.MotionGPTBundle",
|
| 7 |
"pipeline_class": "motius.pipelines.motiongpt.MotionGPTPipeline",
|
| 8 |
+
"api": {
|
| 9 |
+
"loader": "motius.Pipeline.from_pretrained",
|
| 10 |
+
"task_methods": [
|
| 11 |
+
"infer_text_to_motion",
|
| 12 |
+
"infer_motion_to_text"
|
| 13 |
+
]
|
| 14 |
+
},
|
| 15 |
+
"format_version": 1,
|
| 16 |
+
"tasks": [
|
| 17 |
+
"text_to_motion",
|
| 18 |
+
"motion_to_text"
|
| 19 |
+
],
|
| 20 |
+
"required_files": [
|
| 21 |
+
"assets/meta/mean.npy",
|
| 22 |
+
"assets/meta/std.npy",
|
| 23 |
+
"deps/flan-t5-base/config.json",
|
| 24 |
+
"deps/flan-t5-base/generation_config.json",
|
| 25 |
+
"deps/flan-t5-base/special_tokens_map.json",
|
| 26 |
+
"deps/flan-t5-base/spiece.model",
|
| 27 |
+
"deps/flan-t5-base/tokenizer.json",
|
| 28 |
+
"deps/flan-t5-base/tokenizer_config.json",
|
| 29 |
+
"motiongpt_s3_h3d.tar"
|
| 30 |
+
]
|
| 31 |
}
|