IceKingBing
commited on
Commit
•
6a2098e
1
Parent(s):
407e737
Upload folder using huggingface_hub
Browse files- config.json +62 -0
- generation_config.json +8 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ShashiVish/t5-small-fine-tune-cover-letter",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 512,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "relu",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "relu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": false,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"max_length": 512,
|
20 |
+
"model_type": "t5",
|
21 |
+
"n_positions": 512,
|
22 |
+
"num_decoder_layers": 6,
|
23 |
+
"num_heads": 8,
|
24 |
+
"num_layers": 6,
|
25 |
+
"output_past": true,
|
26 |
+
"pad_token_id": 0,
|
27 |
+
"relative_attention_max_distance": 128,
|
28 |
+
"relative_attention_num_buckets": 32,
|
29 |
+
"task_specific_params": {
|
30 |
+
"summarization": {
|
31 |
+
"early_stopping": true,
|
32 |
+
"length_penalty": 2.0,
|
33 |
+
"max_length": 200,
|
34 |
+
"min_length": 30,
|
35 |
+
"no_repeat_ngram_size": 3,
|
36 |
+
"num_beams": 4,
|
37 |
+
"prefix": "summarize: "
|
38 |
+
},
|
39 |
+
"translation_en_to_de": {
|
40 |
+
"early_stopping": true,
|
41 |
+
"max_length": 300,
|
42 |
+
"num_beams": 4,
|
43 |
+
"prefix": "translate English to German: "
|
44 |
+
},
|
45 |
+
"translation_en_to_fr": {
|
46 |
+
"early_stopping": true,
|
47 |
+
"max_length": 300,
|
48 |
+
"num_beams": 4,
|
49 |
+
"prefix": "translate English to French: "
|
50 |
+
},
|
51 |
+
"translation_en_to_ro": {
|
52 |
+
"early_stopping": true,
|
53 |
+
"max_length": 300,
|
54 |
+
"num_beams": 4,
|
55 |
+
"prefix": "translate English to Romanian: "
|
56 |
+
}
|
57 |
+
},
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.38.2",
|
60 |
+
"use_cache": true,
|
61 |
+
"vocab_size": 32128
|
62 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"max_length": 512,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.38.2"
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:602a9e974b1a45a14981654c1bab1c983008b5cd624f91d11fdbf26c95eb00ec
|
3 |
+
size 242041896
|