Skip to main content

My first Python package

Project description

DMLP

DMLP is a python library for training diffusion model

  • Website:
  • Documentation:
  • Mailing list:
  • Source code:
  • Contributing:
  • Bug reports:

It provides:

  • APIs for constructing and training/fine-tuning text diffusion model
  • Abstract classes for developing models in text diffusion

Installation


On Linux

pip install -i https://test.pypi.org/simple/ DMLP==0.0.1

Tutorial

We provide a demo file in at https://github.com/YunhaoLi012/DMLP/blob/torchamp/tests/test_train.py . This script replicate the result of the following paper https://openreview.net/forum?id=bgIZDxd2bM . To run the code, simpily run the following command

CUDA_VISIBLE_DEVICES=0 torchrun test_train.py

Make sure you are in the folder which contains test_train.py 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

DMLP-1.0.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

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

DMLP-1.0.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file DMLP-1.0.0.tar.gz.

File metadata

  • Download URL: DMLP-1.0.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for DMLP-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3be2c8b070ae3f02dec79161ba643ce46631f67d720bb5e6389d45db3907ca0c
MD5 b0b0bc6033bee27db3e8e57fc7032e88
BLAKE2b-256 1fb0ff0280db641facd6fcf4c8a84f9340356ee0f27ae8a22bdba103d6a0d516

See more details on using hashes here.

File details

Details for the file DMLP-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: DMLP-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for DMLP-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a46129de1de839cc1ce6a4ac38482ff8148a7a5b8bf53a445c4915747b9257
MD5 c0162d943e2e01a2aa1eec8a3a9dc2cf
BLAKE2b-256 ccdb5e1fefd917a40be24fe2b8def9ad57b54735555052dd6f2155117d304697

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