Skip to main content

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.

Metadata

Release files for xlm-core 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xlm-core 0.3.1
File Size Uploaded Provenance Actions
xlm_core-0.3.1.tar.gz 440.7 kB Without provenance Details for xlm_core-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xlm-core 0.3.1
File Interpreter ABI Platform Actions
xlm_core-0.3.1-py3-none-any.whl Python 3 none any Details for xlm_core-0.3.1-py3-none-any.whl

Total release size: 978.0 kB

Release files / xlm_core-0.3.1.tar.gz

Download URL xlm_core-0.3.1.tar.gz
Size 440.7 kB
Tags Source
SHA-256 checksum
How to use checksums
edd58b9f5ad2aa433105aca8de7d89a05bcb1a8f0202d926a2290a91b799d0a1
BLAKE2b-256 checksum
How to use checksums
df4df6689cb17e4ab5917514844f7180078cc3e7a5aec55d7796b4ce4ebbbc52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / xlm_core-0.3.1-py3-none-any.whl

Download URL xlm_core-0.3.1-py3-none-any.whl
Size 537.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e73ff55a0a2a23eda340dd3288bfc304a6a94957db57bb6889b5d71c6348da26
BLAKE2b-256 checksum
How to use checksums
c5ae9a0a6bcdabb130ba8dbb289dcb78f96167d2abb29646bc612ffa28245075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for xlm-core 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page