upload int8 model
Browse files- config.json +56 -0
- eval_nbest_predictions.json +3 -0
- eval_predictions.json +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +14 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "jimypbr/bert-base-uncased-squad",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForQuestionAnswering"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"device_iterations": 2,
|
| 9 |
+
"embedding_serialization_factor": 0,
|
| 10 |
+
"enable_half_first_order_momentum": true,
|
| 11 |
+
"enable_half_partials": true,
|
| 12 |
+
"executable_cache_dir": "./exe_cache",
|
| 13 |
+
"gradient_accumulation_steps": 16,
|
| 14 |
+
"gradient_checkpointing": false,
|
| 15 |
+
"hidden_act": "gelu",
|
| 16 |
+
"hidden_dropout_prob": 0.1,
|
| 17 |
+
"hidden_size": 768,
|
| 18 |
+
"inference_device_iterations": 4,
|
| 19 |
+
"inference_replication_factor": 4,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"intermediate_size": 3072,
|
| 22 |
+
"ipus_per_replica": 4,
|
| 23 |
+
"layer_norm_eps": 1e-12,
|
| 24 |
+
"layers_per_ipu": [
|
| 25 |
+
0,
|
| 26 |
+
4,
|
| 27 |
+
4,
|
| 28 |
+
4
|
| 29 |
+
],
|
| 30 |
+
"matmul_proportion": [
|
| 31 |
+
0.25,
|
| 32 |
+
0.2,
|
| 33 |
+
0.2,
|
| 34 |
+
0.25
|
| 35 |
+
],
|
| 36 |
+
"max_position_embeddings": 512,
|
| 37 |
+
"model_type": "bert",
|
| 38 |
+
"num_attention_heads": 12,
|
| 39 |
+
"num_hidden_layers": 12,
|
| 40 |
+
"optimizer_state_offchip": false,
|
| 41 |
+
"optimum_version": "0.1.2",
|
| 42 |
+
"pad_token_id": 0,
|
| 43 |
+
"position_embedding_type": "absolute",
|
| 44 |
+
"profile_dir": null,
|
| 45 |
+
"recompute_checkpoint_every_layer": true,
|
| 46 |
+
"replicated_tensor_sharding": true,
|
| 47 |
+
"replication_factor": 4,
|
| 48 |
+
"seed": null,
|
| 49 |
+
"synthetic_data": false,
|
| 50 |
+
"torch_dtype": "int8",
|
| 51 |
+
"transformers_version": "4.21.0.dev0",
|
| 52 |
+
"type_vocab_size": 2,
|
| 53 |
+
"use_cache": true,
|
| 54 |
+
"use_popdist": false,
|
| 55 |
+
"vocab_size": 30522
|
| 56 |
+
}
|
eval_nbest_predictions.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e120d80f8694cc7f2c2fa5b2e36760d2f10123c5ec6421a2f4548f66cdc3bcc
|
| 3 |
+
size 49265116
|
eval_predictions.json
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:17cd15e7d7eb1aa870a8ee9ac571c05435f8b1d68935991f1f170d8f0166c597
|
| 3 |
+
size 139323541
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"do_lower_case": true,
|
| 4 |
+
"mask_token": "[MASK]",
|
| 5 |
+
"model_max_length": 512,
|
| 6 |
+
"name_or_path": "jimypbr/bert-base-uncased-squad",
|
| 7 |
+
"pad_token": "[PAD]",
|
| 8 |
+
"sep_token": "[SEP]",
|
| 9 |
+
"special_tokens_map_file": null,
|
| 10 |
+
"strip_accents": null,
|
| 11 |
+
"tokenize_chinese_chars": true,
|
| 12 |
+
"tokenizer_class": "BertTokenizer",
|
| 13 |
+
"unk_token": "[UNK]"
|
| 14 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36dce23f296aefd11338f087f5ec0659d23135a8d2b73f8883057e0e06e75dfc
|
| 3 |
+
size 3311
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|