Skip to content

Commit 31ccba9

Browse files
committed
readme
2 parents e63df48 + b37a992 commit 31ccba9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

WavLLM/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# WavLLM
2+
## Setup
3+
4+
```bash
5+
git submodule update --init WavLLM/fairseq
6+
cd WavLLM/
7+
conda create -n wavllm python=3.10.0
8+
conda activate wavllm
9+
pip install --editable fairseq/
10+
pip install sentencepiece
11+
pip install transformers==4.32.1
12+
pip install numpy==1.23.5
13+
pip install editdistance
14+
pip install soundfile
15+
```
16+
17+
## Inference
18+
```bash
19+
cp -r wavllm fairseq/examples
20+
cd fairseq
21+
bash examples/wavllm/scripts/inference_sft.sh $model_path $data_name
22+
```

0 commit comments

Comments
 (0)