elena-soare commited on
Commit
e87cff8
1 Parent(s): 9371a0a

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +59 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/drive/MyDrive/datasaur/t5-ecomerce-base",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "d_ff": 3072,
7
+ "d_kv": 64,
8
+ "d_model": 768,
9
+ "decoder_start_token_id": 0,
10
+ "diversity_penalty": null,
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "relu",
14
+ "initializer_factor": 1.0,
15
+ "is_encoder_decoder": true,
16
+ "layer_norm_epsilon": 1e-06,
17
+ "max_length": 512,
18
+ "model_type": "t5",
19
+ "n_positions": 512,
20
+ "num_decoder_layers": 12,
21
+ "num_heads": 12,
22
+ "num_layers": 12,
23
+ "output_past": true,
24
+ "pad_token_id": 0,
25
+ "relative_attention_num_buckets": 32,
26
+ "task_specific_params": {
27
+ "summarization": {
28
+ "early_stopping": true,
29
+ "length_penalty": 2.0,
30
+ "max_length": 200,
31
+ "min_length": 30,
32
+ "no_repeat_ngram_size": 3,
33
+ "num_beams": 4,
34
+ "prefix": "summarize: "
35
+ },
36
+ "translation_en_to_de": {
37
+ "early_stopping": true,
38
+ "max_length": 300,
39
+ "num_beams": 4,
40
+ "prefix": "translate English to German: "
41
+ },
42
+ "translation_en_to_fr": {
43
+ "early_stopping": true,
44
+ "max_length": 300,
45
+ "num_beams": 4,
46
+ "prefix": "translate English to French: "
47
+ },
48
+ "translation_en_to_ro": {
49
+ "early_stopping": true,
50
+ "max_length": 300,
51
+ "num_beams": 4,
52
+ "prefix": "translate English to Romanian: "
53
+ }
54
+ },
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.17.0",
57
+ "use_cache": true,
58
+ "vocab_size": 32102
59
+ }