Add tf_weights
Browse files- config.json +6 -4
- tf_model.h5 +3 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"activation_dropout": 0.0,
|
| 3 |
"activation_function": "relu",
|
| 4 |
"architectures": [
|
|
@@ -6,10 +7,11 @@
|
|
| 6 |
],
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
"bos_token_id": 2,
|
| 9 |
-
"
|
| 10 |
"dropout": 0.1,
|
| 11 |
"eos_token_id": 2,
|
| 12 |
"ffn_dim": 20480,
|
|
|
|
| 13 |
"init_std": 0.02,
|
| 14 |
"layerdrop": 0.0,
|
| 15 |
"max_position_embeddings": 2048,
|
|
@@ -18,10 +20,10 @@
|
|
| 18 |
"num_hidden_layers": 40,
|
| 19 |
"output_projection": true,
|
| 20 |
"pad_token_id": 1,
|
|
|
|
| 21 |
"torch_dtype": "float16",
|
| 22 |
-
"transformers_version": "4.
|
| 23 |
"use_cache": true,
|
| 24 |
"vocab_size": 50272,
|
| 25 |
-
"word_embed_proj_dim": 5120
|
| 26 |
-
"prefix": "</s>"
|
| 27 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "opt-13b",
|
| 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": 20480,
|
| 14 |
+
"hidden_size": 5120,
|
| 15 |
"init_std": 0.02,
|
| 16 |
"layerdrop": 0.0,
|
| 17 |
"max_position_embeddings": 2048,
|
|
|
|
| 20 |
"num_hidden_layers": 40,
|
| 21 |
"output_projection": true,
|
| 22 |
"pad_token_id": 1,
|
| 23 |
+
"prefix": "</s>",
|
| 24 |
"torch_dtype": "float16",
|
| 25 |
+
"transformers_version": "4.20.0.dev0",
|
| 26 |
"use_cache": true,
|
| 27 |
"vocab_size": 50272,
|
| 28 |
+
"word_embed_proj_dim": 5120
|
|
|
|
| 29 |
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a20cc56a6b64001adf2eb10a83825058b50bc8b4c33d5e8cbcb31ffba63467eb
|
| 3 |
+
size 25707608064
|