int8 model
Browse files- config.json +53 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- spiece.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home2/xinhe/intel-model-mrpc/xlnet-base-cased-mrpc/",
|
3 |
+
"architectures": [
|
4 |
+
"XLNetForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attn_type": "bi",
|
7 |
+
"bi_data": false,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"clamp_len": -1,
|
10 |
+
"d_head": 64,
|
11 |
+
"d_inner": 3072,
|
12 |
+
"d_model": 768,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"ff_activation": "gelu",
|
17 |
+
"finetuning_task": "mrpc",
|
18 |
+
"id2label": {
|
19 |
+
"0": 0,
|
20 |
+
"1": 1
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"label2id": {
|
24 |
+
"0": 0,
|
25 |
+
"1": 1
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"mem_len": null,
|
29 |
+
"model_type": "xlnet",
|
30 |
+
"n_head": 12,
|
31 |
+
"n_layer": 12,
|
32 |
+
"pad_token_id": 5,
|
33 |
+
"problem_type": "single_label_classification",
|
34 |
+
"reuse_len": null,
|
35 |
+
"same_length": false,
|
36 |
+
"start_n_top": 5,
|
37 |
+
"summary_activation": "tanh",
|
38 |
+
"summary_last_dropout": 0.1,
|
39 |
+
"summary_type": "last",
|
40 |
+
"summary_use_proj": true,
|
41 |
+
"task_specific_params": {
|
42 |
+
"text-generation": {
|
43 |
+
"do_sample": true,
|
44 |
+
"max_length": 250
|
45 |
+
}
|
46 |
+
},
|
47 |
+
"torch_dtype": "int8",
|
48 |
+
"transformers_version": "4.18.0",
|
49 |
+
"untie_r": true,
|
50 |
+
"use_mems_eval": true,
|
51 |
+
"use_mems_train": false,
|
52 |
+
"vocab_size": 32000
|
53 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aad799fb60cf76618f7356738497b1b22262bb5124506cbe7519bdf42aff4804
|
3 |
+
size 225014625
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "<sep>", "pad_token": "<pad>", "cls_token": "<cls>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}, "additional_special_tokens": ["<eop>", "<eod>"]}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f8c1c0bc2854d1af911a8550288c1258af5ba50277f3a5c829b98eb86fc5646
|
3 |
+
size 798011
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "remove_space": true, "keep_accents": false, "bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "<sep>", "pad_token": "<pad>", "cls_token": "<cls>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "additional_special_tokens": ["<eop>", "<eod>"], "special_tokens_map_file": null, "name_or_path": "/home2/xinhe/intel-model-mrpc/xlnet-base-cased-mrpc/", "tokenizer_class": "XLNetTokenizer"}
|