AyoubChLin commited on
Commit
d5bc1c9
1 Parent(s): 2814637

Upload BartForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +82 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ModelTC/bart-base-mnli",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForSequenceClassification"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 2,
27
+ "finetuning_task": "mnli",
28
+ "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1",
33
+ "2": "LABEL_2",
34
+ "3": "LABEL_3",
35
+ "4": "LABEL_4",
36
+ "5": "LABEL_5"
37
+ },
38
+ "init_std": 0.02,
39
+ "is_encoder_decoder": true,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1,
43
+ "LABEL_2": 2,
44
+ "LABEL_3": 3,
45
+ "LABEL_4": 4,
46
+ "LABEL_5": 5
47
+ },
48
+ "max_position_embeddings": 1024,
49
+ "model_type": "bart",
50
+ "no_repeat_ngram_size": 3,
51
+ "normalize_before": false,
52
+ "normalize_embedding": true,
53
+ "num_beams": 4,
54
+ "num_hidden_layers": 6,
55
+ "pad_token_id": 1,
56
+ "problem_type": "single_label_classification",
57
+ "scale_embedding": false,
58
+ "task_specific_params": {
59
+ "summarization": {
60
+ "length_penalty": 1.0,
61
+ "max_length": 128,
62
+ "min_length": 12,
63
+ "num_beams": 4
64
+ },
65
+ "summarization_cnn": {
66
+ "length_penalty": 2.0,
67
+ "max_length": 142,
68
+ "min_length": 56,
69
+ "num_beams": 4
70
+ },
71
+ "summarization_xsum": {
72
+ "length_penalty": 1.0,
73
+ "max_length": 62,
74
+ "min_length": 11,
75
+ "num_beams": 6
76
+ }
77
+ },
78
+ "torch_dtype": "float32",
79
+ "transformers_version": "4.27.4",
80
+ "use_cache": true,
81
+ "vocab_size": 50265
82
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de593ead7b6f63572ead1ddbf19fc10ff7160670e44472e6fffaab205db74585
3
+ size 560151849