asahi417 commited on
Commit
26c8df5
1 Parent(s): 6153dc4
Files changed (2) hide show
  1. config.json +59 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "t5_large_subjqa_grocery/best_model",
3
+ "add_prefix": true,
4
+ "architectures": [
5
+ "T5ForConditionalGeneration"
6
+ ],
7
+ "d_ff": 4096,
8
+ "d_kv": 64,
9
+ "d_model": 1024,
10
+ "decoder_start_token_id": 0,
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "relu",
14
+ "gradient_checkpointing": false,
15
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "model_type": "t5",
19
+ "n_positions": 512,
20
+ "num_decoder_layers": 24,
21
+ "num_heads": 16,
22
+ "num_layers": 24,
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.18.0.dev0",
57
+ "use_cache": true,
58
+ "vocab_size": 32101
59
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:066e0547e4e112cc0908605b75fcdfbdca7cbe29f865d06c80f765a7643de3cc
3
+ size 2950786951