hsuvaskakoty commited on
Commit
9aca4bf
1 Parent(s): f9da4b6

Upload LongformerForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +56 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/longformer-large-4096",
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
+ "ignore_attention_mask": false,
41
+ "initializer_range": 0.02,
42
+ "intermediate_size": 4096,
43
+ "layer_norm_eps": 1e-05,
44
+ "max_position_embeddings": 4098,
45
+ "model_type": "longformer",
46
+ "num_attention_heads": 16,
47
+ "num_hidden_layers": 24,
48
+ "onnx_export": false,
49
+ "pad_token_id": 1,
50
+ "problem_type": "single_label_classification",
51
+ "sep_token_id": 2,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.34.0",
54
+ "type_vocab_size": 1,
55
+ "vocab_size": 50265
56
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e45e63abb260d9e00ff39331661022b797f546bc87e88a106fd68203cb34ff
3
+ size 1738600369