climate-nlp commited on
Commit
b818095
1 Parent(s): b99c097

Upload LongformerForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +71 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "log/neurips_log/longformer-large-4096/3_classify_stance",
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": "no_position_or_mixed_position",
42
+ "1": "not_supporting",
43
+ "2": "opposing",
44
+ "3": "strongly_supporting",
45
+ "4": "supporting"
46
+ },
47
+ "ignore_attention_mask": false,
48
+ "initializer_range": 0.02,
49
+ "intermediate_size": 4096,
50
+ "label2id": {
51
+ "no_position_or_mixed_position": 0,
52
+ "not_supporting": 1,
53
+ "opposing": 2,
54
+ "strongly_supporting": 3,
55
+ "supporting": 4
56
+ },
57
+ "layer_norm_eps": 1e-05,
58
+ "max_position_embeddings": 4098,
59
+ "model_type": "longformer",
60
+ "num_attention_heads": 16,
61
+ "num_hidden_layers": 24,
62
+ "onnx_export": false,
63
+ "pad_token_id": 1,
64
+ "position_embedding_type": "absolute",
65
+ "problem_type": "single_label_classification",
66
+ "sep_token_id": 2,
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.28.0.dev0",
69
+ "type_vocab_size": 1,
70
+ "vocab_size": 50265
71
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18081d532c67d97fa3dfd3e994fe83d4b14cee54b4a4e11cd6e68dca8140b2ff
3
+ size 1738605105