facebookresearch/audiocraft

▲ 9 stars today★ 23,688⑂ 2,698

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen

About facebookresearch/audiocraft

facebookresearch/audiocraft is an open-source project on GitHub, mainly written in Jupyter Notebook. Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer It currently holds 23,688 stars and 2,698 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #52 with 9 new stars today.

GitHub Repository Details

Repository facebookresearch/audiocraft · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

AudioCraft

docs badge linter badge tests badge

AudioCraft is a PyTorch library for deep learning research on audio generation. AudioCraft contains inference and training code for two state-of-the-art AI generative models producing high-quality audio: AudioGen and MusicGen.

Installation

AudioCraft requires Python 3.9, PyTorch 2.1.0. To install AudioCraft, you can run the following:
# Best to make sure you have torch installed first, in particular before installing xformers.

Don't run this if you already have PyTorch installed.

python -m pip install 'torch==2.1.0'

You might need the following before trying to install the packages

python -m pip install setuptools wheel

Then proceed to one of the following

python -m pip install -U audiocraft # stable release python -m pip install -U git+https://git@github.com/facebookresearch/audiocraft#egg=audiocraft # bleeding edge python -m pip install -e . # or if you cloned the repo locally (mandatory if you want to train). python -m pip install -e '.[wm]' # if you want to train a watermarking model

We also recommend having ffmpeg installed, either through your system or Anaconda:

sudo apt-get install ffmpeg

Or if you are using Anaconda or Miniconda

conda install "ffmpeg<5" -c conda-forge

Models

At the moment, AudioCraft contains the training code and inference code for:

Training code

AudioCraft contains PyTorch components for deep learning research in audio and training pipelines for the developed models. For a general introduction of AudioCraft design principles and instructions to develop your own training pipeline, refer to the AudioCraft training documentation.

For reproducing existing work and using the developed training pipelines, refer to the instructions for each specific model that provides pointers to configuration, example grids and model/task-specific information and FAQ.

API documentation

We provide some API documentation for AudioCraft.

FAQ

Is the training code available?

Yes! We provide the training code for EnCodec, MusicGen,Multi Band Diffusion and JASCO.

Where are the models stored?

Hugging Face stored the model in a specific location, which can be overridden by setting the AUDIOCRAFT_CACHE_DIR environment variable for the AudioCraft models. In order to change the cache location of the other Hugging Face models, please check out the Hugging Face Transformers documentation for the cache setup. Finally, if you use a model that relies on Demucs (e.g. musicgen-melody) and want to change the download location for Demucs, refer to the Torch Hub documentation.

License

Citation

For the general framework of AudioCraft, please cite the following.

@inproceedings{copet2023simple,
    title={Simple and Controllable Music Generation},
    author={Jade Copet and Felix Kreuk and Itai Gat and Tal Remez and David Kant and Gabriel Synnaeve and Yossi Adi and Alexandre Défossez},
    booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
    year={2023},
}

When referring to a specific model, please cite as mentioned in the model specific README, e.g ./docs/MUSICGEN.md, ./docs/AUDIOGEN.md, etc.

GitHub Stars & Activity

23,688Stars
2,698Forks
0Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars23,688
Forks2,698
Open issues0
Primary languageJupyter Notebook
License-
Stars gained today9
Created-
Last pushed-

Trending History

Daily boardrank #52 · ▲ 9 stars

Related AI Projects

1

Lordog / dive-into-llms

Jupyter Notebook★ 56,537⑂ 6,758▲ 260 stars
→
2

lyogavin / airllm

Jupyter Notebook★ 37,365⑂ 3,859▲ 886 stars
→
3

NirDiamant / RAG_Techniques

Jupyter Notebook★ 29,829⑂ 3,649▲ 34 stars
→
4

NirDiamant / GenAI_Agents

Jupyter Notebook★ 24,563⑂ 4,141▲ 25 stars
→
5

NirDiamant / agents-towards-production

Jupyter Notebook★ 21,666⑂ 2,874▲ 45 stars
→
6

datawhalechina / llm-universe

Jupyter Notebook★ 14,117⑂ 1,428▲ 7 stars
→
7

rasbt / machine-learning-book

Jupyter Notebook★ 5,435⑂ 1,859▲ 3 stars
→
8

onestardao / WFGY

Jupyter Notebook★ 1,796⑂ 167▲ 1 stars
→

More AI Rankings