niobures commited on
Commit
2a129bd
·
verified ·
1 Parent(s): 028d68c

Dots.tts (code, models, paper)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +8 -0
  2. Dots.tts Technical Report.pdf +3 -0
  3. code/Dots-TTS-ComfyUI.zip +3 -0
  4. code/dots-tts-launcher.zip +3 -0
  5. code/dots-tts-mlx.zip +3 -0
  6. code/dots-tts-runpod.zip +3 -0
  7. code/dots.tts.cpp.zip +3 -0
  8. code/dots.tts.zip +3 -0
  9. models/dots-tts-mlx/.gitattributes +39 -0
  10. models/dots-tts-mlx/README.md +104 -0
  11. models/dots-tts-mlx/int4/config.json +120 -0
  12. models/dots-tts-mlx/int4/core.safetensors +3 -0
  13. models/dots-tts-mlx/int4/latent_stats.npz +3 -0
  14. models/dots-tts-mlx/int4/llm_config.json +114 -0
  15. models/dots-tts-mlx/int4/speaker.safetensors +3 -0
  16. models/dots-tts-mlx/int4/tokenizer/added_tokens.json +31 -0
  17. models/dots-tts-mlx/int4/tokenizer/chat_template.jinja +54 -0
  18. models/dots-tts-mlx/int4/tokenizer/merges.txt +0 -0
  19. models/dots-tts-mlx/int4/tokenizer/special_tokens_map.json +67 -0
  20. models/dots-tts-mlx/int4/tokenizer/tokenizer.json +3 -0
  21. models/dots-tts-mlx/int4/tokenizer/tokenizer_config.json +257 -0
  22. models/dots-tts-mlx/int4/tokenizer/vocab.json +0 -0
  23. models/dots-tts-mlx/int4/vocoder.safetensors +3 -0
  24. models/dots-tts-mlx/int8/config.json +120 -0
  25. models/dots-tts-mlx/int8/core.safetensors +3 -0
  26. models/dots-tts-mlx/int8/latent_stats.npz +3 -0
  27. models/dots-tts-mlx/int8/llm_config.json +114 -0
  28. models/dots-tts-mlx/int8/speaker.safetensors +3 -0
  29. models/dots-tts-mlx/int8/tokenizer/added_tokens.json +31 -0
  30. models/dots-tts-mlx/int8/tokenizer/chat_template.jinja +54 -0
  31. models/dots-tts-mlx/int8/tokenizer/merges.txt +0 -0
  32. models/dots-tts-mlx/int8/tokenizer/special_tokens_map.json +67 -0
  33. models/dots-tts-mlx/int8/tokenizer/tokenizer.json +3 -0
  34. models/dots-tts-mlx/int8/tokenizer/tokenizer_config.json +257 -0
  35. models/dots-tts-mlx/int8/tokenizer/vocab.json +0 -0
  36. models/dots-tts-mlx/int8/vocoder.safetensors +3 -0
  37. models/dots-tts-mlx/languages.txt +24 -0
  38. models/dots-tts-mlx/mf-int4/config.json +127 -0
  39. models/dots-tts-mlx/mf-int4/core.safetensors +3 -0
  40. models/dots-tts-mlx/mf-int4/latent_stats.npz +3 -0
  41. models/dots-tts-mlx/mf-int4/llm_config.json +114 -0
  42. models/dots-tts-mlx/mf-int4/speaker.safetensors +3 -0
  43. models/dots-tts-mlx/mf-int4/tokenizer/added_tokens.json +31 -0
  44. models/dots-tts-mlx/mf-int4/tokenizer/chat_template.jinja +54 -0
  45. models/dots-tts-mlx/mf-int4/tokenizer/merges.txt +0 -0
  46. models/dots-tts-mlx/mf-int4/tokenizer/special_tokens_map.json +67 -0
  47. models/dots-tts-mlx/mf-int4/tokenizer/tokenizer.json +3 -0
  48. models/dots-tts-mlx/mf-int4/tokenizer/tokenizer_config.json +257 -0
  49. models/dots-tts-mlx/mf-int4/tokenizer/vocab.json +0 -0
  50. models/dots-tts-mlx/mf-int4/vocoder.safetensors +3 -0
