Skip to content

Commit

Permalink
export the sigmoid contrastive learning module
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 6, 2023
1 parent 90021a1 commit 80a9826
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions musiclm_pytorch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
from musiclm_pytorch.musiclm_pytorch import MuLaN, MuLaNEmbedQuantizer, MusicLM

from musiclm_pytorch.musiclm_pytorch import AudioSpectrogramTransformer, TextTransformer
from musiclm_pytorch.musiclm_pytorch import (
MuLaN,
MuLaNEmbedQuantizer,
MusicLM,
AudioSpectrogramTransformer,
TextTransformer,
SigmoidContrastiveLearning,
SoftmaxContrastiveLearning
)

from musiclm_pytorch.trainer import MuLaNTrainer
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'musiclm-pytorch',
packages = find_packages(exclude=[]),
version = '0.2.6',
version = '0.2.7',
license='MIT',
description = 'MusicLM - AudioLM + Audio CLIP to text to music synthesis',
author = 'Phil Wang',
Expand Down

0 comments on commit 80a9826

Please sign in to comment.