Skip to main content

XLM Framework

Project description

XLM is a unified framework for developing and comparing small non-autoregressive language models. It uses PyTorch as the deep learning framework, PyTorch Lightning for training utilities, and Hydra for configuration management. XLM provides core components for flexible data handling and training, useful architectural implementations for non-autoregressive workflows, and support for arbitrary runtime code injection. Custom model implementations that leverage the core components of xlm can be found in the xlm-models package. The package also includes a few preconfigured synthetic planning and language-modeling datasets.

Usage:

pip install xlm-core pip install “xlm-core[safe]” # optional: SAFE molecule preprocessing / evaluators pip install “xlm-core[molgen]” # optional: fuller GenMol / Biomemo stack (molgen_requirements.txt) pip install “xlm-core[llm_eval]” # optional: ANTLR build of math-verify (LLM benchmarks) pip install “xlm-core[mauve]” # optional: MAUVE post-hoc text evaluation (mauve-text) pip install “xlm-core[all]” # union of safe + molgen + llm_eval + mauve (used in CI) xlm job_type=[JOB_TYPE] job_name=[JOB_NAME] experiment=[CONFIG_PATH]

The job_type argument can be one of train ,eval and generate. The experiment argument should point to the root hydra config file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xlm_core-0.3.0a0.tar.gz (441.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xlm_core-0.3.0a0-py3-none-any.whl (537.3 kB view details)

Uploaded Python 3

File details

Details for the file xlm_core-0.3.0a0.tar.gz.

File metadata

  • Download URL: xlm_core-0.3.0a0.tar.gz
  • Upload date:
  • Size: 441.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for xlm_core-0.3.0a0.tar.gz
Algorithm Hash digest
SHA256 2ac9710616eb315a05490302e3ee28874d729a5af0fe911ff3a444330d80f9b5
MD5 f7a99e5f721488c16a2445cd7b6fd8d5
BLAKE2b-256 cc582203ed5fbc7ced5c6835b525a1d96883183c0e83dd3ebe89b88ed766f804

See more details on using hashes here.

File details

Details for the file xlm_core-0.3.0a0-py3-none-any.whl.

File metadata

  • Download URL: xlm_core-0.3.0a0-py3-none-any.whl
  • Upload date:
  • Size: 537.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for xlm_core-0.3.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3031a6d3683a5860dd5459d621672f72d1e8a21bae541c33a88babe06811be6
MD5 0f9aef9a68b6acc23c86f0f01a2230a2
BLAKE2b-256 ecdf8d23be898ab8e014313cad39ecb804e1b258a515c11ec96ef46b0529457c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page