mrapacz commited on
Commit
77780ab
·
verified ·
1 Parent(s): 9c1e975

Upload MorphT5AutoForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +6 -4
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "_name_or_path": "/net/tscratch/people/plgmrapacz/kairos/workspaces/exp512_2_INTMT-5165/best_model",
3
  "architectures": [
4
- "MT5ForConditionalGeneration"
5
  ],
6
  "d_ff": 2816,
7
  "d_kv": 64,
@@ -15,7 +15,9 @@
15
  "is_encoder_decoder": true,
16
  "is_gated_act": true,
17
  "layer_norm_epsilon": 1e-06,
18
- "model_type": "mt5",
 
 
19
  "num_decoder_layers": 24,
20
  "num_heads": 16,
21
  "num_layers": 24,
@@ -24,7 +26,7 @@
24
  "relative_attention_max_distance": 128,
25
  "relative_attention_num_buckets": 32,
26
  "tie_word_embeddings": false,
27
- "tokenizer_class": "T5Tokenizer",
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.31.0",
30
  "use_cache": true,
 
1
  {
2
+ "_name_or_path": "../workspaces/exp512_3_INTMT-5987/best_model",
3
  "architectures": [
4
+ "MorphT5AutoForConditionalGeneration"
5
  ],
6
  "d_ff": 2816,
7
  "d_kv": 64,
 
15
  "is_encoder_decoder": true,
16
  "is_gated_act": true,
17
  "layer_norm_epsilon": 1e-06,
18
+ "model_type": "morph-t5-auto",
19
+ "morph_compressed_embedding_size": 64,
20
+ "morph_vocabulary_size": 1074,
21
  "num_decoder_layers": 24,
22
  "num_heads": 16,
23
  "num_layers": 24,
 
26
  "relative_attention_max_distance": 128,
27
  "relative_attention_num_buckets": 32,
28
  "tie_word_embeddings": false,
29
+ "tokenizer_class": "morpht5.tokenizer.morph_t5_tokenizer.MorphT5Tokenizer",
30
  "torch_dtype": "float32",
31
  "transformers_version": "4.31.0",
32
  "use_cache": true,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d10cb1607d1f852ea52f3f44eca8b2234faf7f48acba43e7a3ee9edf04abb0a4
3
- size 4918438050
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c6c199bf22ad9e2605160553aa4eb3e0ec37526a0e0f6d36a16d9afdbfac85
3
+ size 4918980130