Added UV
Browse files
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 |
-
|
|
|
|
| 128 |
```
|
| 129 |
|
| 130 |
-
|
| 131 |
|
| 132 |
```bash
|
| 133 |
-
|
| 134 |
-
|
|
|
|
|
|
|
| 135 |
```
|
| 136 |
|
| 137 |
-
### Download
|
| 138 |
|
| 139 |
```bash
|
| 140 |
-
|
| 141 |
-
|
|
|
|
|
|
|
| 142 |
|
| 143 |
-
|
| 144 |
uv run -m moshi.server \
|
| 145 |
-
--
|
| 146 |
-
--
|
| 147 |
-
--
|
| 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
|