valhalla
HF staff
commited on
Commit
3906683
1 Parent(s): d6db600

add flax model

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +13 -1
  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
@@ -1,6 +1,5 @@
1
  {
2
  "_num_labels": 3,
3
- "num_labels": 2,
4
  "activation_dropout": 0.0,
5
  "activation_function": "gelu",
6
  "add_bias_logits": false,
@@ -11,6 +10,7 @@
11
  "attention_dropout": 0.0,
12
  "bos_token_id": 0,
13
  "classif_dropout": 0.0,
 
14
  "d_model": 1024,
15
  "decoder_attention_heads": 16,
16
  "decoder_ffn_dim": 4096,
@@ -23,8 +23,18 @@
23
  "encoder_layerdrop": 0.0,
24
  "encoder_layers": 12,
25
  "eos_token_id": 2,
 
 
 
 
 
 
26
  "init_std": 0.02,
27
  "is_encoder_decoder": true,
 
 
 
 
28
  "max_position_embeddings": 1024,
29
  "model_type": "bart",
30
  "normalize_before": false,
@@ -45,5 +55,7 @@
45
  "num_beams": 4
46
  }
47
  },
 
 
48
  "vocab_size": 50265
49
  }
1
  {
2
  "_num_labels": 3,
 
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "add_bias_logits": false,
10
  "attention_dropout": 0.0,
11
  "bos_token_id": 0,
12
  "classif_dropout": 0.0,
13
+ "classifier_dropout": 0.0,
14
  "d_model": 1024,
15
  "decoder_attention_heads": 16,
16
  "decoder_ffn_dim": 4096,
23
  "encoder_layerdrop": 0.0,
24
  "encoder_layers": 12,
25
  "eos_token_id": 2,
26
+ "forced_eos_token_id": 2,
27
+ "gradient_checkpointing": false,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1"
31
+ },
32
  "init_std": 0.02,
33
  "is_encoder_decoder": true,
34
+ "label2id": {
35
+ "LABEL_0": 0,
36
+ "LABEL_1": 1
37
+ },
38
  "max_position_embeddings": 1024,
39
  "model_type": "bart",
40
  "normalize_before": false,
55
  "num_beams": 4
56
  }
57
  },
58
+ "transformers_version": "4.7.0.dev0",
59
+ "use_cache": true,
60
  "vocab_size": 50265
61
  }
flax_model.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be4d45b438dca146cd7a02e1e8de94587512a1e798565d84aea9ffc9004cac37
3
+ size 1625192044