picard47at commited on
Commit
2be4f0f
·
verified ·
1 Parent(s): 7885bcc

Model save

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: gpl-3.0
4
+ base_model: ckiplab/albert-tiny-chinese
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: tunned_albert_model2
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # tunned_albert_model2
21
+
22
+ This model is a fine-tuned version of [ckiplab/albert-tiny-chinese](https://huggingface.co/ckiplab/albert-tiny-chinese) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.6809
25
+ - Accuracy: 0.5
26
+ - Precision: 0.25
27
+ - Recall: 0.5
28
+ - F1: 0.3333
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.6897 | 0.3333 | 3 | 0.6932 | 0.5 | 0.25 | 0.5 | 0.3333 |
60
+ | 0.6693 | 0.6667 | 6 | 0.6925 | 0.5 | 0.25 | 0.5 | 0.3333 |
61
+ | 0.6937 | 1.0 | 9 | 0.6915 | 0.5 | 0.25 | 0.5 | 0.3333 |
62
+ | 0.6736 | 1.3333 | 12 | 0.6887 | 0.5 | 0.25 | 0.5 | 0.3333 |
63
+ | 0.6498 | 1.6667 | 15 | 0.6866 | 0.5 | 0.25 | 0.5 | 0.3333 |
64
+ | 0.7069 | 2.0 | 18 | 0.6851 | 0.5 | 0.25 | 0.5 | 0.3333 |
65
+ | 0.6634 | 2.3333 | 21 | 0.6832 | 0.5 | 0.25 | 0.5 | 0.3333 |
66
+ | 0.659 | 2.6667 | 24 | 0.6815 | 0.5 | 0.25 | 0.5 | 0.3333 |
67
+ | 0.6476 | 3.0 | 27 | 0.6809 | 0.5 | 0.25 | 0.5 | 0.3333 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.49.0
73
+ - Pytorch 2.5.1+cu124
74
+ - Datasets 3.5.0
75
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ckiplab/albert-tiny-chinese",
3
+ "architectures": [
4
+ "AlbertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "bos_token_id": 101,
8
+ "classifier_dropout_prob": 0.1,
9
+ "down_scale_factor": 1,
10
+ "embedding_size": 128,
11
+ "eos_token_id": 102,
12
+ "gap_size": 0,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.0,
15
+ "hidden_size": 312,
16
+ "initializer_range": 0.02,
17
+ "inner_group_num": 1,
18
+ "intermediate_size": 1248,
19
+ "layer_norm_eps": 1e-12,
20
+ "max_position_embeddings": 512,
21
+ "model_type": "albert",
22
+ "net_structure_type": 0,
23
+ "num_attention_heads": 12,
24
+ "num_hidden_groups": 1,
25
+ "num_hidden_layers": 4,
26
+ "num_memory_blocks": 0,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "tokenizer_class": "BertTokenizerFast",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.49.0",
33
+ "type_vocab_size": 2,
34
+ "vocab_size": 21128
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1849498aadd795b0490bf8884e01cd8113e2e81f18d756161eb028c23130fa
3
+ size 16328008
runs/Apr16_17-29-11_pop-os/events.out.tfevents.1744795752.pop-os.5232.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11fa3105efe5e348fb519a37cc584bbca9897c6396987dabffec9867bd00cbc7
3
+ size 11730
runs/Apr16_17-29-11_pop-os/events.out.tfevents.1744795758.pop-os.5232.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:891e0836810116ee654c3f81a00d5201977459dee5a2d30becc9d54fffbc820a
3
+ size 551
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a80ae3ceab928639a91902920c8fe87ca1c398c4a974527376d7cacc85e0e2e
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff