ymh0000 commited on
Commit
3891d19
1 Parent(s): a245321

Upload LongformerForMaskedLM

Browse files
Files changed (2) hide show
  1. config.json +42 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LongformerForMaskedLM"
4
+ ],
5
+ "attention_mode": "longformer",
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "attention_window": [
8
+ 512,
9
+ 512,
10
+ 512,
11
+ 512,
12
+ 512,
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512
20
+ ],
21
+ "bos_token_id": 2,
22
+ "cls_token_id": 4,
23
+ "eos_token_id": 3,
24
+ "hidden_act": "gelu",
25
+ "hidden_dropout_prob": 0.1,
26
+ "hidden_size": 768,
27
+ "ignore_attention_mask": false,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "layer_norm_eps": 1e-05,
31
+ "max_position_embeddings": 4098,
32
+ "model_type": "longformer",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "onnx_export": false,
36
+ "pad_token_id": 0,
37
+ "sep_token_id": 5,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.33.0",
40
+ "type_vocab_size": 2,
41
+ "vocab_size": 1428
42
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f964669f9a94b98733ae81cb8f41c7b6eba50c5d7cc28c879df94d5c41a44ba8
3
+ size 444717906