lixugang commited on
Commit
10bff31
1 Parent(s): 367a441

Training in progress, epoch 2

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: shibing624/text2vec-base-chinese
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: ch_text_001
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # ch_text_001
17
+
18
+ This model is a fine-tuned version of [shibing624/text2vec-base-chinese](https://huggingface.co/shibing624/text2vec-base-chinese) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0765
21
+ - Accuracy: 0.9867
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 2
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.0733 | 1.0 | 2125 | 0.0785 | 0.9848 |
53
+ | 0.0533 | 2.0 | 4250 | 0.0765 | 0.9867 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.36.2
59
+ - Pytorch 2.1.2+cpu
60
+ - Datasets 2.16.1
61
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "shibing624/text2vec-base-chinese",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "\u8fdd\u6cd5\u60ac\u6302\u5e7f\u544a\u724c\u533e",
15
+ "1": "\u5e7f\u544a\u62db\u724c\u7834\u635f",
16
+ "2": "\u975e\u6cd5\u6d82\u5199\u5f20\u8d34\u5c0f\u5e7f\u544a",
17
+ "3": "\u9053\u8def\u7834\u635f",
18
+ "4": "\u4ea4\u901a\u62a4\u680f",
19
+ "5": "\u673a\u52a8\u8f66\u4e71\u505c\u653e",
20
+ "6": "\u8def\u706f",
21
+ "7": "\u5176\u5b83\u8857\u9762\u79e9\u5e8f\u95ee\u9898",
22
+ "8": "\u8fdd\u6cd5\u5360\u9053\u5e7f\u544a\u724c",
23
+ "9": "\u65bd\u5de5\u5360\u9053(\u65bd\u5de5\u7ef4\u62a4\u810f\u4e71\u5dee)",
24
+ "10": "\u5e97\u5916\u7ecf\u8425",
25
+ "11": "\u64c5\u81ea\u9972\u517b\u5bb6\u79bd\u5bb6\u755c",
26
+ "12": "\u65bd\u5de5\u5e9f\u5f03\u6599",
27
+ "13": "\u65e0\u7167\u7ecf\u8425\u6e38\u5546",
28
+ "14": "\u6cbf\u8857\u667e\u6302",
29
+ "15": "\u66b4\u9732\u5783\u573e",
30
+ "16": "\u4e71\u5806\u7269\u5806\u6599"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "\u4e71\u5806\u7269\u5806\u6599": 16,
36
+ "\u4ea4\u901a\u62a4\u680f": 4,
37
+ "\u5176\u5b83\u8857\u9762\u79e9\u5e8f\u95ee\u9898": 7,
38
+ "\u5e7f\u544a\u62db\u724c\u7834\u635f": 1,
39
+ "\u5e97\u5916\u7ecf\u8425": 10,
40
+ "\u64c5\u81ea\u9972\u517b\u5bb6\u79bd\u5bb6\u755c": 11,
41
+ "\u65bd\u5de5\u5360\u9053(\u65bd\u5de5\u7ef4\u62a4\u810f\u4e71\u5dee)": 9,
42
+ "\u65bd\u5de5\u5e9f\u5f03\u6599": 12,
43
+ "\u65e0\u7167\u7ecf\u8425\u6e38\u5546": 13,
44
+ "\u66b4\u9732\u5783\u573e": 15,
45
+ "\u673a\u52a8\u8f66\u4e71\u505c\u653e": 5,
46
+ "\u6cbf\u8857\u667e\u6302": 14,
47
+ "\u8def\u706f": 6,
48
+ "\u8fdd\u6cd5\u5360\u9053\u5e7f\u544a\u724c": 8,
49
+ "\u8fdd\u6cd5\u60ac\u6302\u5e7f\u544a\u724c\u533e": 0,
50
+ "\u9053\u8def\u7834\u635f": 3,
51
+ "\u975e\u6cd5\u6d82\u5199\u5f20\u8d34\u5c0f\u5e7f\u544a": 2
52
+ },
53
+ "layer_norm_eps": 1e-12,
54
+ "max_position_embeddings": 512,
55
+ "model_type": "bert",
56
+ "num_attention_heads": 12,
57
+ "num_hidden_layers": 12,
58
+ "pad_token_id": 0,
59
+ "pooler_fc_size": 768,
60
+ "pooler_num_attention_heads": 12,
61
+ "pooler_num_fc_layers": 3,
62
+ "pooler_size_per_head": 128,
63
+ "pooler_type": "first_token_transform",
64
+ "position_embedding_type": "absolute",
65
+ "problem_type": "single_label_classification",
66
+ "torch_dtype": "float32",
67
+ "transformers_version": "4.36.2",
68
+ "type_vocab_size": 2,
69
+ "use_cache": true,
70
+ "vocab_size": 21128
71
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f720c97725329014da2abb4bc0aa3a635379beaa3debf94362cd9107609059b
3
+ size 409146380
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 1000000000000000019884624838656,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e265f413731753501560e6ab85bfd3382558114f8e6a5574b7dce9e7e0568044
3
+ size 4728
vocab.txt ADDED
The diff for this file is too large to render. See raw diff