DamiFur commited on
Commit
b33b69d
1 Parent(s): d595ebb

Upload LongformerForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +60 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/longformer-base-4096",
3
+ "architectures": [
4
+ "LongformerForTokenClassification"
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
+ ],
22
+ "bos_token_id": 0,
23
+ "eos_token_id": 2,
24
+ "gradient_checkpointing": false,
25
+ "hidden_act": "gelu",
26
+ "hidden_dropout_prob": 0.1,
27
+ "hidden_size": 768,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2",
32
+ "3": "LABEL_3",
33
+ "4": "LABEL_4",
34
+ "5": "LABEL_5"
35
+ },
36
+ "ignore_attention_mask": false,
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 3072,
39
+ "label2id": {
40
+ "1": 1,
41
+ "2": 2,
42
+ "3": 3,
43
+ "4": 4,
44
+ "5": 5,
45
+ "O": 0
46
+ },
47
+ "layer_norm_eps": 1e-05,
48
+ "max_position_embeddings": 4098,
49
+ "model_type": "longformer",
50
+ "num_attention_heads": 12,
51
+ "num_hidden_layers": 12,
52
+ "onnx_export": false,
53
+ "pad_token_id": 1,
54
+ "position_embedding_type": "absolute",
55
+ "sep_token_id": 2,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.28.1",
58
+ "type_vocab_size": 1,
59
+ "vocab_size": 50265
60
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04c48ee9d7914a889ea4846e44b72fb2866783b04ce417c2e0767bae2d3991fa
3
+ size 592388553