xxxxxx commited on
Commit
1ce7f71
1 Parent(s): a19b7d9
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .DS_Store
README.md DELETED
@@ -1,6 +0,0 @@
1
- ---
2
- language:
3
- - zh
4
- base_model:
5
- - app-x/chinese_spam_classifier
6
- ---
 
 
 
 
 
 
 
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "models/result/fine_tuned_dialogue_filter/",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -11,8 +11,16 @@
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
 
 
 
 
14
  "initializer_range": 0.02,
15
  "intermediate_size": 3072,
 
 
 
 
16
  "layer_norm_eps": 1e-12,
17
  "max_position_embeddings": 512,
18
  "model_type": "bert",
 
1
  {
2
+ "_name_or_path": "models/result/chinese_spam_classifier",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "normal",
16
+ "1": "spam"
17
+ },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
+ "label2id": {
21
+ "normal": 0,
22
+ "spam": 1
23
+ },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
26
  "model_type": "bert",
model.onnx → model_optimized.onnx RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ebc1cb6acea11a0ba28fb260fab6b105b1b98b2ee3b04f54b3388a3d8563a7d
3
- size 409379166
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10fb2938b7792e05f5be50987f36a086e954a08add4838cd4a54a5550eb0620b
3
+ size 409210082
ort_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "one_external_file": true,
3
+ "opset": null,
4
+ "optimization": {
5
+ "disable_attention": null,
6
+ "disable_attention_fusion": false,
7
+ "disable_bias_gelu": null,
8
+ "disable_bias_gelu_fusion": false,
9
+ "disable_bias_skip_layer_norm": null,
10
+ "disable_bias_skip_layer_norm_fusion": false,
11
+ "disable_embed_layer_norm": true,
12
+ "disable_embed_layer_norm_fusion": true,
13
+ "disable_gelu": null,
14
+ "disable_gelu_fusion": false,
15
+ "disable_group_norm_fusion": true,
16
+ "disable_layer_norm": null,
17
+ "disable_layer_norm_fusion": false,
18
+ "disable_packed_kv": true,
19
+ "disable_rotary_embeddings": false,
20
+ "disable_shape_inference": false,
21
+ "disable_skip_layer_norm": null,
22
+ "disable_skip_layer_norm_fusion": false,
23
+ "enable_gelu_approximation": false,
24
+ "enable_gemm_fast_gelu_fusion": false,
25
+ "enable_transformers_specific_optimizations": true,
26
+ "fp16": false,
27
+ "no_attention_mask": false,
28
+ "optimization_level": 99,
29
+ "optimize_for_gpu": false,
30
+ "optimize_with_onnxruntime_only": null,
31
+ "use_mask_index": false,
32
+ "use_multi_head_attention": false,
33
+ "use_raw_attention_mask": false
34
+ },
35
+ "quantization": {},
36
+ "use_external_data_format": false
37
+ }