floriangardin
commited on
Commit
·
26bbc88
1
Parent(s):
ecc4168
Upload model
Browse files- config.json +7 -8
- generation_config.json +2 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,21 +1,20 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "floriangardin/musiclang_optimized",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
-
"bos_token_id":
|
9 |
"embd_pdrop": 0.1,
|
10 |
-
"eos_token_id":
|
11 |
"initializer_range": 0.02,
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
14 |
-
"n_embd":
|
15 |
-
"n_head":
|
16 |
"n_inner": null,
|
17 |
-
"n_layer":
|
18 |
-
"n_positions":
|
19 |
"reorder_and_upcast_attn": false,
|
20 |
"resid_pdrop": 0.1,
|
21 |
"scale_attn_by_inverse_layer_idx": false,
|
@@ -28,5 +27,5 @@
|
|
28 |
"torch_dtype": "float32",
|
29 |
"transformers_version": "4.29.2",
|
30 |
"use_cache": true,
|
31 |
-
"vocab_size":
|
32 |
}
|
|
|
1 |
{
|
|
|
2 |
"activation_function": "gelu_new",
|
3 |
"architectures": [
|
4 |
"GPT2LMHeadModel"
|
5 |
],
|
6 |
"attn_pdrop": 0.1,
|
7 |
+
"bos_token_id": 1,
|
8 |
"embd_pdrop": 0.1,
|
9 |
+
"eos_token_id": 2,
|
10 |
"initializer_range": 0.02,
|
11 |
"layer_norm_epsilon": 1e-05,
|
12 |
"model_type": "gpt2",
|
13 |
+
"n_embd": 384,
|
14 |
+
"n_head": 8,
|
15 |
"n_inner": null,
|
16 |
+
"n_layer": 8,
|
17 |
+
"n_positions": 256,
|
18 |
"reorder_and_upcast_attn": false,
|
19 |
"resid_pdrop": 0.1,
|
20 |
"scale_attn_by_inverse_layer_idx": false,
|
|
|
27 |
"torch_dtype": "float32",
|
28 |
"transformers_version": "4.29.2",
|
29 |
"use_cache": true,
|
30 |
+
"vocab_size": 293
|
31 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
"transformers_version": "4.29.2"
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
"transformers_version": "4.29.2"
|
6 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36bce98a9c8346fce885a1384bc077c3c6b92f3b8a5a4435da092be50e84a8af
|
3 |
+
size 58189405
|