بدون توضیح

Lengyue 491b1d7125 rename folder 2 سال پیش
speech_lm b530faccc9 Lint & fix attention mask & support whisper input features 2 سال پیش
tools 491b1d7125 rename folder 2 سال پیش
.dockerignore 0c084ec779 Apply gradient accumulate to save memory 2 سال پیش
.gitignore a003e5a390 Add utilities & whisper vq model 2 سال پیش
.pre-commit-config.yaml e4ce816175 Update deps 2 سال پیش
README.md 3fc0a688ca Update Readme 2 سال پیش
dockerfile 9920873cf2 Optimize schedule 2 سال پیش
requirements.txt 23109ecb94 Optimize training loop & upgrade transformers 2 سال پیش
setup.py 7650b2ac43 Update much robust dataloader 2 سال پیش

README.md

Speech LLM

Setup

# Basic environment setup
conda create -n speech-llm python=3.10
conda activate speech-llm
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia

# Install requirements
pip3 install -r requirements.txt

# Install flash-attn
MAX_JOBS=4 pip install flash-attn --no-build-isolation

# Install speech-llm
pip3 install -e .