Add tf_weights
Browse files- config.json +6 -6
- tf_model.h5 +2 -2
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "relu",
|
4 |
"architectures": [
|
@@ -6,23 +7,22 @@
|
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 2,
|
9 |
-
"hidden_size": 2048,
|
10 |
"do_layer_norm_before": true,
|
11 |
"dropout": 0.1,
|
12 |
"eos_token_id": 2,
|
13 |
"ffn_dim": 8192,
|
14 |
-
|
15 |
"init_std": 0.02,
|
16 |
"layerdrop": 0.0,
|
17 |
"max_position_embeddings": 2048,
|
|
|
18 |
"num_attention_heads": 32,
|
19 |
"num_hidden_layers": 24,
|
20 |
"pad_token_id": 1,
|
|
|
21 |
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.
|
23 |
-
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 50272,
|
26 |
-
"word_embed_proj_dim": 2048
|
27 |
-
"prefix": "</s>"
|
28 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "opt-1.3b",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "relu",
|
5 |
"architectures": [
|
|
|
7 |
],
|
8 |
"attention_dropout": 0.0,
|
9 |
"bos_token_id": 2,
|
|
|
10 |
"do_layer_norm_before": true,
|
11 |
"dropout": 0.1,
|
12 |
"eos_token_id": 2,
|
13 |
"ffn_dim": 8192,
|
14 |
+
"hidden_size": 2048,
|
15 |
"init_std": 0.02,
|
16 |
"layerdrop": 0.0,
|
17 |
"max_position_embeddings": 2048,
|
18 |
+
"model_type": "opt",
|
19 |
"num_attention_heads": 32,
|
20 |
"num_hidden_layers": 24,
|
21 |
"pad_token_id": 1,
|
22 |
+
"prefix": "</s>",
|
23 |
"torch_dtype": "float16",
|
24 |
+
"transformers_version": "4.20.0.dev0",
|
|
|
25 |
"use_cache": true,
|
26 |
"vocab_size": 50272,
|
27 |
+
"word_embed_proj_dim": 2048
|
|
|
28 |
}
|
tf_model.h5
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:774f854fb3f9f6723cfec007648e34f33457144ebdbd0b361a6edbef2777f371
|
3 |
+
size 2631916344
|