valhalla commited on
Commit
7676c09
1 Parent(s): 1861475

add flax model

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +7 -0
  3. flax_model.msgpack +3 -0
.gitattributes CHANGED
@@ -6,3 +6,4 @@
6
  *.tar.gz filter=lfs diff=lfs merge=lfs -text
7
  *.ot filter=lfs diff=lfs merge=lfs -text
8
  *.onnx filter=lfs diff=lfs merge=lfs -text
 
 
6
  *.tar.gz filter=lfs diff=lfs merge=lfs -text
7
  *.ot filter=lfs diff=lfs merge=lfs -text
8
  *.onnx filter=lfs diff=lfs merge=lfs -text
9
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
config.json CHANGED
@@ -3,9 +3,13 @@
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "add_final_layer_norm": false,
 
 
 
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 0,
8
  "classif_dropout": 0.0,
 
9
  "d_model": 1024,
10
  "decoder_attention_heads": 16,
11
  "decoder_ffn_dim": 4096,
@@ -22,6 +26,7 @@
22
  "force_bos_token_to_be_generated": true,
23
  "forced_bos_token_id": 0,
24
  "forced_eos_token_id": 2,
 
25
  "id2label": {
26
  "0": "LABEL_0",
27
  "1": "LABEL_1",
@@ -57,5 +62,7 @@
57
  "num_beams": 4
58
  }
59
  },
 
 
60
  "vocab_size": 50264
61
  }
 
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "add_final_layer_norm": false,
6
+ "architectures": [
7
+ "BartForConditionalGeneration"
8
+ ],
9
  "attention_dropout": 0.0,
10
  "bos_token_id": 0,
11
  "classif_dropout": 0.0,
12
+ "classifier_dropout": 0.0,
13
  "d_model": 1024,
14
  "decoder_attention_heads": 16,
15
  "decoder_ffn_dim": 4096,
 
26
  "force_bos_token_to_be_generated": true,
27
  "forced_bos_token_id": 0,
28
  "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
  "id2label": {
31
  "0": "LABEL_0",
32
  "1": "LABEL_1",
 
62
  "num_beams": 4
63
  }
64
  },
65
+ "transformers_version": "4.7.0.dev0",
66
+ "use_cache": true,
67
  "vocab_size": 50264
68
  }
flax_model.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dda1068890b2e54a98369501ceebbed19edfe184a45581c1ecd228e3f224a4bf
3
+ size 1625380786