AnonymousCS commited on
Commit
cfd1909
·
verified ·
1 Parent(s): 59b5628

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.3019
22
- - Accuracy: 0.9429
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 | 61 | 0.2961 | 0.9398 |
54
- | 0.0152 | 2.0 | 122 | 0.3069 | 0.9398 |
55
- | 0.0152 | 3.0 | 183 | 0.2982 | 0.9450 |
56
- | 0.0174 | 4.0 | 244 | 0.3019 | 0.9429 |
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.3092
22
+ - Accuracy: 0.9450
23
 
24
  ## Model description
25
 
 
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 1.0 | 61 | 0.2739 | 0.9356 |
54
+ | 0.0214 | 2.0 | 122 | 0.2764 | 0.9377 |
55
+ | 0.0214 | 3.0 | 183 | 0.2956 | 0.9470 |
56
+ | 0.0163 | 4.0 | 244 | 0.3092 | 0.9450 |
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:1f78983d7d9660ebb41a6ba2a189c7ca5df06b8d6bd66793b20dd7e7ea8fdcf4
3
- size 409100240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e921c91ce95aab04e2c52610903d8de0956e30385cce3f841a40b756c8ba7a51
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:a2b700fe428a7228137401f4f80420d0a94361075a970e148a88778565878c2c
3
- size 5841
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88cdeda8b8fd59ab3632f21a883f1c0d78ba345e7b466489e9fbcc4af4ec98c7
3
+ size 5201