← 开源
feizc

FluxMusic

Text-to-Music Generation with Rectified Flow Transformers

ModelsAudio/Speech modelsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.71k
Star
128
Fork
+1
本周
2
贡献者
创建于 2024-08-06 · 更新于 2026-10-10 · 今日第 9636 名
主要开发者

feizc/FluxMusic 排名第 9,636,有 1,709 个星标。

同类别比较

feizc/FluxMusic 排名第 9,636,此处有 8 个同类条目;lukalabs/cakechat 排名第 9,640。

同类别比较
名称排名指标
svip-lab/impersonator9,617
语言:
Python
星标数:
1,719
分叉数:
304
简介:
PyTorch implementation of our ICCV 2019 paper: Liquid Warping GAN: A Unified Framework for Human Motion Imitation, Appearance Transfer and Novel View Synthesis
allenai/scibert9,619
语言:
Python
星标数:
1,717
分叉数:
231
简介:
A BERT model for scientific text.
One-2-3-45/One-2-3-459,620
语言:
Python
星标数:
1,716
分叉数:
103
简介:
[NeurIPS 2023] Official code of "One-2-3-45: Any Single Image to 3D Mesh in 45 Seconds without Per-Shape Optimization"
aiff22/DPED9,629
语言:
Python
星标数:
1,711
分叉数:
364
简介:
Software and pre-trained models for automatic photo quality enhancement using Deep Convolutional Networks
lukalabs/cakechat9,640
语言:
Python
星标数:
1,708
分叉数:
911
简介:
CakeChat: Emotional Generative Dialog System
imcaspar/gpt2-ml9,651
语言:
Python
星标数:
1,703
分叉数:
325
简介:
GPT2 for Multiple Languages, including pretrained models. GPT2 多语言支持, 15亿参数中文预训练模型
XueFuzhao/OpenMoE9,657
语言:
Python
星标数:
1,702
分叉数:
85
简介:
A family of open-sourced Mixture-of-Experts (MoE) Large Language Models
microsoft/i-Code9,662
语言:
Jupyter Notebook
星标数:
1,700
分叉数:
165
关键参数与规格
关键参数与规格
参数值
语言Python
类别Models
子类别Audio/Speech models
关键词Distributed training, Model architecture, Multimodal, Music
星标数1,709
分叉数128
贡献者2
创建日期2024-08-06
更新日期2026-10-10
1 天星标数0
7 天星标数1
排名9,636
上次排名9,675
排名变化39
7 天星标排名9,656
上次 7 天星标排名9,713
7 天星标排名变化57
总星标排名7,245
上次总星标排名7,239
总星标排名变化-6
国家China
README 摘录

FluxMusic: Text-to-Music Generation with Rectified Flow Transformer Official PyTorch Implementation This repo contains PyTorch model definitions, pre-trained weights, and training/sampling code for paper *Flux that plays music*. It explores a simple extension of diffusion-based rectified flow Transformers for text-to-music generation. The model architecture can be seen as follows: To-do list [x] training / inference scripts [x] clean code [x] all ckpts and part of dataset 1. Training You can refer to the link

to build the running environment. To launch small version in the latent space training with GPUs on one node with pytorch DDP: More scripts of different model size can reference to file direction. Inference We include a script which samples music clips according to conditions from a MusicFlux model as: All prompts used in paper are lists in . Download Ckpts and Data We use VAE and Vocoder in AudioLDM2, CLAP-L, and T5-XXL. You can download in the following

table directly, we also provide the training scripts in our experiments. Note that in actual experiments, a restart experiment was performed due to machine malfunction, so there will be resume options in some scripts. The full version of main results will be released right way. The construction of training data can refer to the file, showing a simple build of combing differnet datasets in json file. Considering copyright issues, the data used in the paper needs to be downloaded by

oneself. A quick download link for other datasets can be found in Huggingface : ). This is a research project, and it is recommended to try advanced products: Acknowledgments The codebase is based on the awesome Flux and AudioLDM2 repos.

常见问题

记录了多少星标和分叉?

feizc/FluxMusic 有 1,709 个星标和 128 个分叉。

仓库排名是多少?

feizc/FluxMusic 排名第 9,636。

记录的语言和类别是什么?

feizc/FluxMusic 有 1,709 个星标,语言为 Python,类别为 Models。

哪个仓库排名最接近?

feizc/FluxMusic 与 lukalabs/cakechat 比较,后者排名第 9,640,有 1,708 个星标。

README

FluxMusic: Text-to-Music Generation with Rectified Flow Transformer

Official PyTorch Implementation

       

This repo contains PyTorch model definitions, pre-trained weights, and training/sampling code for paper Flux that plays music. It explores a simple extension of diffusion-based rectified flow Transformers for text-to-music generation. The model architecture can be seen as follows:

To-do list

  • [x] training / inference scripts
  • [x] clean code
  • [x] all ckpts and part of dataset

1. Training

You can refer to the link to build the running environment.

To launch small version in the latent space training with N GPUs on one node with pytorch DDP:

torchrun --nnodes=1 --nproc_per_node=N train.py \
--version small \
--data-path xxx \
--global_batch_size 128

More scripts of different model size can reference to scripts file direction.

2. Inference

We include a sample.py script which samples music clips according to conditions from a MusicFlux model as:

python sample.py \
--version small \
--ckpt_path /path/to/model \
--prompt_file config/example.txt

All prompts used in paper are lists in config/example.txt.

3. Download Ckpts and Data

We use VAE and Vocoder in AudioLDM2, CLAP-L, and T5-XXL. You can download in the following table directly, we also provide the training scripts in our experiments.

Note that in actual experiments, a restart experiment was performed due to machine malfunction, so there will be resume options in some scripts.

Model Training steps Url Training scripts
VAE - link -
Vocoder - link -
T5-XXL - link -
CLAP-L - link -
FluxMusic-Small 200K link link
FluxMusic-Base 200K link link
FluxMusic-Large 200K link link
FluxMusic-Giant 200K link link
FluxMusic-Giant-Full 2M link -

Note that 200K-steps ckpts are trained on a sub-training set and used for ploted the scaling experiments as well as case studies in the paper. The full version of main results will be released right way.

The construction of training data can refer to the test.py file, showing a simple build of combing differnet datasets in json file.

Considering copyright issues, the data used in the paper needs to be downloaded by oneself.

We provide a clean subset in:  

A quick download link for other datasets can be found in Huggingface : ).

This is a research project, and it is recommended to try advanced products:  

Acknowledgments

The codebase is based on the awesome Flux and AudioLDM2 repos.

排名相邻
同类项目