kiddothe2b
commited on
Commit
•
c2c73de
1
Parent(s):
6482032
Upload model
Browse files- config.json +59 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +9 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "allenai/longformer-large-4096",
|
3 |
+
"architectures": [
|
4 |
+
"LongformerForMaskedLM"
|
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 |
+
512,
|
22 |
+
512,
|
23 |
+
512,
|
24 |
+
512,
|
25 |
+
512,
|
26 |
+
512,
|
27 |
+
512,
|
28 |
+
512,
|
29 |
+
512,
|
30 |
+
512,
|
31 |
+
512,
|
32 |
+
512
|
33 |
+
],
|
34 |
+
"bos_token_id": 1,
|
35 |
+
"classifier_dropout": null,
|
36 |
+
"cls_token_id": 1,
|
37 |
+
"eos_token_id": 2,
|
38 |
+
"gradient_checkpointing": false,
|
39 |
+
"hidden_act": "gelu",
|
40 |
+
"hidden_dropout_prob": 0.1,
|
41 |
+
"hidden_size": 1024,
|
42 |
+
"ignore_attention_mask": false,
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"intermediate_size": 4096,
|
45 |
+
"layer_norm_eps": 1e-05,
|
46 |
+
"max_position_embeddings": 4098,
|
47 |
+
"model_max_length": 4096,
|
48 |
+
"model_type": "longformer",
|
49 |
+
"num_attention_heads": 16,
|
50 |
+
"num_hidden_layers": 24,
|
51 |
+
"pad_token_id": 0,
|
52 |
+
"position_embedding_type": "absolute",
|
53 |
+
"sep_token_id": 2,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.20.0",
|
56 |
+
"type_vocab_size": 2,
|
57 |
+
"use_cache": true,
|
58 |
+
"vocab_size": 50000
|
59 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8593b12652ee2ea04b79cf8454253196108b99a397ee31e1760108bbc478709d
|
3 |
+
size 1737741323
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"model_max_length": 4096,
|
7 |
+
"name_or_path": "lexlms/roberta-large-cased",
|
8 |
+
"pad_token": "<pad>",
|
9 |
+
"sep_token": "</s>",
|
10 |
+
"special_tokens_map_file": "data/PLMs/lex-lm-large-cased-v2/special_tokens_map.json",
|
11 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
12 |
+
"unk_token": "<unk>"
|
13 |
+
}
|