bhaskarbuilds commited on
Commit
bac6a3b
·
verified ·
1 Parent(s): 81aaa4c
Files changed (1) hide show
  1. README.md +17 -13
README.md CHANGED
@@ -121,31 +121,35 @@ Temperature τ=0.9 produces turn-taking dynamics closest to ground-truth.
121
 
122
  ## Quick Start
123
 
124
- ### Install
125
 
126
  ```bash
127
- pip install moshi huggingface_hub
 
128
  ```
129
 
130
- Or from source:
131
 
132
  ```bash
133
- git clone https://github.com/kyutai-labs/moshi
134
- cd moshi && pip install -e .
 
 
135
  ```
136
 
137
- ### Download & Run
138
 
139
  ```bash
140
- # Download all files
141
- huggingface-cli download bhaskarbuilds/josh1 --local-dir ./hindi-moshi
 
 
142
 
143
- # Run the server
144
  uv run -m moshi.server \
145
- --hf-repo bhaskarbuilds/josh1 \
146
- --tokenizer hf://bhaskarbuilds/josh1/tokenizer_hindi.model \
147
- --host 0.0.0.0 \
148
- --static none
149
  ```
150
 
151
  ## Intended Use
 
121
 
122
  ## Quick Start
123
 
124
+ ### 1. Install uv
125
 
126
  ```bash
127
+ curl -LsSf https://astral.sh/uv/install.sh | sh
128
+ source $HOME/.local/bin/env
129
  ```
130
 
131
+ ### 2. Create project and install dependencies
132
 
133
  ```bash
134
+ uv init hindi-moshi && cd hindi-moshi
135
+ uv python install 3.12
136
+ uv python pin 3.12
137
+ uv add moshi huggingface_hub
138
  ```
139
 
140
+ ### 3. Download the model
141
 
142
  ```bash
143
+ uv run huggingface-cli download bhaskarbuilds/josh1 --local-dir ./weights
144
+ ```
145
+
146
+ ### 4. Run the server
147
 
148
+ ```bash
149
  uv run -m moshi.server \
150
+ --moshi-weight ./weights/model.safetensors \
151
+ --mimi-weight ./weights/tokenizer-e351c8d8-checkpoint125.safetensors \
152
+ --tokenizer ./weights/tokenizer_hindi.model
 
153
  ```
154
 
155
  ## Intended Use