valhalla commited on
Commit
d836606
1 Parent(s): 75c8efc

add flax model

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +7 -19
  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
@@ -8,52 +8,40 @@
8
  "attention_dropout": 0.0,
9
  "bos_token_id": 0,
10
  "classif_dropout": 0.0,
 
11
  "d_model": 1024,
12
  "decoder_attention_heads": 16,
13
  "decoder_ffn_dim": 4096,
14
  "decoder_layerdrop": 0.0,
15
  "decoder_layers": 12,
16
- "do_sample": false,
17
  "dropout": 0.1,
18
- "early_stopping": false,
19
  "encoder_attention_heads": 16,
20
  "encoder_ffn_dim": 4096,
21
  "encoder_layerdrop": 0.0,
22
  "encoder_layers": 12,
23
  "eos_token_id": 2,
24
- "finetuning_task": null,
 
25
  "id2label": {
26
  "0": "contradiction",
27
  "1": "neutral",
28
  "2": "entailment"
29
  },
30
  "init_std": 0.02,
31
- "is_decoder": false,
32
  "is_encoder_decoder": true,
33
  "label2id": {
34
  "contradiction": 0,
35
  "entailment": 2,
36
  "neutral": 1
37
  },
38
- "length_penalty": 1.0,
39
- "max_length": 20,
40
  "max_position_embeddings": 1024,
41
- "min_length": 0,
42
  "model_type": "bart",
43
- "no_repeat_ngram_size": 0,
44
- "num_beams": 1,
45
  "num_hidden_layers": 12,
46
- "num_return_sequences": 1,
47
- "output_attentions": false,
48
- "output_hidden_states": false,
49
  "output_past": false,
50
  "pad_token_id": 1,
51
- "pruned_heads": {},
52
- "repetition_penalty": 1.0,
53
- "temperature": 1.0,
54
- "top_k": 50,
55
- "top_p": 1.0,
56
- "torchscript": false,
57
- "use_bfloat16": false,
58
  "vocab_size": 50265
59
  }
 
8
  "attention_dropout": 0.0,
9
  "bos_token_id": 0,
10
  "classif_dropout": 0.0,
11
+ "classifier_dropout": 0.0,
12
  "d_model": 1024,
13
  "decoder_attention_heads": 16,
14
  "decoder_ffn_dim": 4096,
15
  "decoder_layerdrop": 0.0,
16
  "decoder_layers": 12,
17
+ "decoder_start_token_id": 2,
18
  "dropout": 0.1,
 
19
  "encoder_attention_heads": 16,
20
  "encoder_ffn_dim": 4096,
21
  "encoder_layerdrop": 0.0,
22
  "encoder_layers": 12,
23
  "eos_token_id": 2,
24
+ "forced_eos_token_id": 2,
25
+ "gradient_checkpointing": false,
26
  "id2label": {
27
  "0": "contradiction",
28
  "1": "neutral",
29
  "2": "entailment"
30
  },
31
  "init_std": 0.02,
 
32
  "is_encoder_decoder": true,
33
  "label2id": {
34
  "contradiction": 0,
35
  "entailment": 2,
36
  "neutral": 1
37
  },
 
 
38
  "max_position_embeddings": 1024,
 
39
  "model_type": "bart",
 
 
40
  "num_hidden_layers": 12,
 
 
 
41
  "output_past": false,
42
  "pad_token_id": 1,
43
+ "scale_embedding": false,
44
+ "transformers_version": "4.7.0.dev0",
45
+ "use_cache": true,
 
 
 
 
46
  "vocab_size": 50265
47
  }
flax_model.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cea25662c8c2d19f61ec3f271d41fad7d83b2b4218e5e2a8926744f053f6b46
3
+ size 1629394629