ybelkada
commited on
Commit
•
038d8e2
1
Parent(s):
81e83ae
add model weights
Browse files
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_router_probs": false,
|
3 |
+
"architectures": [
|
4 |
+
"SwitchTransformersForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 3072,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 768,
|
9 |
+
"decoder_sparse_step": 2,
|
10 |
+
"dense_act_fn": "relu",
|
11 |
+
"dropout_rate": 0.1,
|
12 |
+
"encoder_sparse_step": 2,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"expert_capacity": 64,
|
15 |
+
"feed_forward_proj": "relu",
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"is_encoder_decoder": true,
|
18 |
+
"is_gated_act": false,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"model_type": "switch_transformers",
|
21 |
+
"num_decoder_layers": 12,
|
22 |
+
"num_experts": 256,
|
23 |
+
"num_heads": 12,
|
24 |
+
"num_layers": 12,
|
25 |
+
"num_selected_experts": 1,
|
26 |
+
"num_sparse_decoder_layers": 6,
|
27 |
+
"num_sparse_encoder_layers": 6,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"relative_attention_max_distance": 128,
|
30 |
+
"relative_attention_num_buckets": 32,
|
31 |
+
"router_aux_loss_coef": 0.001,
|
32 |
+
"router_bias": false,
|
33 |
+
"router_dtype": "float32",
|
34 |
+
"router_ignore_padding_tokens": false,
|
35 |
+
"router_jitter_noise": 0.01,
|
36 |
+
"router_type": "tokens_masked",
|
37 |
+
"router_z_loss_coef": 0.001,
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.25.0.dev0",
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 32128
|
42 |
+
}
|
pytorch_model-00001-of-00006.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3a7a6f7663c6d746f1e074ef9abbf0112fbb7fe737933712657d72bec60a380
|
3 |
+
size 9897256881
|
pytorch_model-00002-of-00006.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c82ad10a4c43eee64a8fcd6e8def2fe70d00b5484f4cb8944322fd02fbc219e
|
3 |
+
size 9995946620
|
pytorch_model-00003-of-00006.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b10095bfb090ef0dd61103ad95c24bc54ef96e4e53b220d4c5fdf9703563a89
|
3 |
+
size 10000283463
|
pytorch_model-00004-of-00006.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3975c3ea86298c1d2874060e38a7df9309655f0ebccb64a5827c2b01c4265a43
|
3 |
+
size 9995964236
|
pytorch_model-00005-of-00006.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dad62810f78c961af78e4ccfbe963b9a03e46cc236aaa8d4270f7049655b9f48
|
3 |
+
size 9995964392
|
pytorch_model-00006-of-00006.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a9601a09c821b66534e726fc920a9a5fc38fc0cf07a008dcf233d51aaa29528
|
3 |
+
size 8970791205
|
pytorch_model.bin.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|