feat(gpt): add safetensor models (#29)
Browse files- feat(gpt): add safetensor models (3821c9860239710b6d7d51a316ecd8315e4dd71b)
- chore: remove platform info (36d4170962807962849b9df5cbe92a4b9e70c377)
Co-authored-by: 源文雨 <fumiama@users.noreply.huggingface.co>
- asset/Embed.safetensors +3 -0
- asset/gpt/config.json +33 -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,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaModel"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 768,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"max_position_embeddings": 4096,
|
14 |
+
"mlp_bias": false,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_audio_tokens": 626,
|
18 |
+
"num_hidden_layers": 20,
|
19 |
+
"num_key_value_heads": 12,
|
20 |
+
"num_text_tokens": 21178,
|
21 |
+
"num_vq": 4,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"rms_norm_eps": 1e-06,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 10000.0,
|
26 |
+
"spk_KL": false,
|
27 |
+
"spk_emb_dim": 192,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.41.2",
|
31 |
+
"use_cache": false,
|
32 |
+
"vocab_size": 32000
|
33 |
+
}
|
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
|