.gitattributes CHANGED
@@ -33,3 +33,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Dots.tts[[:space:]]Technical[[:space:]]Report.pdf filter=lfs diff=lfs merge=lfs -text
37
+ models/dots-tts-mlx/int4/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ models/dots-tts-mlx/int8/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ models/dots-tts-mlx/mf-int4/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
40
+ models/dots-tts-mlx/mf-int8/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
41
+ models/dots.tts-base/tokenizer.json filter=lfs diff=lfs merge=lfs -text
42
+ models/dots.tts-mf/tokenizer.json filter=lfs diff=lfs merge=lfs -text
43
+ models/dots.tts-soar/tokenizer.json filter=lfs diff=lfs merge=lfs -text
Dots.tts Technical Report.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ab35d1e2b10269573897fe2d98fa5471c84e24647c4739c4b3862b45b15b357
3
+ size 321356
code/Dots-TTS-ComfyUI.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9511554ab48c2088b3e845f6782693d812b5c82e8bb5289f1ee8bb4bb743ce2
3
+ size 16788031
code/dots-tts-launcher.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a3e7bc35b8b8fe67d620b825d64e626990c77325d1db5ba4fd63dc5f9aacc7
3
+ size 49600
code/dots-tts-mlx.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b5b050d4085d6f3dd884fece9713ca1ede8bb2893b76ad2598e45812a612a73
3
+ size 436577
code/dots-tts-runpod.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5389cc178a4e60a72e0b6ba9d340bd92c7bec8dce601c499cdc1608d97f5261
3
+ size 65924
code/dots.tts.cpp.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5dd676b263fb3c142e699fae3788d03fdea37cbfdffd3cb8729b44aa3ab9d99
3
+ size 76041325
code/dots.tts.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9fc70b31623ebfcd6ee4d16c5770308a882c3a93b3aa1a3aebff9e499070075
3
+ size 1178074
models/dots-tts-mlx/.gitattributes ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ int4/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ int8/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ mf-int4/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ mf-int8/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
models/dots-tts-mlx/README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - rednote-hilab/dots.tts-soar
5
+ - rednote-hilab/dots.tts-mf
6
+ pipeline_tag: text-to-speech
7
+ library_name: mlx
8
+ tags:
9
+ - mlx
10
+ - text-to-speech
11
+ - tts
12
+ - voice-cloning
13
+ - apple-silicon
14
+ - dots.tts
15
+ language:
16
+ - ar
17
+ - yue
18
+ - zh
19
+ - cs
20
+ - nl
21
+ - en
22
+ - fi
23
+ - fr
24
+ - de
25
+ - el
26
+ - hi
27
+ - id
28
+ - it
29
+ - ja
30
+ - ko
31
+ - pl
32
+ - pt
33
+ - ro
34
+ - ru
35
+ - es
36
+ - th
37
+ - tr
38
+ - uk
39
+ - vi
40
+ ---
41
+
42
+ # dots-tts-mlx — quantized MLX weights (Apple Silicon)
43
+
44
+ Ready-to-run **MLX** weights for [`rednote-hilab/dots.tts-soar`](https://huggingface.co/rednote-hilab/dots.tts-soar) — a 2B continuous-AR flow-matching, **multilingual (24 languages, same as upstream)**, zero-shot voice-clone TTS — quantized for Apple Silicon. **Download and run with the [`dots-tts-mlx`](https://github.com/sb1992/dots-tts-mlx) runtime — no PyTorch and no conversion step.**
45
+
46
+ > **Languages:** same as upstream dots.tts — **all 24** (Arabic, Cantonese, Chinese, Czech, Dutch, English, Finnish, French, German, Greek, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Romanian, Russian, Spanish, Thai, Turkish, Ukrainian, Vietnamese). The 5-language check in [Quality](#quality) is only the **quantization spot-check**, not the supported set.
47
+
48
+ > These are converted + LLM-quantized **MLX** safetensors, not PyTorch. They load only with the `dots-tts-mlx` runtime on Apple Silicon (Metal). For the original PyTorch model, see [rednote-hilab/dots.tts-soar](https://huggingface.co/rednote-hilab/dots.tts-soar).
49
+
50
+ > ⚡ **Two decoders, one voice.** `int4`/`int8` are the standard **soar** build (reference quality). `mf-int4`/`mf-int8` are **MeanFlow** — a distilled few-step decoder (`rednote-hilab/dots.tts-mf`) that runs the acoustic DiT at **NFE=4 with no classifier-free guidance**, **~2× faster** than the 10-step path with no measurable quality loss. Same model, same 24-language cloning — pick the folder that fits your speed budget. For cloning, **reference mode (audio + transcript) is the recommended quality path.**
51
+
52
+ ## Variants
53
+
54
+ | Subfolder | Decoder | Download | Speed | Use |
55
+ |-----------|---------|----------|-------|-----|
56
+ | `int4/` ⭐ | soar — 10-step + CFG | ~2.4 GB | baseline | default, best quality |
57
+ | `int8/` | soar — 10-step + CFG | ~3.1 GB | baseline | conservative fallback |
58
+ | `mf-int4/` ⚡ | **MeanFlow — NFE-4, no CFG** | ~2.4 GB | **~2× faster** | latency-sensitive |
59
+ | `mf-int8/` | **MeanFlow — NFE-4, no CFG** | ~3.1 GB | **~2× faster** | meanflow + more LLM precision |
60
+
61
+ Only the **Qwen2.5-1.5B LLM trunk** (≈70% of the weights) is quantized (group-wise affine, group size 64); the precision-sensitive flow-matching DiT, the BigVGAN vocoder, and the CAM++ speaker encoder stay **bf16**.
62
+
63
+ **MeanFlow** (`mf-*`) is the distilled [`rednote-hilab/dots.tts-mf`](https://huggingface.co/rednote-hilab/dots.tts-mf) checkpoint — the same architecture plus a small duration embedder — **auto-detected** from `config.json` (no flag): point the runtime at an `mf-*` folder and it uses the few-step solver. Measured **1.9–2.2× faster** than the 10-step path on reference cloning (EN/HI/ZH). It drops classifier-free guidance, so `--guidance-scale` is ignored. Use **reference cloning (audio + transcript)** for best quality.
64
+
65
+ ## Quality
66
+
67
+ Quantization is validated to be **lossless relative to the full-precision MLX build**: on a small multilingual acceptance check (EN/DE/ES/FR + Hindi), int8 and int4 showed **no transcription-accuracy or voice-similarity regression vs bf16**. This is a sanity check, **not a dataset-scale benchmark** — evaluate on your own content.
68
+
69
+ Correctness of the port itself is gated **per-stage** against the original PyTorch model (AudioVAE PSNR ≈ 56 dB; attention / DiT / LLM / semantic-encoder cosine ≥ 0.9999) — see the [runtime repo](https://github.com/sb1992/dots-tts-mlx).
70
+
71
+ ## Usage
72
+
73
+ ```bash
74
+ # 1. install the quant-aware runtime (>= v0.2.0)
75
+ pip install "git+https://github.com/sb1992/dots-tts-mlx.git@v0.2.0"
76
+
77
+ # 2. download the variant you want (use "mf-int4/*" for the faster MeanFlow decoder)
78
+ hf download shraey/dots-tts-mlx --include "int4/*" --local-dir ./dots-tts-mlx-weights
79
+
80
+ # 3. run (files land in ./dots-tts-mlx-weights/int4/)
81
+ dots-tts --model ./dots-tts-mlx-weights/int4 \
82
+ --text "Hello from MLX." --ref-audio reference.wav --language EN \
83
+ --out-path out --out-prefix clone
84
+ ```
85
+
86
+ The runtime auto-detects the `quantization` block in `config.json`, so nothing changes at the CLI/API level vs an unquantized directory. Python API and the full flag set: see the [runtime repo](https://github.com/sb1992/dots-tts-mlx).
87
+
88
+ - **Memory:** peak RAM scales with generation + reference length — roughly **~6 GB for a short clip, up to ~13 GB for a ~30 s clip** (int4); resident weights are ~2.4 GB. The render peak is activation-bound (the bf16 DiT + vocoder working set), so it's the same for soar and MeanFlow and isn't reduced by quantization. MLX's allocator may cache up to its memory limit, but that cache is releasable.
89
+ - **Requires:** Apple Silicon (MLX is Metal-only), Python ≥ 3.10.
90
+
91
+ ## Attribution & licenses
92
+
93
+ Derivative quantized weights of `rednote-hilab/dots.tts-soar` (**Apache-2.0**) — you must comply with the upstream license. Components:
94
+
95
+ - **dots.tts** — [model](https://huggingface.co/rednote-hilab/dots.tts-soar) · [code](https://github.com/rednote-hilab/dots.tts) — Apache-2.0, © the dots.tts team at rednote-hilab.
96
+ - **Qwen2.5-1.5B-Base** (LLM backbone) — Apache-2.0.
97
+ - **CAM++ / 3D-Speaker** (speaker x-vector encoder) — Apache-2.0.
98
+ - **BigVGAN** (vocoder/decoder architecture style) — MIT, © NVIDIA.
99
+
100
+ MLX port + quantization code: [github.com/sb1992/dots-tts-mlx](https://github.com/sb1992/dots-tts-mlx) (Apache-2.0).
101
+
102
+ ## Responsible use
103
+
104
+ This performs **zero-shot voice cloning** — it can reproduce a person's voice from a few seconds of audio. Only clone voices you own or for which you have explicit, informed consent; do not use it for impersonation, fraud, or deception; and disclose AI-generated audio wherever it's shared. See the upstream [risks guidance](https://huggingface.co/rednote-hilab/dots.tts-soar).
models/dots-tts-mlx/int4/config.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "dots_tts",
3
+ "latent_dim": 128,
4
+ "patch_size": 4,
5
+ "cfg_droprate": 0.2,
6
+ "PatchEncoder": {
7
+ "num_layers": 24,
8
+ "num_heads": 16,
9
+ "hidden_size": 1024,
10
+ "ffn_hidden_size": 4096,
11
+ "modulation": false,
12
+ "qkv_bias": false,
13
+ "qk_norm": true,
14
+ "attn_dropout": 0.0,
15
+ "dropout": 0.1,
16
+ "norm_layer": "RMSNorm",
17
+ "alibi_bias": false,
18
+ "rotary_bias": true,
19
+ "rotary_theta": 10000.0,
20
+ "input_dim": 128,
21
+ "causal": true
22
+ },
23
+ "DiT": {
24
+ "num_layers": 18,
25
+ "num_heads": 16,
26
+ "hidden_size": 1024,
27
+ "ffn_hidden_size": 4096,
28
+ "modulation": true,
29
+ "qkv_bias": false,
30
+ "qk_norm": true,
31
+ "attn_dropout": 0.0,
32
+ "dropout": 0.0,
33
+ "norm_layer": "RMSNorm",
34
+ "alibi_bias": false,
35
+ "rotary_bias": true,
36
+ "rotary_theta": 10000.0
37
+ },
38
+ "vocoder": {
39
+ "sample_rate": 48000,
40
+ "upsample_rates": [
41
+ 10,
42
+ 6,
43
+ 4,
44
+ 2,
45
+ 2,
46
+ 2
47
+ ],
48
+ "upsample_kernel_sizes": [
49
+ 20,
50
+ 12,
51
+ 8,
52
+ 4,
53
+ 4,
54
+ 4
55
+ ],
56
+ "upsample_initial_channel": 1536,
57
+ "resblock": "1",
58
+ "resblock_kernel_sizes": [
59
+ 3,
60
+ 7,
61
+ 11
62
+ ],
63
+ "resblock_dilation_sizes": [
64
+ [
65
+ 1,
66
+ 3,
67
+ 5
68
+ ],
69
+ [
70
+ 1,
71
+ 3,
72
+ 5
73
+ ],
74
+ [
75
+ 1,
76
+ 3,
77
+ 5
78
+ ]
79
+ ],
80
+ "downsample_rates": [
81
+ 2,
82
+ 2,
83
+ 2,
84
+ 4,
85
+ 6,
86
+ 10
87
+ ],
88
+ "downsample_channels": [
89
+ 12,
90
+ 24,
91
+ 48,
92
+ 96,
93
+ 192,
94
+ 384,
95
+ 768
96
+ ],
97
+ "activation": "snakebeta",
98
+ "snake_logscale": true,
99
+ "latent_dim": 128,
100
+ "causal": true,
101
+ "mi_num_layers": 4,
102
+ "causal_encoder": true,
103
+ "use_bias_at_final": false,
104
+ "use_tanh_at_final": false
105
+ },
106
+ "fm_sigma": 0.0,
107
+ "xvec_drop_rate": 0.2,
108
+ "campplus_embedding_size": 512,
109
+ "xvec_max_audio_seconds": 10.0,
110
+ "architectures": [
111
+ "DotsTTSForConditionalGeneration"
112
+ ],
113
+ "quantization": {
114
+ "bits": 4,
115
+ "group_size": 64,
116
+ "components": [
117
+ "llm"
118
+ ]
119
+ }
120
+ }
models/dots-tts-mlx/int4/core.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cc6b774262487136911574b138da085e26aaa6895673780d29d5b0ef66396b4
3
+ size 2178035679
models/dots-tts-mlx/int4/latent_stats.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fb11a77b710d3230345bd9b0985c075168832ef4b819af317159f31673aa21d
3
+ size 1524
models/dots-tts-mlx/int4/llm_config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 151672,
3
+ "max_position_embeddings": 131072,
4
+ "hidden_size": 1536,
5
+ "intermediate_size": 8960,
6
+ "num_hidden_layers": 28,
7
+ "num_attention_heads": 12,
8
+ "use_sliding_window": false,
9
+ "sliding_window": null,
10
+ "max_window_layers": 28,
11
+ "num_key_value_heads": 2,
12
+ "hidden_act": "silu",
13
+ "initializer_range": 0.02,
14
+ "rms_norm_eps": 1e-06,
15
+ "use_cache": true,
16
+ "rope_theta": 1000000.0,
17
+ "rope_scaling": null,
18
+ "attention_dropout": 0.0,
19
+ "layer_types": [
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention"
48
+ ],
49
+ "return_dict": true,
50
+ "output_hidden_states": false,
51
+ "torchscript": false,
52
+ "dtype": "bfloat16",
53
+ "pruned_heads": {},
54
+ "tie_word_embeddings": true,
55
+ "chunk_size_feed_forward": 0,
56
+ "is_encoder_decoder": false,
57
+ "is_decoder": false,
58
+ "cross_attention_hidden_size": null,
59
+ "add_cross_attention": false,
60
+ "tie_encoder_decoder": false,
61
+ "architectures": [
62
+ "Qwen2ForCausalLM"
63
+ ],
64
+ "finetuning_task": null,
65
+ "id2label": {
66
+ "0": "LABEL_0",
67
+ "1": "LABEL_1"
68
+ },
69
+ "label2id": {
70
+ "LABEL_0": 0,
71
+ "LABEL_1": 1
72
+ },
73
+ "task_specific_params": null,
74
+ "problem_type": null,
75
+ "tokenizer_class": null,
76
+ "prefix": null,
77
+ "bos_token_id": 151643,
78
+ "pad_token_id": null,
79
+ "eos_token_id": 151643,
80
+ "sep_token_id": null,
81
+ "decoder_start_token_id": null,
82
+ "max_length": 20,
83
+ "min_length": 0,
84
+ "do_sample": false,
85
+ "early_stopping": false,
86
+ "num_beams": 1,
87
+ "temperature": 1.0,
88
+ "top_k": 50,
89
+ "top_p": 1.0,
90
+ "typical_p": 1.0,
91
+ "repetition_penalty": 1.0,
92
+ "length_penalty": 1.0,
93
+ "no_repeat_ngram_size": 0,
94
+ "encoder_no_repeat_ngram_size": 0,
95
+ "bad_words_ids": null,
96
+ "num_return_sequences": 1,
97
+ "output_scores": false,
98
+ "return_dict_in_generate": false,
99
+ "forced_bos_token_id": null,
100
+ "forced_eos_token_id": null,
101
+ "remove_invalid_values": false,
102
+ "exponential_decay_length_penalty": null,
103
+ "suppress_tokens": null,
104
+ "begin_suppress_tokens": null,
105
+ "num_beam_groups": 1,
106
+ "diversity_penalty": 0.0,
107
+ "_name_or_path": "",
108
+ "transformers_version": "4.57.0",
109
+ "model_type": "qwen2",
110
+ "use_mrope": false,
111
+ "tf_legacy_loss": false,
112
+ "use_bfloat16": false,
113
+ "output_attentions": false
114
+ }
models/dots-tts-mlx/int4/speaker.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb418d38516cef3266c7c3cdf3da545f5c32ef1c477d629cc0c8b6a214d855c8
3
+ size 14633169
models/dots-tts-mlx/int4/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|audio_comp_end|>": 151667,
5
+ "<|audio_comp_span|>": 151666,
6
+ "<|audio_comp_start|>": 151665,
7
+ "<|audio_gen_end|>": 151670,
8
+ "<|audio_gen_span|>": 151669,
9
+ "<|audio_gen_start|>": 151668,
10
+ "<|box_end|>": 151649,
11
+ "<|box_start|>": 151648,
12
+ "<|endoftext|>": 151643,
13
+ "<|file_sep|>": 151664,
14
+ "<|fim_middle|>": 151660,
15
+ "<|fim_pad|>": 151662,
16
+ "<|fim_prefix|>": 151659,
17
+ "<|fim_suffix|>": 151661,
18
+ "<|im_end|>": 151645,
19
+ "<|im_start|>": 151644,
20
+ "<|image_pad|>": 151655,
21
+ "<|object_ref_end|>": 151647,
22
+ "<|object_ref_start|>": 151646,
23
+ "<|quad_end|>": 151651,
24
+ "<|quad_start|>": 151650,
25
+ "<|repo_name|>": 151663,
26
+ "<|text_cond_end|>": 151671,
27
+ "<|video_pad|>": 151656,
28
+ "<|vision_end|>": 151653,
29
+ "<|vision_pad|>": 151654,
30
+ "<|vision_start|>": 151652
31
+ }
models/dots-tts-mlx/int4/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
models/dots-tts-mlx/int4/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/dots-tts-mlx/int4/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|audio_comp_start|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<|audio_comp_span|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<|audio_comp_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ {
25
+ "content": "<|audio_gen_start|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ {
32
+ "content": "<|audio_gen_span|>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
38
+ {
39
+ "content": "<|audio_gen_end|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false
44
+ },
45
+ {
46
+ "content": "<|text_cond_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false
51
+ }
52
+ ],
53
+ "eos_token": {
54
+ "content": "<|endoftext|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false
59
+ },
60
+ "pad_token": {
61
+ "content": "<|endoftext|>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false
66
+ }
67
+ }
models/dots-tts-mlx/int4/tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c16521f66774c7a4774e5303b7c8ec5c99830c0be5aef6c6edde3ca2a5e05dd0
3
+ size 11423263
models/dots-tts-mlx/int4/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<|audio_comp_start|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "151666": {
190
+ "content": "<|audio_comp_span|>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "151667": {
198
+ "content": "<|audio_comp_end|>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ },
205
+ "151668": {
206
+ "content": "<|audio_gen_start|>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": true
212
+ },
213
+ "151669": {
214
+ "content": "<|audio_gen_span|>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": true
220
+ },
221
+ "151670": {
222
+ "content": "<|audio_gen_end|>",
223
+ "lstrip": false,
224
+ "normalized": false,
225
+ "rstrip": false,
226
+ "single_word": false,
227
+ "special": true
228
+ },
229
+ "151671": {
230
+ "content": "<|text_cond_end|>",
231
+ "lstrip": false,
232
+ "normalized": false,
233
+ "rstrip": false,
234
+ "single_word": false,
235
+ "special": true
236
+ }
237
+ },
238
+ "additional_special_tokens": [
239
+ "<|audio_comp_start|>",
240
+ "<|audio_comp_span|>",
241
+ "<|audio_comp_end|>",
242
+ "<|audio_gen_start|>",
243
+ "<|audio_gen_span|>",
244
+ "<|audio_gen_end|>",
245
+ "<|text_cond_end|>"
246
+ ],
247
+ "bos_token": null,
248
+ "clean_up_tokenization_spaces": false,
249
+ "eos_token": "<|endoftext|>",
250
+ "errors": "replace",
251
+ "extra_special_tokens": {},
252
+ "model_max_length": 131072,
253
+ "pad_token": "<|endoftext|>",
254
+ "split_special_tokens": false,
255
+ "tokenizer_class": "Qwen2Tokenizer",
256
+ "unk_token": null
257
+ }
models/dots-tts-mlx/int4/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
models/dots-tts-mlx/int4/vocoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9786f810cc674ea13f84c0a163186d6d73ce2c0edbb63b08aaacccd90cb613a1
3
+ size 361798651
models/dots-tts-mlx/int8/config.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "dots_tts",
3
+ "latent_dim": 128,
4
+ "patch_size": 4,
5
+ "cfg_droprate": 0.2,
6
+ "PatchEncoder": {
7
+ "num_layers": 24,
8
+ "num_heads": 16,
9
+ "hidden_size": 1024,
10
+ "ffn_hidden_size": 4096,
11
+ "modulation": false,
12
+ "qkv_bias": false,
13
+ "qk_norm": true,
14
+ "attn_dropout": 0.0,
15
+ "dropout": 0.1,
16
+ "norm_layer": "RMSNorm",
17
+ "alibi_bias": false,
18
+ "rotary_bias": true,
19
+ "rotary_theta": 10000.0,
20
+ "input_dim": 128,
21
+ "causal": true
22
+ },
23
+ "DiT": {
24
+ "num_layers": 18,
25
+ "num_heads": 16,
26
+ "hidden_size": 1024,
27
+ "ffn_hidden_size": 4096,
28
+ "modulation": true,
29
+ "qkv_bias": false,
30
+ "qk_norm": true,
31
+ "attn_dropout": 0.0,
32
+ "dropout": 0.0,
33
+ "norm_layer": "RMSNorm",
34
+ "alibi_bias": false,
35
+ "rotary_bias": true,
36
+ "rotary_theta": 10000.0
37
+ },
38
+ "vocoder": {
39
+ "sample_rate": 48000,
40
+ "upsample_rates": [
41
+ 10,
42
+ 6,
43
+ 4,
44
+ 2,
45
+ 2,
46
+ 2
47
+ ],
48
+ "upsample_kernel_sizes": [
49
+ 20,
50
+ 12,
51
+ 8,
52
+ 4,
53
+ 4,
54
+ 4
55
+ ],
56
+ "upsample_initial_channel": 1536,
57
+ "resblock": "1",
58
+ "resblock_kernel_sizes": [
59
+ 3,
60
+ 7,
61
+ 11
62
+ ],
63
+ "resblock_dilation_sizes": [
64
+ [
65
+ 1,
66
+ 3,
67
+ 5
68
+ ],
69
+ [
70
+ 1,
71
+ 3,
72
+ 5
73
+ ],
74
+ [
75
+ 1,
76
+ 3,
77
+ 5
78
+ ]
79
+ ],
80
+ "downsample_rates": [
81
+ 2,
82
+ 2,
83
+ 2,
84
+ 4,
85
+ 6,
86
+ 10
87
+ ],
88
+ "downsample_channels": [
89
+ 12,
90
+ 24,
91
+ 48,
92
+ 96,
93
+ 192,
94
+ 384,
95
+ 768
96
+ ],
97
+ "activation": "snakebeta",
98
+ "snake_logscale": true,
99
+ "latent_dim": 128,
100
+ "causal": true,
101
+ "mi_num_layers": 4,
102
+ "causal_encoder": true,
103
+ "use_bias_at_final": false,
104
+ "use_tanh_at_final": false
105
+ },
106
+ "fm_sigma": 0.0,
107
+ "xvec_drop_rate": 0.2,
108
+ "campplus_embedding_size": 512,
109
+ "xvec_max_audio_seconds": 10.0,
110
+ "architectures": [
111
+ "DotsTTSForConditionalGeneration"
112
+ ],
113
+ "quantization": {
114
+ "bits": 8,
115
+ "group_size": 64,
116
+ "components": [
117
+ "llm"
118
+ ]
119
+ }
120
+ }
models/dots-tts-mlx/int8/core.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9db4839b276eecd33304bac93823faaa4bae5f527d13efa4e6efb5507e4f77d
3
+ size 2949618031
models/dots-tts-mlx/int8/latent_stats.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fb11a77b710d3230345bd9b0985c075168832ef4b819af317159f31673aa21d
3
+ size 1524
models/dots-tts-mlx/int8/llm_config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 151672,
3
+ "max_position_embeddings": 131072,
4
+ "hidden_size": 1536,
5
+ "intermediate_size": 8960,
6
+ "num_hidden_layers": 28,
7
+ "num_attention_heads": 12,
8
+ "use_sliding_window": false,
9
+ "sliding_window": null,
10
+ "max_window_layers": 28,
11
+ "num_key_value_heads": 2,
12
+ "hidden_act": "silu",
13
+ "initializer_range": 0.02,
14
+ "rms_norm_eps": 1e-06,
15
+ "use_cache": true,
16
+ "rope_theta": 1000000.0,
17
+ "rope_scaling": null,
18
+ "attention_dropout": 0.0,
19
+ "layer_types": [
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention"
48
+ ],
49
+ "return_dict": true,
50
+ "output_hidden_states": false,
51
+ "torchscript": false,
52
+ "dtype": "bfloat16",
53
+ "pruned_heads": {},
54
+ "tie_word_embeddings": true,
55
+ "chunk_size_feed_forward": 0,
56
+ "is_encoder_decoder": false,
57
+ "is_decoder": false,
58
+ "cross_attention_hidden_size": null,
59
+ "add_cross_attention": false,
60
+ "tie_encoder_decoder": false,
61
+ "architectures": [
62
+ "Qwen2ForCausalLM"
63
+ ],
64
+ "finetuning_task": null,
65
+ "id2label": {
66
+ "0": "LABEL_0",
67
+ "1": "LABEL_1"
68
+ },
69
+ "label2id": {
70
+ "LABEL_0": 0,
71
+ "LABEL_1": 1
72
+ },
73
+ "task_specific_params": null,
74
+ "problem_type": null,
75
+ "tokenizer_class": null,
76
+ "prefix": null,
77
+ "bos_token_id": 151643,
78
+ "pad_token_id": null,
79
+ "eos_token_id": 151643,
80
+ "sep_token_id": null,
81
+ "decoder_start_token_id": null,
82
+ "max_length": 20,
83
+ "min_length": 0,
84
+ "do_sample": false,
85
+ "early_stopping": false,
86
+ "num_beams": 1,
87
+ "temperature": 1.0,
88
+ "top_k": 50,
89
+ "top_p": 1.0,
90
+ "typical_p": 1.0,
91
+ "repetition_penalty": 1.0,
92
+ "length_penalty": 1.0,
93
+ "no_repeat_ngram_size": 0,
94
+ "encoder_no_repeat_ngram_size": 0,
95
+ "bad_words_ids": null,
96
+ "num_return_sequences": 1,
97
+ "output_scores": false,
98
+ "return_dict_in_generate": false,
99
+ "forced_bos_token_id": null,
100
+ "forced_eos_token_id": null,
101
+ "remove_invalid_values": false,
102
+ "exponential_decay_length_penalty": null,
103
+ "suppress_tokens": null,
104
+ "begin_suppress_tokens": null,
105
+ "num_beam_groups": 1,
106
+ "diversity_penalty": 0.0,
107
+ "_name_or_path": "",
108
+ "transformers_version": "4.57.0",
109
+ "model_type": "qwen2",
110
+ "use_mrope": false,
111
+ "tf_legacy_loss": false,
112
+ "use_bfloat16": false,
113
+ "output_attentions": false
114
+ }
models/dots-tts-mlx/int8/speaker.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb418d38516cef3266c7c3cdf3da545f5c32ef1c477d629cc0c8b6a214d855c8
3
+ size 14633169
models/dots-tts-mlx/int8/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|audio_comp_end|>": 151667,
5
+ "<|audio_comp_span|>": 151666,
6
+ "<|audio_comp_start|>": 151665,
7
+ "<|audio_gen_end|>": 151670,
8
+ "<|audio_gen_span|>": 151669,
9
+ "<|audio_gen_start|>": 151668,
10
+ "<|box_end|>": 151649,
11
+ "<|box_start|>": 151648,
12
+ "<|endoftext|>": 151643,
13
+ "<|file_sep|>": 151664,
14
+ "<|fim_middle|>": 151660,
15
+ "<|fim_pad|>": 151662,
16
+ "<|fim_prefix|>": 151659,
17
+ "<|fim_suffix|>": 151661,
18
+ "<|im_end|>": 151645,
19
+ "<|im_start|>": 151644,
20
+ "<|image_pad|>": 151655,
21
+ "<|object_ref_end|>": 151647,
22
+ "<|object_ref_start|>": 151646,
23
+ "<|quad_end|>": 151651,
24
+ "<|quad_start|>": 151650,
25
+ "<|repo_name|>": 151663,
26
+ "<|text_cond_end|>": 151671,
27
+ "<|video_pad|>": 151656,
28
+ "<|vision_end|>": 151653,
29
+ "<|vision_pad|>": 151654,
30
+ "<|vision_start|>": 151652
31
+ }
models/dots-tts-mlx/int8/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
models/dots-tts-mlx/int8/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/dots-tts-mlx/int8/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|audio_comp_start|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<|audio_comp_span|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<|audio_comp_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ {
25
+ "content": "<|audio_gen_start|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ {
32
+ "content": "<|audio_gen_span|>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
38
+ {
39
+ "content": "<|audio_gen_end|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false
44
+ },
45
+ {
46
+ "content": "<|text_cond_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false
51
+ }
52
+ ],
53
+ "eos_token": {
54
+ "content": "<|endoftext|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false
59
+ },
60
+ "pad_token": {
61
+ "content": "<|endoftext|>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false
66
+ }
67
+ }
models/dots-tts-mlx/int8/tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c16521f66774c7a4774e5303b7c8ec5c99830c0be5aef6c6edde3ca2a5e05dd0
3
+ size 11423263
models/dots-tts-mlx/int8/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<|audio_comp_start|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "151666": {
190
+ "content": "<|audio_comp_span|>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "151667": {
198
+ "content": "<|audio_comp_end|>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ },
205
+ "151668": {
206
+ "content": "<|audio_gen_start|>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": true
212
+ },
213
+ "151669": {
214
+ "content": "<|audio_gen_span|>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": true
220
+ },
221
+ "151670": {
222
+ "content": "<|audio_gen_end|>",
223
+ "lstrip": false,
224
+ "normalized": false,
225
+ "rstrip": false,
226
+ "single_word": false,
227
+ "special": true
228
+ },
229
+ "151671": {
230
+ "content": "<|text_cond_end|>",
231
+ "lstrip": false,
232
+ "normalized": false,
233
+ "rstrip": false,
234
+ "single_word": false,
235
+ "special": true
236
+ }
237
+ },
238
+ "additional_special_tokens": [
239
+ "<|audio_comp_start|>",
240
+ "<|audio_comp_span|>",
241
+ "<|audio_comp_end|>",
242
+ "<|audio_gen_start|>",
243
+ "<|audio_gen_span|>",
244
+ "<|audio_gen_end|>",
245
+ "<|text_cond_end|>"
246
+ ],
247
+ "bos_token": null,
248
+ "clean_up_tokenization_spaces": false,
249
+ "eos_token": "<|endoftext|>",
250
+ "errors": "replace",
251
+ "extra_special_tokens": {},
252
+ "model_max_length": 131072,
253
+ "pad_token": "<|endoftext|>",
254
+ "split_special_tokens": false,
255
+ "tokenizer_class": "Qwen2Tokenizer",
256
+ "unk_token": null
257
+ }
models/dots-tts-mlx/int8/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
models/dots-tts-mlx/int8/vocoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9786f810cc674ea13f84c0a163186d6d73ce2c0edbb63b08aaacccd90cb613a1
3
+ size 361798651
models/dots-tts-mlx/languages.txt ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ English
2
+ Chinese
3
+ Yue Chinese
4
+ Japanese
5
+ Korean
6
+ French
7
+ German
8
+ Spanish
9
+ Italian
10
+ Portuguese
11
+ Dutch
12
+ Russian
13
+ Ukrainian
14
+ Polish
15
+ Czech
16
+ Romanian
17
+ Greek
18
+ Finnish
19
+ Turkish
20
+ Arabic
21
+ Hindi
22
+ Vietnamese
23
+ Indonesian
24
+ Thai
models/dots-tts-mlx/mf-int4/config.json ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "dots_tts",
3
+ "latent_dim": 128,
4
+ "patch_size": 4,
5
+ "cfg_droprate": 0.2,
6
+ "LLM": {
7
+ "model_name_or_path": "/prodcpfs/user/jiatu/logs/qwen25_15b"
8
+ },
9
+ "PatchEncoder": {
10
+ "num_layers": 24,
11
+ "num_heads": 16,
12
+ "hidden_size": 1024,
13
+ "ffn_hidden_size": 4096,
14
+ "modulation": false,
15
+ "qkv_bias": false,
16
+ "qk_norm": true,
17
+ "attn_dropout": 0.0,
18
+ "dropout": 0.1,
19
+ "norm_layer": "RMSNorm",
20
+ "alibi_bias": false,
21
+ "rotary_bias": true,
22
+ "rotary_theta": 10000.0,
23
+ "input_dim": 128,
24
+ "causal": true
25
+ },
26
+ "DiT": {
27
+ "num_layers": 18,
28
+ "num_heads": 16,
29
+ "hidden_size": 1024,
30
+ "ffn_hidden_size": 4096,
31
+ "modulation": true,
32
+ "qkv_bias": false,
33
+ "qk_norm": true,
34
+ "attn_dropout": 0.0,
35
+ "dropout": 0.0,
36
+ "norm_layer": "RMSNorm",
37
+ "alibi_bias": false,
38
+ "rotary_bias": true,
39
+ "rotary_theta": 10000.0
40
+ },
41
+ "vocoder": {
42
+ "sample_rate": 48000,
43
+ "upsample_rates": [
44
+ 10,
45
+ 6,
46
+ 4,
47
+ 2,
48
+ 2,
49
+ 2
50
+ ],
51
+ "upsample_kernel_sizes": [
52
+ 20,
53
+ 12,
54
+ 8,
55
+ 4,
56
+ 4,
57
+ 4
58
+ ],
59
+ "upsample_initial_channel": 1536,
60
+ "resblock": "1",
61
+ "resblock_kernel_sizes": [
62
+ 3,
63
+ 7,
64
+ 11
65
+ ],
66
+ "resblock_dilation_sizes": [
67
+ [
68
+ 1,
69
+ 3,
70
+ 5
71
+ ],
72
+ [
73
+ 1,
74
+ 3,
75
+ 5
76
+ ],
77
+ [
78
+ 1,
79
+ 3,
80
+ 5
81
+ ]
82
+ ],
83
+ "downsample_rates": [
84
+ 2,
85
+ 2,
86
+ 2,
87
+ 4,
88
+ 6,
89
+ 10
90
+ ],
91
+ "downsample_channels": [
92
+ 12,
93
+ 24,
94
+ 48,
95
+ 96,
96
+ 192,
97
+ 384,
98
+ 768
99
+ ],
100
+ "activation": "snakebeta",
101
+ "snake_logscale": true,
102
+ "latent_dim": 128,
103
+ "causal": true,
104
+ "mi_num_layers": 4,
105
+ "causal_encoder": true,
106
+ "use_bias_at_final": false,
107
+ "use_tanh_at_final": false
108
+ },
109
+ "fm_sigma": 0.0,
110
+ "xvec_drop_rate": 0.2,
111
+ "campplus_embedding_size": 512,
112
+ "xvec_max_audio_seconds": 10.0,
113
+ "meanflow": {
114
+ "enabled": true,
115
+ "use_duration_embedding": true
116
+ },
117
+ "architectures": [
118
+ "DotsTTSForConditionalGeneration"
119
+ ],
120
+ "quantization": {
121
+ "bits": 4,
122
+ "group_size": 64,
123
+ "components": [
124
+ "llm"
125
+ ]
126
+ }
127
+ }
models/dots-tts-mlx/mf-int4/core.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40fdc537eb9982288d585b5a439e95beea7f378dd5d3db36f37b09f5267c39d2
3
+ size 2180661734
models/dots-tts-mlx/mf-int4/latent_stats.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fb11a77b710d3230345bd9b0985c075168832ef4b819af317159f31673aa21d
3
+ size 1524
models/dots-tts-mlx/mf-int4/llm_config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 151672,
3
+ "max_position_embeddings": 131072,
4
+ "hidden_size": 1536,
5
+ "intermediate_size": 8960,
6
+ "num_hidden_layers": 28,
7
+ "num_attention_heads": 12,
8
+ "use_sliding_window": false,
9
+ "sliding_window": null,
10
+ "max_window_layers": 28,
11
+ "num_key_value_heads": 2,
12
+ "hidden_act": "silu",
13
+ "initializer_range": 0.02,
14
+ "rms_norm_eps": 1e-06,
15
+ "use_cache": true,
16
+ "rope_theta": 1000000.0,
17
+ "rope_scaling": null,
18
+ "attention_dropout": 0.0,
19
+ "layer_types": [
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention"
48
+ ],
49
+ "return_dict": true,
50
+ "output_hidden_states": false,
51
+ "torchscript": false,
52
+ "dtype": "bfloat16",
53
+ "pruned_heads": {},
54
+ "tie_word_embeddings": true,
55
+ "chunk_size_feed_forward": 0,
56
+ "is_encoder_decoder": false,
57
+ "is_decoder": false,
58
+ "cross_attention_hidden_size": null,
59
+ "add_cross_attention": false,
60
+ "tie_encoder_decoder": false,
61
+ "architectures": [
62
+ "Qwen2ForCausalLM"
63
+ ],
64
+ "finetuning_task": null,
65
+ "id2label": {
66
+ "0": "LABEL_0",
67
+ "1": "LABEL_1"
68
+ },
69
+ "label2id": {
70
+ "LABEL_0": 0,
71
+ "LABEL_1": 1
72
+ },
73
+ "task_specific_params": null,
74
+ "problem_type": null,
75
+ "tokenizer_class": null,
76
+ "prefix": null,
77
+ "bos_token_id": 151643,
78
+ "pad_token_id": null,
79
+ "eos_token_id": 151643,
80
+ "sep_token_id": null,
81
+ "decoder_start_token_id": null,
82
+ "max_length": 20,
83
+ "min_length": 0,
84
+ "do_sample": false,
85
+ "early_stopping": false,
86
+ "num_beams": 1,
87
+ "temperature": 1.0,
88
+ "top_k": 50,
89
+ "top_p": 1.0,
90
+ "typical_p": 1.0,
91
+ "repetition_penalty": 1.0,
92
+ "length_penalty": 1.0,
93
+ "no_repeat_ngram_size": 0,
94
+ "encoder_no_repeat_ngram_size": 0,
95
+ "bad_words_ids": null,
96
+ "num_return_sequences": 1,
97
+ "output_scores": false,
98
+ "return_dict_in_generate": false,
99
+ "forced_bos_token_id": null,
100
+ "forced_eos_token_id": null,
101
+ "remove_invalid_values": false,
102
+ "exponential_decay_length_penalty": null,
103
+ "suppress_tokens": null,
104
+ "begin_suppress_tokens": null,
105
+ "num_beam_groups": 1,
106
+ "diversity_penalty": 0.0,
107
+ "_name_or_path": "",
108
+ "transformers_version": "4.57.0",
109
+ "model_type": "qwen2",
110
+ "use_mrope": false,
111
+ "tf_legacy_loss": false,
112
+ "use_bfloat16": false,
113
+ "output_attentions": false
114
+ }
models/dots-tts-mlx/mf-int4/speaker.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb418d38516cef3266c7c3cdf3da545f5c32ef1c477d629cc0c8b6a214d855c8
3
+ size 14633169
models/dots-tts-mlx/mf-int4/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|audio_comp_end|>": 151667,
5
+ "<|audio_comp_span|>": 151666,
6
+ "<|audio_comp_start|>": 151665,
7
+ "<|audio_gen_end|>": 151670,
8
+ "<|audio_gen_span|>": 151669,
9
+ "<|audio_gen_start|>": 151668,
10
+ "<|box_end|>": 151649,
11
+ "<|box_start|>": 151648,
12
+ "<|endoftext|>": 151643,
13
+ "<|file_sep|>": 151664,
14
+ "<|fim_middle|>": 151660,
15
+ "<|fim_pad|>": 151662,
16
+ "<|fim_prefix|>": 151659,
17
+ "<|fim_suffix|>": 151661,
18
+ "<|im_end|>": 151645,
19
+ "<|im_start|>": 151644,
20
+ "<|image_pad|>": 151655,
21
+ "<|object_ref_end|>": 151647,
22
+ "<|object_ref_start|>": 151646,
23
+ "<|quad_end|>": 151651,
24
+ "<|quad_start|>": 151650,
25
+ "<|repo_name|>": 151663,
26
+ "<|text_cond_end|>": 151671,
27
+ "<|video_pad|>": 151656,
28
+ "<|vision_end|>": 151653,
29
+ "<|vision_pad|>": 151654,
30
+ "<|vision_start|>": 151652
31
+ }
models/dots-tts-mlx/mf-int4/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
models/dots-tts-mlx/mf-int4/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/dots-tts-mlx/mf-int4/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|audio_comp_start|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<|audio_comp_span|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<|audio_comp_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ {
25
+ "content": "<|audio_gen_start|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ {
32
+ "content": "<|audio_gen_span|>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
38
+ {
39
+ "content": "<|audio_gen_end|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false
44
+ },
45
+ {
46
+ "content": "<|text_cond_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false
51
+ }
52
+ ],
53
+ "eos_token": {
54
+ "content": "<|endoftext|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false
59
+ },
60
+ "pad_token": {
61
+ "content": "<|endoftext|>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false
66
+ }
67
+ }
models/dots-tts-mlx/mf-int4/tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c16521f66774c7a4774e5303b7c8ec5c99830c0be5aef6c6edde3ca2a5e05dd0
3
+ size 11423263
models/dots-tts-mlx/mf-int4/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<|audio_comp_start|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "151666": {
190
+ "content": "<|audio_comp_span|>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "151667": {
198
+ "content": "<|audio_comp_end|>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ },
205
+ "151668": {
206
+ "content": "<|audio_gen_start|>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": true
212
+ },
213
+ "151669": {
214
+ "content": "<|audio_gen_span|>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": true
220
+ },
221
+ "151670": {
222
+ "content": "<|audio_gen_end|>",
223
+ "lstrip": false,
224
+ "normalized": false,
225
+ "rstrip": false,
226
+ "single_word": false,
227
+ "special": true
228
+ },
229
+ "151671": {
230
+ "content": "<|text_cond_end|>",
231
+ "lstrip": false,
232
+ "normalized": false,
233
+ "rstrip": false,
234
+ "single_word": false,
235
+ "special": true
236
+ }
237
+ },
238
+ "additional_special_tokens": [
239
+ "<|audio_comp_start|>",
240
+ "<|audio_comp_span|>",
241
+ "<|audio_comp_end|>",
242
+ "<|audio_gen_start|>",
243
+ "<|audio_gen_span|>",
244
+ "<|audio_gen_end|>",
245
+ "<|text_cond_end|>"
246
+ ],
247
+ "bos_token": null,
248
+ "clean_up_tokenization_spaces": false,
249
+ "eos_token": "<|endoftext|>",
250
+ "errors": "replace",
251
+ "extra_special_tokens": {},
252
+ "model_max_length": 131072,
253
+ "pad_token": "<|endoftext|>",
254
+ "split_special_tokens": false,
255
+ "tokenizer_class": "Qwen2Tokenizer",
256
+ "unk_token": null
257
+ }
models/dots-tts-mlx/mf-int4/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
models/dots-tts-mlx/mf-int4/vocoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9786f810cc674ea13f84c0a163186d6d73ce2c0edbb63b08aaacccd90cb613a1
3
+ size 361798651