feat(gpt): add safetensor models
Browse files- asset/Embed.safetensors +3 -0
- asset/gpt/config.json +34 -0
- asset/gpt/model.safetensors +3 -0
asset/Embed.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ff0be7134934155741b643b74e32fb6bf3eec41257984459b2ed60cdb4c48b0
|
3 |
+
size 145598536
|
asset/gpt/config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/Users/fumiama/Documents/src/ChatTTS/asset/gpt",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaModel"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_audio_tokens": 626,
|
19 |
+
"num_hidden_layers": 20,
|
20 |
+
"num_key_value_heads": 12,
|
21 |
+
"num_text_tokens": 21178,
|
22 |
+
"num_vq": 4,
|
23 |
+
"pretraining_tp": 1,
|
24 |
+
"rms_norm_eps": 1e-06,
|
25 |
+
"rope_scaling": null,
|
26 |
+
"rope_theta": 10000.0,
|
27 |
+
"spk_KL": false,
|
28 |
+
"spk_emb_dim": 192,
|
29 |
+
"tie_word_embeddings": false,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.41.2",
|
32 |
+
"use_cache": false,
|
33 |
+
"vocab_size": 32000
|
34 |
+
}
|
asset/gpt/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd0806fd971f52f6a22c923ec64982b305e817bcc41ca83417fcf9141b984a0f
|
3 |
+
size 853423872
|