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

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.0.tar.gz (125.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.1.0-py3-none-any.whl (179.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xlm_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ecdf8108a75eef5283b5793768d335952b1c0769c901717135af3eb2fc801250
MD5 9ec0fbb4fd471b03f1253074920aa63a
BLAKE2b-256 be098e0a655c4b164eabe2d98eb27d6032c6e00c120502dde9d6f65b1b4a2757

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xlm_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a278efc4846965a527152a379d2ca963b5e4ad2ca887d2cfab5e245e0687b8f
MD5 2f379cc99d947ce2e1b6395d13439494
BLAKE2b-256 e75e6786ee86895695f88ad6f8e4f3a11853669200f35ea872870a2c82bcc940

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