potsawee commited on
Commit
45ee71e
1 Parent(s): 66a888f

Upload LongformerForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +63 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "classifier_dropout": null,
36
+ "eos_token_id": 2,
37
+ "gradient_checkpointing": false,
38
+ "hidden_act": "gelu",
39
+ "hidden_dropout_prob": 0.1,
40
+ "hidden_size": 1024,
41
+ "id2label": {
42
+ "0": "LABEL_0"
43
+ },
44
+ "ignore_attention_mask": false,
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 4096,
47
+ "label2id": {
48
+ "LABEL_0": 0
49
+ },
50
+ "layer_norm_eps": 1e-05,
51
+ "max_position_embeddings": 4098,
52
+ "model_type": "longformer",
53
+ "num_attention_heads": 16,
54
+ "num_hidden_layers": 24,
55
+ "onnx_export": false,
56
+ "pad_token_id": 1,
57
+ "position_embedding_type": "absolute",
58
+ "sep_token_id": 2,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.26.1",
61
+ "type_vocab_size": 1,
62
+ "vocab_size": 50265
63
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94930d9f47f9e06a15fade909b3e21be646dcfd0b3cf49904f8fc126383a23e9
3
+ size 1738592399