MKS3099 commited on
Commit
ba3fb18
·
1 Parent(s): d1f6ae3

Training completed!

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: funnel-transformer/small-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: Funnel-finetuned-stationary-update
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # Funnel-finetuned-stationary-update
18
+
19
+ This model is a fine-tuned version of [funnel-transformer/small-base](https://huggingface.co/funnel-transformer/small-base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.6506
22
+ - Accuracy: 0.8267
23
+ - F1: 0.8212
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 64
44
+ - eval_batch_size: 64
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 10
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | 0.6307 | 1.0 | 38 | 0.5364 | 0.6667 | 0.5333 |
55
+ | 0.5143 | 2.0 | 76 | 0.4769 | 0.6667 | 0.5333 |
56
+ | 0.4497 | 3.0 | 114 | 0.5060 | 0.7567 | 0.7270 |
57
+ | 0.398 | 4.0 | 152 | 0.5025 | 0.8167 | 0.8082 |
58
+ | 0.3168 | 5.0 | 190 | 0.4550 | 0.8033 | 0.8072 |
59
+ | 0.2705 | 6.0 | 228 | 0.5615 | 0.8133 | 0.8034 |
60
+ | 0.2016 | 7.0 | 266 | 0.5831 | 0.83 | 0.8213 |
61
+ | 0.1492 | 8.0 | 304 | 0.6144 | 0.83 | 0.8243 |
62
+ | 0.1184 | 9.0 | 342 | 0.6269 | 0.82 | 0.8150 |
63
+ | 0.0935 | 10.0 | 380 | 0.6506 | 0.8267 | 0.8212 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.35.2
69
+ - Pytorch 2.1.0+cu118
70
+ - Datasets 2.15.0
71
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "funnel-transformer/small-base",
3
+ "activation_dropout": 0.0,
4
+ "architectures": [
5
+ "FunnelForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "attention_type": "relative_shift",
9
+ "block_repeats": [
10
+ 1,
11
+ 1,
12
+ 1
13
+ ],
14
+ "block_sizes": [
15
+ 4,
16
+ 4,
17
+ 4
18
+ ],
19
+ "d_head": 64,
20
+ "d_inner": 3072,
21
+ "d_model": 768,
22
+ "hidden_act": "gelu_new",
23
+ "hidden_dropout": 0.1,
24
+ "initializer_range": 0.1,
25
+ "initializer_std": null,
26
+ "layer_norm_eps": 1e-09,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "funnel",
29
+ "n_head": 12,
30
+ "num_decoder_layers": 2,
31
+ "pool_q_only": true,
32
+ "pooling_type": "mean",
33
+ "problem_type": "single_label_classification",
34
+ "rel_attn_type": "factorized",
35
+ "separate_cls": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.35.2",
38
+ "truncate_seq": true,
39
+ "type_vocab_size": 3,
40
+ "vocab_size": 30522
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58ea35f6af5ae69762a2540ffedf4d4d64c1bfe100d69c2433f35275278de0e8
3
+ size 464844376
runs/Dec14_11-24-53_3955bca2d3a3/events.out.tfevents.1702553113.3955bca2d3a3.167.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ea8bb57d025e13840eb2b7a6cc54b1518e0c8417ad4c2017ee6c10fe8f24297
3
+ size 9996
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<cls>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "<sep>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "96": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "97": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "100": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "101": {
36
+ "content": "<cls>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "102": {
44
+ "content": "<sep>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "103": {
52
+ "content": "<mask>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ }
59
+ },
60
+ "bos_token": "<s>",
61
+ "clean_up_tokenization_spaces": true,
62
+ "cls_token": "<cls>",
63
+ "do_basic_tokenize": true,
64
+ "do_lower_case": true,
65
+ "eos_token": "</s>",
66
+ "mask_token": "<mask>",
67
+ "model_max_length": 512,
68
+ "never_split": null,
69
+ "pad_token": "<pad>",
70
+ "sep_token": "<sep>",
71
+ "strip_accents": null,
72
+ "tokenize_chinese_chars": true,
73
+ "tokenizer_class": "FunnelTokenizer",
74
+ "unk_token": "<unk>"
75
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3587add92997a4c5f992e7e5b63bd72e33b14015eb92a5a7e8031e4b919891ef
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff