prince-canuma commited on
Commit
c8521bf
·
verified ·
1 Parent(s): bc11140

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -18
README.md CHANGED
@@ -2,7 +2,7 @@
2
  library_name: mlx
3
  language:
4
  - en
5
- pipeline_tag: text-generation
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-lm version **0.22.1**.
17
 
18
  ## Use with mlx
19
 
20
  ```bash
21
- pip install mlx-lm
22
  ```
23
 
24
- ```python
25
- from mlx_lm import load, generate
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```