Skip to content

Commit 80a9826

Browse files
committed
export the sigmoid contrastive learning module
1 parent 90021a1 commit 80a9826

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

musiclm_pytorch/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
from musiclm_pytorch.musiclm_pytorch import MuLaN, MuLaNEmbedQuantizer, MusicLM
2-
3-
from musiclm_pytorch.musiclm_pytorch import AudioSpectrogramTransformer, TextTransformer
1+
from musiclm_pytorch.musiclm_pytorch import (
2+
MuLaN,
3+
MuLaNEmbedQuantizer,
4+
MusicLM,
5+
AudioSpectrogramTransformer,
6+
TextTransformer,
7+
SigmoidContrastiveLearning,
8+
SoftmaxContrastiveLearning
9+
)
410

511
from musiclm_pytorch.trainer import MuLaNTrainer

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name = 'musiclm-pytorch',
55
packages = find_packages(exclude=[]),
6-
version = '0.2.6',
6+
version = '0.2.7',
77
license='MIT',
88
description = 'MusicLM - AudioLM + Audio CLIP to text to music synthesis',
99
author = 'Phil Wang',

0 commit comments

Comments
 (0)