Upload T5ForConditionalGeneration
Browse files- config.json +34 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/data/dannykm/repos/SWC/data_capstone/models/ul2/checkpoint-85620",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"classifier_dropout": 0.0,
|
8 |
+
"d_ff": 3072,
|
9 |
+
"d_kv": 64,
|
10 |
+
"d_model": 768,
|
11 |
+
"decoder_start_token_id": 0,
|
12 |
+
"dense_act_fn": "silu",
|
13 |
+
"dropout_rate": 0.1,
|
14 |
+
"eos_token_id": 1,
|
15 |
+
"feed_forward_proj": "gated-silu",
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"is_encoder_decoder": true,
|
19 |
+
"is_gated_act": true,
|
20 |
+
"layer_norm_eps": 1e-06,
|
21 |
+
"layer_norm_epsilon": 1e-06,
|
22 |
+
"model_type": "t5",
|
23 |
+
"n_positions": 512,
|
24 |
+
"num_decoder_layers": 12,
|
25 |
+
"num_heads": 12,
|
26 |
+
"num_layers": 12,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"relative_attention_max_distance": 128,
|
29 |
+
"relative_attention_num_buckets": 32,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.35.1",
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 32128
|
34 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.35.1"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20563bc99645ec2bc3c8d3aa9ff504163aeab30417b9be6c6ce140d9dcaa2380
|
3 |
+
size 1118140200
|