climate-nlp commited on
Commit
c177b5d
1 Parent(s): dfb346b

Upload LongformerForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +65 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "log/neurips_log/longformer-large-4096/1_detect_evidence",
3
+ "architectures": [
4
+ "LongformerForSequenceClassification"
5
+ ],
6
+ "attention_mode": "longformer",
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "attention_window": [
9
+ 512,
10
+ 512,
11
+ 512,
12
+ 512,
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512,
20
+ 512,
21
+ 512,
22
+ 512,
23
+ 512,
24
+ 512,
25
+ 512,
26
+ 512,
27
+ 512,
28
+ 512,
29
+ 512,
30
+ 512,
31
+ 512,
32
+ 512
33
+ ],
34
+ "bos_token_id": 0,
35
+ "eos_token_id": 2,
36
+ "gradient_checkpointing": false,
37
+ "hidden_act": "gelu",
38
+ "hidden_dropout_prob": 0.1,
39
+ "hidden_size": 1024,
40
+ "id2label": {
41
+ "0": "evidence",
42
+ "1": "none"
43
+ },
44
+ "ignore_attention_mask": false,
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 4096,
47
+ "label2id": {
48
+ "evidence": 0,
49
+ "none": 1
50
+ },
51
+ "layer_norm_eps": 1e-05,
52
+ "max_position_embeddings": 4098,
53
+ "model_type": "longformer",
54
+ "num_attention_heads": 16,
55
+ "num_hidden_layers": 24,
56
+ "onnx_export": false,
57
+ "pad_token_id": 1,
58
+ "position_embedding_type": "absolute",
59
+ "problem_type": "single_label_classification",
60
+ "sep_token_id": 2,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.28.0.dev0",
63
+ "type_vocab_size": 1,
64
+ "vocab_size": 50265
65
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c08cd892a9309302f71dae1317d21a8b14ab76df09ec01238d1cf500a77d1087
3
+ size 1738592817