Update README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
library_name: mlx
|
3 |
language:
|
4 |
- en
|
5 |
-
pipeline_tag: text-
|
6 |
license: apache-2.0
|
7 |
base_model: canopylabs/orpheus-3b-0.1-ft
|
8 |
tags:
|
@@ -13,26 +13,13 @@ tags:
|
|
13 |
|
14 |
This model [mlx-community/orpheus-3b-0.1-ft-8bit](https://huggingface.co/mlx-community/orpheus-3b-0.1-ft-8bit) was
|
15 |
converted to MLX format from [canopylabs/orpheus-3b-0.1-ft](https://huggingface.co/canopylabs/orpheus-3b-0.1-ft)
|
16 |
-
using mlx-
|
17 |
|
18 |
## Use with mlx
|
19 |
|
20 |
```bash
|
21 |
-
pip install mlx-
|
22 |
```
|
23 |
|
24 |
-
```
|
25 |
-
|
26 |
-
|
27 |
-
model, tokenizer = load("mlx-community/orpheus-3b-0.1-ft-8bit")
|
28 |
-
|
29 |
-
prompt = "hello"
|
30 |
-
|
31 |
-
if tokenizer.chat_template is not None:
|
32 |
-
messages = [{"role": "user", "content": prompt}]
|
33 |
-
prompt = tokenizer.apply_chat_template(
|
34 |
-
messages, add_generation_prompt=True
|
35 |
-
)
|
36 |
-
|
37 |
-
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
38 |
-
```
|
|
|
2 |
library_name: mlx
|
3 |
language:
|
4 |
- en
|
5 |
+
pipeline_tag: text-to-speech
|
6 |
license: apache-2.0
|
7 |
base_model: canopylabs/orpheus-3b-0.1-ft
|
8 |
tags:
|
|
|
13 |
|
14 |
This model [mlx-community/orpheus-3b-0.1-ft-8bit](https://huggingface.co/mlx-community/orpheus-3b-0.1-ft-8bit) was
|
15 |
converted to MLX format from [canopylabs/orpheus-3b-0.1-ft](https://huggingface.co/canopylabs/orpheus-3b-0.1-ft)
|
16 |
+
using mlx-audio version **0.0.3**.
|
17 |
|
18 |
## Use with mlx
|
19 |
|
20 |
```bash
|
21 |
+
pip install -U mlx-audio
|
22 |
```
|
23 |
|
24 |
+
```bash
|
25 |
+
python -m mlx_audio.tts.generate --model mlx-community/orpheus-3b-0.1-ft-8bit --text "Hello world" --voice tara --temperature 0.6 --audio_format mp3```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|