knguyennguyen commited on
Commit
07a7f56
1 Parent(s): f9c8dfc

Upload LongformerForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +52 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/longformer-base-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
+ ],
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": "NEGATIVE",
30
+ "1": "POSITIVE"
31
+ },
32
+ "ignore_attention_mask": false,
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 3072,
35
+ "label2id": {
36
+ "NEGATIVE": 0,
37
+ "POSITIVE": 1
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "max_position_embeddings": 4098,
41
+ "model_type": "longformer",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "onnx_export": false,
45
+ "pad_token_id": 1,
46
+ "problem_type": "single_label_classification",
47
+ "sep_token_id": 2,
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.35.0",
50
+ "type_vocab_size": 1,
51
+ "vocab_size": 50265
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bab500621fbda43971ca8168818ab542696c6193b64760c09e1cab58c7a6504
3
+ size 594678184