Feature Extraction
Transformers
Safetensors
English
minpair
text-to-motion
motion-generation
human-motion
diffusion
smpl-h
custom_code
Instructions to use lschiweck/MinPair with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lschiweck/MinPair with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="lschiweck/MinPair", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lschiweck/MinPair", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download examples/leg_height.json from lschiweck/MinPair: direct link, hf CLI and curl.
- Browser
- Download file 7.62 kB
-
https://huggingface.co/lschiweck/MinPair/resolve/main/examples/leg_height.json
- Command line
-
hf download hf://lschiweck/MinPair/examples/leg_height.json
-
curl -L -o leg_height.json https://huggingface.co/lschiweck/MinPair/resolve/main/examples/leg_height.json
7.62 kB
| { | |
| "about": "Part caption of a held-out test clip. Only the height word of the left leg changes (it appears in the lift sentence and in the landing sentence); all motions share the same noise seed.", | |
| "values": [ | |
| "ankle", | |
| "knee", | |
| "hip" | |
| ], | |
| "measure": { | |
| "side": "left", | |
| "start": 1.5, | |
| "end": 3.0 | |
| }, | |
| "prompt": { | |
| "caption": "A person stands, walks, wobbles, turns right, and stands again.", | |
| "segments": [ | |
| { | |
| "track": "action", | |
| "start": 0.0, | |
| "end": 0.19, | |
| "text": "stand" | |
| }, | |
| { | |
| "track": "action", | |
| "start": 0.19, | |
| "end": 0.419, | |
| "text": "unknown" | |
| }, | |
| { | |
| "track": "action", | |
| "start": 0.419, | |
| "end": 1.377, | |
| "text": "walk" | |
| }, | |
| { | |
| "track": "action", | |
| "start": 1.377, | |
| "end": 3.669, | |
| "text": "wobble" | |
| }, | |
| { | |
| "track": "action", | |
| "start": 3.669, | |
| "end": 4.044, | |
| "text": "turn right" | |
| }, | |
| { | |
| "track": "action", | |
| "start": 4.044, | |
| "end": 4.542, | |
| "text": "stand" | |
| }, | |
| { | |
| "track": "left_arm", | |
| "start": 0.0, | |
| "end": 0.8, | |
| "text": "The left arm remains raised diagonally backward at hip height with minimal movement." | |
| }, | |
| { | |
| "track": "left_arm", | |
| "start": 0.8, | |
| "end": 1.5, | |
| "text": "The left arm stays at hip height while moving slowly relative to the shoulder." | |
| }, | |
| { | |
| "track": "left_arm", | |
| "start": 1.5, | |
| "end": 2.2, | |
| "text": "The left arm swings out to the side, rising from hip height to waist-to-chest level." | |
| }, | |
| { | |
| "track": "left_arm", | |
| "start": 2.2, | |
| "end": 3.0, | |
| "text": "The left arm lowers from waist-to-chest level back to hip height while moving moderately." | |
| }, | |
| { | |
| "track": "left_arm", | |
| "start": 3.0, | |
| "end": 3.8, | |
| "text": "The left arm remains at hip height with slow motion relative to the shoulder." | |
| }, | |
| { | |
| "track": "left_arm", | |
| "start": 3.8, | |
| "end": 4.5, | |
| "text": "The left arm stays at hip height with slow motion relative to the shoulder." | |
| }, | |
| { | |
| "track": "right_arm", | |
| "start": 0.0, | |
| "end": 0.8, | |
| "text": "The right arm hangs down at hip height with minimal movement." | |
| }, | |
| { | |
| "track": "right_arm", | |
| "start": 0.8, | |
| "end": 1.5, | |
| "text": "The right arm swings backward, rising to hip height with moderate then slow motion." | |
| }, | |
| { | |
| "track": "right_arm", | |
| "start": 1.5, | |
| "end": 2.2, | |
| "text": "The right arm remains at hip height with slow motion relative to the shoulder." | |
| }, | |
| { | |
| "track": "right_arm", | |
| "start": 2.2, | |
| "end": 3.0, | |
| "text": "The right arm swings backward again, staying at hip height with slow to moderate motion." | |
| }, | |
| { | |
| "track": "right_arm", | |
| "start": 3.0, | |
| "end": 3.8, | |
| "text": "The right arm lowers to hip height with moderate motion that becomes still and then slow." | |
| }, | |
| { | |
| "track": "right_arm", | |
| "start": 3.8, | |
| "end": 4.5, | |
| "text": "The right arm raises from hip height to waist-to-chest level with increasing speed." | |
| }, | |
| { | |
| "track": "left_leg", | |
| "start": 0.0, | |
| "end": 0.8, | |
| "text": "The left foot remains on the ground with moderate ankle motion." | |
| }, | |
| { | |
| "track": "left_leg", | |
| "start": 0.8, | |
| "end": 1.5, | |
| "text": "The left foot stays on the ground with minimal ankle motion." | |
| }, | |
| { | |
| "track": "left_leg", | |
| "start": 1.5, | |
| "end": 2.2, | |
| "text": "The left leg lifts from the ground to {} height with fast ankle motion." | |
| }, | |
| { | |
| "track": "left_leg", | |
| "start": 2.2, | |
| "end": 3.0, | |
| "text": "The left foot lands from {} height to the ground with fast then still ankle motion." | |
| }, | |
| { | |
| "track": "left_leg", | |
| "start": 3.0, | |
| "end": 3.8, | |
| "text": "The left foot remains on the ground with increasing ankle motion speed." | |
| }, | |
| { | |
| "track": "left_leg", | |
| "start": 3.8, | |
| "end": 4.5, | |
| "text": "The left foot stays on the ground with moderate then still ankle motion." | |
| }, | |
| { | |
| "track": "right_leg", | |
| "start": 0.0, | |
| "end": 0.8, | |
| "text": "The right foot remains on the ground with minimal ankle motion." | |
| }, | |
| { | |
| "track": "right_leg", | |
| "start": 0.8, | |
| "end": 1.5, | |
| "text": "The right leg lifts from the ground to ankle height with fast ankle motion." | |
| }, | |
| { | |
| "track": "right_leg", | |
| "start": 1.5, | |
| "end": 2.2, | |
| "text": "The right foot lands from ankle height to the ground with fast then still ankle motion." | |
| }, | |
| { | |
| "track": "right_leg", | |
| "start": 2.2, | |
| "end": 3.0, | |
| "text": "The right foot remains on the ground with increasing ankle motion speed." | |
| }, | |
| { | |
| "track": "right_leg", | |
| "start": 3.0, | |
| "end": 3.8, | |
| "text": "The right foot stays on the ground with fast then still ankle motion." | |
| }, | |
| { | |
| "track": "right_leg", | |
| "start": 3.8, | |
| "end": 4.5, | |
| "text": "The right foot remains on the ground with still then moderate ankle motion." | |
| }, | |
| { | |
| "track": "spine", | |
| "start": 0.0, | |
| "end": 0.8, | |
| "text": "The torso remains upright with slight twisting relative to the hips." | |
| }, | |
| { | |
| "track": "spine", | |
| "start": 0.8, | |
| "end": 1.5, | |
| "text": "The torso bends slightly forward then returns to upright with twisting." | |
| }, | |
| { | |
| "track": "spine", | |
| "start": 1.5, | |
| "end": 2.2, | |
| "text": "The torso remains upright with slight twisting relative to the hips." | |
| }, | |
| { | |
| "track": "spine", | |
| "start": 2.2, | |
| "end": 3.0, | |
| "text": "The torso remains upright with minimal twisting relative to the hips." | |
| }, | |
| { | |
| "track": "spine", | |
| "start": 3.0, | |
| "end": 3.8, | |
| "text": "The torso remains upright with slight twisting relative to the hips." | |
| }, | |
| { | |
| "track": "spine", | |
| "start": 3.8, | |
| "end": 4.5, | |
| "text": "The torso remains upright with slight twisting relative to the hips." | |
| }, | |
| { | |
| "track": "head", | |
| "start": 0.0, | |
| "end": 0.8, | |
| "text": "The head turns slowly while tilting downward." | |
| }, | |
| { | |
| "track": "head", | |
| "start": 0.8, | |
| "end": 1.5, | |
| "text": "The head turns fast then slowly while tilting further downward." | |
| }, | |
| { | |
| "track": "head", | |
| "start": 1.5, | |
| "end": 2.2, | |
| "text": "The head turns slowly while tilting upward." | |
| }, | |
| { | |
| "track": "head", | |
| "start": 2.2, | |
| "end": 3.0, | |
| "text": "The head turns fast then slowly while tilting upward." | |
| }, | |
| { | |
| "track": "head", | |
| "start": 3.0, | |
| "end": 3.8, | |
| "text": "The head turns slowly while tilting upward." | |
| }, | |
| { | |
| "track": "head", | |
| "start": 3.8, | |
| "end": 4.5, | |
| "text": "The head turns slowly while tilting upward." | |
| }, | |
| { | |
| "track": "trajectory", | |
| "start": 0.0, | |
| "end": 0.8, | |
| "text": "The pelvis moves from still to moderate speed, staying within a step." | |
| }, | |
| { | |
| "track": "trajectory", | |
| "start": 0.8, | |
| "end": 1.5, | |
| "text": "The pelvis moves moderately then slowly, staying within a step to the left." | |
| }, | |
| { | |
| "track": "trajectory", | |
| "start": 1.5, | |
| "end": 2.2, | |
| "text": "The pelvis moves moderately then slowly, staying within a step to the left." | |
| }, | |
| { | |
| "track": "trajectory", | |
| "start": 2.2, | |
| "end": 3.0, | |
| "text": "The pelvis moves moderately, traveling about one step to the left." | |
| }, | |
| { | |
| "track": "trajectory", | |
| "start": 3.0, | |
| "end": 3.8, | |
| "text": "The pelvis moves moderately then slowly, staying within a step to the left while turning about 25 degrees right." | |
| }, | |
| { | |
| "track": "trajectory", | |
| "start": 3.8, | |
| "end": 4.5, | |
| "text": "The pelvis moves slowly then still, staying within a step while turning about 45 degrees right." | |
| } | |
| ], | |
| "duration": 4.542, | |
| "num_frames": 90, | |
| "seed": 1192144914 | |
| } | |
| } | |