rokjaer commited on
Commit
389ff9c
·
verified ·
1 Parent(s): 5ee1deb

Add trained model files

Browse files
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"architectures": ["ScriptableCrammedBERT"], "num_transformer_layers": 16, "hidden_size": 768, "intermed_size": 3072, "hidden_dropout_prob": 0.1, "norm": "LayerNorm", "norm_eps": 1e-12, "norm_scheme": "pre", "nonlin": "GELUglu", "tie_weights": true, "decoder_bias": false, "sparse_prediction": 0.25, "loss": "cross-entropy", "objective_layout": "MLM", "embedding": {"vocab_size": null, "pos_embedding": "scaled-sinusoidal", "dropout_prob": 0.1, "pad_token_id": 0, "max_seq_length": 128, "embedding_dim": 768, "normalization": true, "stable_low_precision": false}, "attention": {"type": "self-attention", "causal_attention": false, "num_attention_heads": 12, "dropout_prob": 0.1, "skip_output_projection": false, "qkv_bias": false, "rotary_embedding": false, "seq_op_in_fp32": false, "sequence_op": "torch-softmax"}, "init": {"type": "normal", "std": 0.02}, "ffn_layer_frequency": 1, "skip_head_transform": true, "use_bias": false, "final_norm": true, "num_labels": null, "classification_head": {"pooler": "avg", "include_ff_layer": true, "head_dim": 1024, "nonlin": "Tanh", "classifier_dropout": 0.1}}
pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e263d26cd8e8124d16b3f2c0d17a831b7785e74f0e682124e2810bd42ab0f5a
3
+ size 579039228
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<cls>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "<sep>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<mask>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<sep>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<cls>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "<s>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "6": {
52
+ "content": "<unk>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ }
59
+ },
60
+ "bos_token": "<s>",
61
+ "clean_up_tokenization_spaces": false,
62
+ "cls_token": "<cls>",
63
+ "eos_token": "</s>",
64
+ "extra_special_tokens": {},
65
+ "mask_token": "<mask>",
66
+ "model_max_length": 128,
67
+ "pad_token": "<pad>",
68
+ "sep_token": "<sep>",
69
+ "tokenizer_class": "PreTrainedTokenizerFast",
70
+ "unk_token": "<unk>"
71
+ }