liamcripwell commited on
Commit
66b042a
1 Parent(s): 4985073

Upload BartForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +88 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/srv/storage/synalp@talc-data2.nancy/liam/hf_models/ctrl_bart_4c_model/",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "class_labels": {
13
+ "delete": 3,
14
+ "ignore": 0,
15
+ "rephrase": 1,
16
+ "split": 2
17
+ },
18
+ "classif_dropout": 0.1,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 768,
21
+ "decoder_attention_heads": 12,
22
+ "decoder_ffn_dim": 3072,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 2,
26
+ "dropout": 0.1,
27
+ "early_stopping": true,
28
+ "encoder_attention_heads": 12,
29
+ "encoder_ffn_dim": 3072,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 2,
33
+ "forced_bos_token_id": 0,
34
+ "forced_eos_token_id": 2,
35
+ "gradient_checkpointing": false,
36
+ "id2label": {
37
+ "0": "LABEL_0",
38
+ "1": "LABEL_1",
39
+ "2": "LABEL_2"
40
+ },
41
+ "init_std": 0.02,
42
+ "is_encoder_decoder": true,
43
+ "label2id": {
44
+ "LABEL_0": 0,
45
+ "LABEL_1": 1,
46
+ "LABEL_2": 2
47
+ },
48
+ "max_length": 1024,
49
+ "max_position_embeddings": 1024,
50
+ "model_type": "bart",
51
+ "no_repeat_ngram_size": 3,
52
+ "normalize_before": false,
53
+ "normalize_embedding": true,
54
+ "num_beams": 4,
55
+ "num_hidden_layers": 6,
56
+ "op_tokens": [
57
+ "<COPY>",
58
+ "<REPHRASE>",
59
+ "<SPLIT>",
60
+ "<DELETE>"
61
+ ],
62
+ "pad_token_id": 1,
63
+ "scale_embedding": false,
64
+ "task_specific_params": {
65
+ "summarization": {
66
+ "length_penalty": 1.0,
67
+ "max_length": 128,
68
+ "min_length": 12,
69
+ "num_beams": 4
70
+ },
71
+ "summarization_cnn": {
72
+ "length_penalty": 2.0,
73
+ "max_length": 142,
74
+ "min_length": 56,
75
+ "num_beams": 4
76
+ },
77
+ "summarization_xsum": {
78
+ "length_penalty": 1.0,
79
+ "max_length": 62,
80
+ "min_length": 11,
81
+ "num_beams": 6
82
+ }
83
+ },
84
+ "torch_dtype": "float32",
85
+ "transformers_version": "4.23.1",
86
+ "use_cache": true,
87
+ "vocab_size": 50274
88
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85b7de8eabc218f95f0ebe3b3a30aec966da74a1c2017646ba74d70feac7bf08
3
+ size 557996857