chatwithnerd commited on
Commit
747f6fe
·
1 Parent(s): 612e837

Initial commit

Browse files
Files changed (2) hide show
  1. config.json +46 -0
  2. model-quantized.onnx +3 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilroberta-base-ner",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B-cat_item",
15
+ "1": "I-amount",
16
+ "2": "I-cat_shop",
17
+ "3": "B-cat_shop",
18
+ "4": "B-amount",
19
+ "5": "B-quantity",
20
+ "6": "O",
21
+ "7": "I-cat_item"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "B-amount": "4",
27
+ "B-cat_item": "0",
28
+ "B-cat_shop": "3",
29
+ "B-quantity": "5",
30
+ "I-amount": "1",
31
+ "I-cat_item": "7",
32
+ "I-cat_shop": "2",
33
+ "O": "6"
34
+ },
35
+ "layer_norm_eps": 1e-05,
36
+ "max_position_embeddings": 514,
37
+ "num_attention_heads": 12,
38
+ "num_hidden_layers": 6,
39
+ "pad_token_id": 1,
40
+ "position_embedding_type": "absolute",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.19.4",
43
+ "type_vocab_size": 1,
44
+ "use_cache": false,
45
+ "vocab_size": 50265
46
+ }
model-quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41747c8e84e7d487d38c8b9aa2281da3eab56e23fa8e6ee60701fc520a95d0d3
3
+ size 230736050