patrickvonplaten commited on
Commit
d85f52d
1 Parent(s): 8dfcefb

upload tf model

Browse files
Files changed (2) hide show
  1. config.json +5 -1
  2. tf_model.h5 +3 -0
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "gelu",
4
  "add_bias_logits": false,
@@ -15,6 +16,7 @@
15
  "decoder_ffn_dim": 5120,
16
  "decoder_layerdrop": 0.0,
17
  "decoder_layers": 12,
 
18
  "do_blenderbot_90_layernorm": true,
19
  "dropout": 0.1,
20
  "encoder_attention_heads": 32,
@@ -25,6 +27,7 @@
25
  "extra_layer_norm": false,
26
  "extra_pos_embeddings": 0,
27
  "force_bos_token_to_be_generated": false,
 
28
  "id2label": {
29
  "0": "LABEL_0",
30
  "1": "LABEL_1",
@@ -42,7 +45,7 @@
42
  "max_length": 60,
43
  "max_position_embeddings": 128,
44
  "min_length": 20,
45
- "model_type": "bart",
46
  "no_repeat_ngram_size": 3,
47
  "normalize_before": true,
48
  "normalize_embedding": false,
@@ -51,6 +54,7 @@
51
  "pad_token_id": 0,
52
  "scale_embedding": true,
53
  "static_position_embeddings": false,
 
54
  "unk_token_id": 3,
55
  "use_cache": true,
56
  "vocab_size": 8008
 
1
  {
2
+ "_name_or_path": "./",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "add_bias_logits": false,
 
16
  "decoder_ffn_dim": 5120,
17
  "decoder_layerdrop": 0.0,
18
  "decoder_layers": 12,
19
+ "decoder_start_token_id": 1,
20
  "do_blenderbot_90_layernorm": true,
21
  "dropout": 0.1,
22
  "encoder_attention_heads": 32,
 
27
  "extra_layer_norm": false,
28
  "extra_pos_embeddings": 0,
29
  "force_bos_token_to_be_generated": false,
30
+ "gradient_checkpointing": false,
31
  "id2label": {
32
  "0": "LABEL_0",
33
  "1": "LABEL_1",
 
45
  "max_length": 60,
46
  "max_position_embeddings": 128,
47
  "min_length": 20,
48
+ "model_type": "blenderbot",
49
  "no_repeat_ngram_size": 3,
50
  "normalize_before": true,
51
  "normalize_embedding": false,
 
54
  "pad_token_id": 0,
55
  "scale_embedding": true,
56
  "static_position_embeddings": false,
57
+ "transformers_version": "4.2.0dev0",
58
  "unk_token_id": 3,
59
  "use_cache": true,
60
  "vocab_size": 8008
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fcd8f7e4b528fae6a97bd32b386ec02dec91f864dffdcdcc1f2d51ea898e793
3
+ size 1459579344