okewunmi commited on
Commit
531b21a
·
verified ·
1 Parent(s): 693751b

Create install.sh

Browse files
Files changed (1) hide show
  1. install.sh +19 -0
install.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Clone the YarnGPT repository
5
+ echo "Cloning YarnGPT repository..."
6
+ git clone https://github.com/saheedniyi02/yarngpt.git
7
+
8
+ # Install the package
9
+ echo "Installing YarnGPT from local source..."
10
+ cd yarngpt
11
+ pip install -e .
12
+ cd ..
13
+
14
+ # Download model files
15
+ echo "Downloading model files..."
16
+ wget -nc https://huggingface.co/novateur/WavTokenizer-medium-speech-75token/resolve/main/wavtokenizer_mediumdata_frame75_3s_nq1_code4096_dim512_kmeans200_attn.yaml
17
+ wget -nc https://huggingface.co/novateur/WavTokenizer-large-speech-75token/resolve/main/wavtokenizer_large_speech_320_24k.ckpt
18
+
19
+ echo "Installation complete!"