nbroad HF staff commited on
Commit
a33345c
1 Parent(s): 6bb1bee

Model save

Browse files
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "block_size": 64,
23
+ "bos_token_id": 0,
24
+ "classifier_dropout": null,
25
+ "eos_token_id": 2,
26
+ "finetuning_task": "text-classification",
27
+ "gradient_checkpointing": false,
28
+ "hidden_act": "gelu",
29
+ "hidden_dropout_prob": 0.1,
30
+ "hidden_size": 768,
31
+ "id2label": {
32
+ "0": "LABEL_0",
33
+ "1": "LABEL_1",
34
+ "2": "LABEL_2",
35
+ "3": "LABEL_3"
36
+ },
37
+ "ignore_attention_mask": false,
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 3072,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1,
43
+ "LABEL_2": 2,
44
+ "LABEL_3": 3
45
+ },
46
+ "layer_norm_eps": 1e-05,
47
+ "max_position_embeddings": 4098,
48
+ "model_type": "longformer",
49
+ "num_attention_heads": 12,
50
+ "num_hidden_layers": 12,
51
+ "num_random_blocks": 3,
52
+ "pad_token_id": 1,
53
+ "position_embedding_type": "absolute",
54
+ "problem_type": "single_label_classification",
55
+ "sep_token_id": 2,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.19.0.dev0",
58
+ "type_vocab_size": 1,
59
+ "use_cache": true,
60
+ "vocab_size": 50265
61
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c844354abd643e3b56232e3f5a63ad2c01781dd446211a2cb0ac47cf7ae63c1d
3
+ size 594776349
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"errors": "replace", "bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "add_prefix_space": false, "trim_offsets": true, "model_max_length": 4096, "special_tokens_map_file": null, "name_or_path": "allenai/longformer-base-4096", "tokenizer_class": "LongformerTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95e2401f88823eba20c0b162b2acef6d0541c589ae41fe79d7b749cfd8325a9e
3
+ size 3119
vocab.json ADDED
The diff for this file is too large to render. See raw diff