Shanny commited on
Commit
a0f5625
1 Parent(s): 1b8f28d

Upload LongformerForMaskedLM

Browse files
Files changed (2) hide show
  1. config.json +35 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Shanny/Longformer_Unigram",
3
+ "architectures": [
4
+ "LongformerForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "attention_window": [
8
+ 40,
9
+ 40,
10
+ 40,
11
+ 40
12
+ ],
13
+ "bos_token_id": 0,
14
+ "classifier_dropout": null,
15
+ "eos_token_id": 2,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.1,
18
+ "hidden_size": 256,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 512,
21
+ "layer_norm_eps": 1e-12,
22
+ "max_position_embeddings": 16384,
23
+ "model_type": "longformer",
24
+ "num_attention_heads": 4,
25
+ "num_hidden_layers": 4,
26
+ "onnx_export": false,
27
+ "pad_token_id": 1,
28
+ "position_embedding_type": "relative_key_query",
29
+ "sep_token_id": 2,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.25.1",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 3634
35
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e03eaab9b0cc22216e05be1ab2bbde3c561290f727c8a9ab5729b460cc6cb86c
3
+ size 32406719