xinhe commited on
Commit
05d10ae
1 Parent(s): d1b477b

upload int8 model

Browse files
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "elastic/distilbert-base-uncased-finetuned-conll03-english",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "finetuning_task": "ner",
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC",
20
+ "7": "B-MISC",
21
+ "8": "I-MISC"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "label2id": {
25
+ "B-LOC": 5,
26
+ "B-MISC": 7,
27
+ "B-ORG": 3,
28
+ "B-PER": 1,
29
+ "I-LOC": 6,
30
+ "I-MISC": 8,
31
+ "I-ORG": 4,
32
+ "I-PER": 2,
33
+ "O": 0
34
+ },
35
+ "max_position_embeddings": 512,
36
+ "model_type": "distilbert",
37
+ "n_heads": 12,
38
+ "n_layers": 6,
39
+ "pad_token_id": 0,
40
+ "qa_dropout": 0.1,
41
+ "seq_classif_dropout": 0.2,
42
+ "sinusoidal_pos_embds": false,
43
+ "tie_weights_": true,
44
+ "torch_dtype": "int8",
45
+ "transformers_version": "4.18.0",
46
+ "vocab_size": 30522
47
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b13ed7e392df2620a7b62565e5173526719b8b971a932410e7af96e45f484e83
3
+ size 67603761
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
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": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "name_or_path": "elastic/distilbert-base-uncased-finetuned-conll03-english", "special_tokens_map_file": "/home2/xinhe/.cache/huggingface/transformers/ddc50652d16c45ca779f91f2778bb16c8129bcbd3a17ac465f0670351ebea8de.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "DistilBertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff