SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.14795 · 2023

MotionGPT: Human Motion as a Foreign Language

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2306.14795.json · badge: /api/ran/2306.14795.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
openmotionlab/motiongpt canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
FunctionStatusWhere it lives
build_callbacks Ran
ran on a synthesized input
openmotionlab/motiongpt/mGPT/callback.py
code served (permissive licence) · get_code("6b6950756dabbc50")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import os
import tempfile
from unittest.mock import Mock

torch.manual_seed(0)

# Create a minimal logger mock
class MockLogger:
    def info(self, msg):
        pass
    def debug(self, msg):
        pass
    def warning(self, msg):
        pass

# Create a minimal config mock
class MockConfig:
    def __init__(self):
        self.FOLDER_EXP = tempfile.gettempdir()
        self.LOGGER = Mock()
        self.LOGGER.VAL_EVERY_STEPS = 2
        self.METRIC = Mock()
        self.METRIC.TYPE = ['TM2TMetrics', 'UncondMetrics']
        self.TRAIN = Mock()
        self.TRAIN.STAGE = 'diffusion'

# Define ARGS for build_callbacks
ARGS = {
    'cfg': MockConfig(),
    'logger': MockLogger(),
    'phase': 'train',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pytorch_lightning, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
getCheckpointCallback Ran
ran on a synthesized input
openmotionlab/motiongpt/mGPT/callback.py
code served (permissive licence) · get_code("e241774940f0b133")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import logging
from unittest.mock import Mock

# Create a mock logger
logger = logging.getLogger("test_logger")
logger.setLevel(logging.INFO)
handler = logging.StreamHandler()
logger.addHandler(handler)

# Create a mock config object with all required attributes
class MockConfig:
    def __init__(self):
        self.FOLDER_EXP = tempfile.mkdtemp()
        self.LOGGER = Mock()
        self.LOGGER.VAL_EVERY_STEPS = 5
        self.METRIC = Mock()
        self.METRIC.TYPE = ['TemosMetric', 'TM2TMetrics']
        self.TRAIN = Mock()
        self.TRAIN.STAGE = 'diffusion'

cfg = MockConfig()

ARGS = {
    'cfg': cfg,
    'logger': logger
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pytorch_lightning — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_obj_from_str Ran
ran; our contract draft was wrong, not the code
openmotionlab/motiongpt/mGPT/config.py
code served (permissive licence) · get_code("9877bd3cecd6081f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned type. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import importlib
import torch

# The function get_obj_from_str takes a string in the format "module.ClassName"
# and returns the class object. It also has an optional reload parameter.

# We need to construct valid arguments:
# 1. string: A valid module path string like "torch.nn.Module" or similar
# 2. reload: A boolean indicating whether to reload the module

# Let's use a real, importable class from a standard library
ARGS = {
    "string": "torch.nn.Linear",
    "reload": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_and_remove_chumpy_dep Ran
ran on a synthesized input
openmotionlab/motiongpt/prepare/merge_smplh_mano.py
code served (permissive licence) · get_code("caf019444a46328d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pickle
import tempfile
import os
import numpy as np

# Create a temporary pickle file with test data
temp_dir = tempfile.mkdtemp()
test_path = os.path.join(temp_dir, "test_data.pkl")

# Create sample data dictionary (simulating what would be loaded from pickle)
test_data = {
    'array_key': np.array([1, 2, 3, 4]),
    'scalar_key': 42,
    'string_key': 'test_string',
    'nested_key': {'inner': np.array([5, 6, 7])}
}

# Write to pickle file
with open(test_path, 'wb') as f:
    pickle.dump(test_data, f)

ARGS = {
    'path': test_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_args Ran
ran; our contract draft was wrong, not the code
openmotionlab/motiongpt/render.py
code served (permissive licence) · get_code("e80c033b31c865ac")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Namespace. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import sys
from argparse import ArgumentParser, Namespace

class MockParser:
    """Stand-in ArgumentParser with parse_args_bak method"""
    def __init__(self):
        self.parser = ArgumentParser()
        self.parser.add_argument('--test', default='value')
    
    def parse_args_bak(self, args=None, namespace=None):
        """Mock implementation of parse_args_bak"""
        return self.parser.parse_args(args=args, namespace=namespace)

# Create instance
parser_instance = MockParser()

# Define arguments for parse_args
ARGS = {
    'self': parser_instance,
    'args': None,
    'namespace': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
remove_chumpy_dep Ran
ran on a synthesized input
openmotionlab/motiongpt/prepare/merge_smplh_mano.py
code served (permissive licence) · get_code("09694aa91bbe4c81")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a mock chumpy array-like object for testing
class MockChumpyArray:
    def __init__(self, data):
        self.data = np.array(data)
    
    def __array__(self):
        return self.data

# Create a test dictionary with mixed types
test_dict = {
    'chumpy_value': MockChumpyArray([1.0, 2.0, 3.0]),
    'numpy_value': np.array([4.0, 5.0, 6.0]),
    'regular_int': 42,
    'regular_string': 'hello',
    'regular_list': [1, 2, 3],
    'nested_dict': {'inner': 'value'},
    'another_chumpy': MockChumpyArray([[1, 2], [3, 4]])
}

ARGS = {
    'dico': test_dict
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_module_config Not yet run
unverified (harvested, no recorded run)
openmotionlab/motiongpt/mGPT/config.py
code served (permissive licence) · get_code("1785dd97dc89b367")
How it ran

no invocation recorded.

instantiate_from_config Not yet run
unverified (harvested, no recorded run)
openmotionlab/motiongpt/mGPT/config.py
code served (permissive licence) · get_code("4c5959826374192f")
How it ran

no invocation recorded.

load_npz_into_dict Not yet run
unverified (harvested, no recorded run)
openmotionlab/motiongpt/prepare/merge_smplh_mano.py
code served (permissive licence) · get_code("6981c5dbb9382f84")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 3 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_obj_from_str 54 other papers
10 dated earlier, 43 later, 1 same year, order not determinable · 12 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
and 51 more not named here
instantiate_from_config 13 other papers
2 dated earlier, 11 later · 1 only as an assembly brick
2112.00384 (2021-12)
Exploration into Translation-Equivariant Image Quantization
2301.13670 (2023-01)
What Makes Good Examples for Visual In-Context Learning?
2310.03502 (2023-10)
Kandinsky: an Improved Text-to-Image Synthesis with Image Prior and Latent Diffusion
and 10 more not named here
parse_args 2 other papers
2 later
2311.01015 (2023-11)
Act As You Wish: Fine-Grained Control of Motion Diffusion Model with Hierarchical Semantic Graphs
2404.09445 (2024-04)
Exploring Text-to-Motion Generation with Human Preference

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Though the advancement of pre-trained large language models unfolds, the exploration of building a unified model for language and other multi-modal data, such as motion, remains challenging and untouched so far. Fortunately, human motion displays a semantic coupling akin to human language, often perceived as a form of body language. By fusing language data with large-scale motion models, motion-language pre-training that can enhance the performance of motion-related tasks becomes feasible. Driven by this insight, we propose MotionGPT, a unified, versatile, and user-friendly motion-language model to handle multiple motion-relevant tasks. Specifically, we employ the discrete vector quantization for human motion and transfer 3D motion into motion tokens, similar to the generation process of word tokens. Building upon this "motion vocabulary", we perform language modeling on both motion and text in a unified manner, treating human motion as a specific language. Moreover, inspired by prompt learning, we pre-train MotionGPT with a mixture of motion-language data and fine-tune it on prompt-based question-and-answer tasks. Extensive experiments demonstrate that MotionGPT achieves state-of-the-art performances on multiple motion tasks including text-driven motion generation, motion captioning, motion prediction, and motion in-between.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2306.14795")
get_code_for_paper("2306.14795")
have("2306.14795")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2306.14795.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2306.14795.svg)](https://syntology.ai/paper/2306.14795)

Connect an agent — have() is free.