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

Command usage:

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.1.1.tar.gz (125.5 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.1.1-py3-none-any.whl (179.9 kB view details)

Uploaded Python 3

File details

Details for the file xlm_core-0.1.1.tar.gz.

File metadata

  • Download URL: xlm_core-0.1.1.tar.gz
  • Upload date:
  • Size: 125.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for xlm_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3fb9c522d5737db18180e1a607c50bd4d11a3240f199f78d02ae9cb9b4856824
MD5 7962ad94885bbbe9eb6fcec1d4f15692
BLAKE2b-256 58c461a31d25aa8cedec8ed1dbb3fbe13e7b203143f1a218fe37c2456d720508

See more details on using hashes here.

File details

Details for the file xlm_core-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for xlm_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cbf01a78fee05768c3560b7c1580a8c311c4ab88a03b1862b564710f945022dd
MD5 df8be3d1b1ab81b6ee51936557f09052
BLAKE2b-256 a5f38d769e7442524dcbf9906f14ee540b3019efd6602b3d4937eb4059c5ba44

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