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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xlm_core-0.0.0.tar.gz.
File metadata
- Download URL: xlm_core-0.0.0.tar.gz
- Upload date:
- Size: 144.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb7d227322c1edb12c54581928dbed9da997a1085c926d09c71ce6602a019419
|
|
| MD5 |
52e9362bfe08c0b2759b09d2532b5db7
|
|
| BLAKE2b-256 |
9b6a2b9d8725cf230053f810273d01ec7ac0e4fa119dbec9592d3fd88a58e7f8
|
File details
Details for the file xlm_core-0.0.0-py3-none-any.whl.
File metadata
- Download URL: xlm_core-0.0.0-py3-none-any.whl
- Upload date:
- Size: 205.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f903fcfdfa9a4cc32e8623e2112712c2361cd65bd029a693415de99e9663642
|
|
| MD5 |
74aafbe98357e5d7da41875a4c92c923
|
|
| BLAKE2b-256 |
6263ce68894884cfd3d17e834a72782b04d3afd6deca443e8e29cf27e73352e0
|