AnonymousCS commited on
Commit
056f4d4
·
verified ·
1 Parent(s): c322bb4

End of training

Browse files
Files changed (5) hide show
  1. README.md +9 -9
  2. config.json +7 -3
  3. model.safetensors +2 -2
  4. tokenizer_config.json +2 -44
  5. training_args.bin +2 -2
README.md CHANGED
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  This model is a fine-tuned version of [google-bert/bert-base-chinese](https://huggingface.co/google-bert/bert-base-chinese) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.2579
22
- - Accuracy: 0.9416
23
 
24
  ## Model description
25
 
@@ -50,15 +50,15 @@ The following hyperparameters were used during training:
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
- | No log | 1.0 | 54 | 0.3100 | 0.9077 |
54
- | 0.0507 | 2.0 | 108 | 0.2642 | 0.9416 |
55
- | 0.0507 | 3.0 | 162 | 0.2298 | 0.9393 |
56
- | 0.0311 | 4.0 | 216 | 0.2579 | 0.9416 |
57
 
58
 
59
  ### Framework versions
60
 
61
- - Transformers 4.57.1
62
- - Pytorch 2.8.0+cu126
63
  - Datasets 4.0.0
64
- - Tokenizers 0.22.1
 
18
 
19
  This model is a fine-tuned version of [google-bert/bert-base-chinese](https://huggingface.co/google-bert/bert-base-chinese) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 0.3173
22
+ - Accuracy: 0.9393
23
 
24
  ## Model description
25
 
 
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 1.0 | 54 | 0.3855 | 0.9206 |
54
+ | 0.0226 | 2.0 | 108 | 0.3115 | 0.9381 |
55
+ | 0.0226 | 3.0 | 162 | 0.2941 | 0.9369 |
56
+ | 0.0105 | 4.0 | 216 | 0.3173 | 0.9393 |
57
 
58
 
59
  ### Framework versions
60
 
61
+ - Transformers 5.0.0
62
+ - Pytorch 2.9.0+cu126
63
  - Datasets 4.0.0
64
+ - Tokenizers 0.22.2
config.json CHANGED
@@ -1,16 +1,20 @@
1
  {
 
2
  "architectures": [
3
  "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
 
6
  "classifier_dropout": null,
7
  "directionality": "bidi",
8
  "dtype": "float32",
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
 
14
  "layer_norm_eps": 1e-12,
15
  "max_position_embeddings": 512,
16
  "model_type": "bert",
@@ -22,10 +26,10 @@
22
  "pooler_num_fc_layers": 3,
23
  "pooler_size_per_head": 128,
24
  "pooler_type": "first_token_transform",
25
- "position_embedding_type": "absolute",
26
  "problem_type": "single_label_classification",
27
- "transformers_version": "4.57.1",
 
28
  "type_vocab_size": 2,
29
- "use_cache": true,
30
  "vocab_size": 21128
31
  }
 
1
  {
2
+ "add_cross_attention": false,
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
  "classifier_dropout": null,
9
  "directionality": "bidi",
10
  "dtype": "float32",
11
+ "eos_token_id": null,
12
  "hidden_act": "gelu",
13
  "hidden_dropout_prob": 0.1,
14
  "hidden_size": 768,
15
  "initializer_range": 0.02,
16
  "intermediate_size": 3072,
17
+ "is_decoder": false,
18
  "layer_norm_eps": 1e-12,
19
  "max_position_embeddings": 512,
20
  "model_type": "bert",
 
26
  "pooler_num_fc_layers": 3,
27
  "pooler_size_per_head": 128,
28
  "pooler_type": "first_token_transform",
 
29
  "problem_type": "single_label_classification",
30
+ "tie_word_embeddings": true,
31
+ "transformers_version": "5.0.0",
32
  "type_vocab_size": 2,
33
+ "use_cache": false,
34
  "vocab_size": 21128
35
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2291b813fdd768aa6fccd47dc557c274791f73663da8366f685caa40b8f6e7ed
3
- size 409100240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:773b26caec7e382763c3e2feeb34fdc9256043c3af2e72d1541b9e1178e4278c
3
+ size 409100216
tokenizer_config.json CHANGED
@@ -1,50 +1,8 @@
1
  {
2
- "added_tokens_decoder": {
3
- "0": {
4
- "content": "[PAD]",
5
- "lstrip": false,
6
- "normalized": false,
7
- "rstrip": false,
8
- "single_word": false,
9
- "special": true
10
- },
11
- "100": {
12
- "content": "[UNK]",
13
- "lstrip": false,
14
- "normalized": false,
15
- "rstrip": false,
16
- "single_word": false,
17
- "special": true
18
- },
19
- "101": {
20
- "content": "[CLS]",
21
- "lstrip": false,
22
- "normalized": false,
23
- "rstrip": false,
24
- "single_word": false,
25
- "special": true
26
- },
27
- "102": {
28
- "content": "[SEP]",
29
- "lstrip": false,
30
- "normalized": false,
31
- "rstrip": false,
32
- "single_word": false,
33
- "special": true
34
- },
35
- "103": {
36
- "content": "[MASK]",
37
- "lstrip": false,
38
- "normalized": false,
39
- "rstrip": false,
40
- "single_word": false,
41
- "special": true
42
- }
43
- },
44
- "clean_up_tokenization_spaces": false,
45
  "cls_token": "[CLS]",
46
  "do_lower_case": false,
47
- "extra_special_tokens": {},
48
  "mask_token": "[MASK]",
49
  "model_max_length": 512,
50
  "pad_token": "[PAD]",
 
1
  {
2
+ "backend": "tokenizers",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "cls_token": "[CLS]",
4
  "do_lower_case": false,
5
+ "is_local": false,
6
  "mask_token": "[MASK]",
7
  "model_max_length": 512,
8
  "pad_token": "[PAD]",
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbf193e48072a40edb8e04734d050dffa225c3be49bc3056c5c43ce38db02b9e
3
- size 5841
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9140d4a7c2541afa3314690cc4c6c3ac050eb2aec25f705690482b82ebdf26dc
3
+ size 5201