codestylist commited on
Commit
d8e0d7c
1 Parent(s): 55b3405

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +5 -8
config.json CHANGED
@@ -1,11 +1,5 @@
1
  {
2
- "_name_or_path": "Salesforce/codet5-small",
3
- "adapters": {
4
- "adapters": {},
5
- "config_map": {},
6
- "fusion_config_map": {},
7
- "fusions": {}
8
- },
9
  "architectures": [
10
  "T5ForConditionalGeneration"
11
  ],
@@ -14,6 +8,7 @@
14
  "d_kv": 64,
15
  "d_model": 512,
16
  "decoder_start_token_id": 0,
 
17
  "dropout_rate": 0.1,
18
  "eos_token_id": 2,
19
  "feed_forward_proj": "relu",
@@ -23,6 +18,7 @@
23
  },
24
  "initializer_factor": 1.0,
25
  "is_encoder_decoder": true,
 
26
  "label2id": {
27
  "LABEL_0": 0
28
  },
@@ -35,6 +31,7 @@
35
  "num_layers": 6,
36
  "output_past": true,
37
  "pad_token_id": 0,
 
38
  "relative_attention_num_buckets": 32,
39
  "task_specific_params": {
40
  "summarization": {
@@ -66,7 +63,7 @@
66
  }
67
  },
68
  "torch_dtype": "float32",
69
- "transformers_version": "4.17.0",
70
  "use_cache": true,
71
  "vocab_size": 32100
72
  }
 
1
  {
2
+ "_name_or_path": "/data/users/team2_capstone/code-style-probing//seq2seq_results/outlier_class_codet5small/checkpoint-22000",
 
 
 
 
 
 
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
8
  "d_kv": 64,
9
  "d_model": 512,
10
  "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
  "dropout_rate": 0.1,
13
  "eos_token_id": 2,
14
  "feed_forward_proj": "relu",
 
18
  },
19
  "initializer_factor": 1.0,
20
  "is_encoder_decoder": true,
21
+ "is_gated_act": false,
22
  "label2id": {
23
  "LABEL_0": 0
24
  },
 
31
  "num_layers": 6,
32
  "output_past": true,
33
  "pad_token_id": 0,
34
+ "relative_attention_max_distance": 128,
35
  "relative_attention_num_buckets": 32,
36
  "task_specific_params": {
37
  "summarization": {
 
63
  }
64
  },
65
  "torch_dtype": "float32",
66
+ "transformers_version": "4.20.1",
67
  "use_cache": true,
68
  "vocab_size": 32100
69
  }