CatBarks commited on
Commit
49febb1
·
verified ·
1 Parent(s): 8a75650

CatBarks/t5_bce_farshad_half_4_1

Browse files
Files changed (4) hide show
  1. README.md +80 -0
  2. config.json +62 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google-t5/t5-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: t5_es_farshad_half_4_1
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
+ # t5_es_farshad_half_4_1
18
+
19
+ This model is a fine-tuned version of [google-t5/t5-base](https://huggingface.co/google-t5/t5-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0490
22
+ - Accuracy: 0.9916
23
+ - F1: 0.9919
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: 0.0001
43
+ - train_batch_size: 64
44
+ - eval_batch_size: 64
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 64
47
+ - total_train_batch_size: 4096
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_steps: 1000
51
+ - num_epochs: 100
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
56
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|:------:|
57
+ | 0.6889 | 5.8501 | 50 | 0.6724 | 0.6073 | 0.5334 |
58
+ | 0.6445 | 11.7002 | 100 | 0.5323 | 0.8022 | 0.8091 |
59
+ | 0.3119 | 17.5503 | 150 | 0.1187 | 0.9649 | 0.9656 |
60
+ | 0.0967 | 23.4004 | 200 | 0.0648 | 0.9794 | 0.9800 |
61
+ | 0.0549 | 29.2505 | 250 | 0.0500 | 0.9858 | 0.9862 |
62
+ | 0.0359 | 35.1005 | 300 | 0.0465 | 0.9884 | 0.9888 |
63
+ | 0.0248 | 40.9506 | 350 | 0.0443 | 0.9887 | 0.9891 |
64
+ | 0.0183 | 46.8007 | 400 | 0.0404 | 0.9898 | 0.9902 |
65
+ | 0.0139 | 52.6508 | 450 | 0.0445 | 0.9890 | 0.9893 |
66
+ | 0.0111 | 58.5009 | 500 | 0.0559 | 0.9887 | 0.9890 |
67
+ | 0.0087 | 64.3510 | 550 | 0.0486 | 0.9893 | 0.9896 |
68
+ | 0.0081 | 70.2011 | 600 | 0.0440 | 0.9910 | 0.9913 |
69
+ | 0.0065 | 76.0512 | 650 | 0.0410 | 0.9919 | 0.9921 |
70
+ | 0.0045 | 81.9013 | 700 | 0.0596 | 0.9893 | 0.9896 |
71
+ | 0.0042 | 87.7514 | 750 | 0.0475 | 0.9898 | 0.9902 |
72
+ | 0.0036 | 93.6015 | 800 | 0.0490 | 0.9916 | 0.9919 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.40.0
78
+ - Pytorch 2.4.1+cu121
79
+ - Datasets 3.1.0
80
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-t5/t5-base",
3
+ "architectures": [
4
+ "T5ForSequenceClassification"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 3072,
8
+ "d_kv": 64,
9
+ "d_model": 768,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "relu",
15
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "is_gated_act": false,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "model_type": "t5",
20
+ "n_positions": 512,
21
+ "num_decoder_layers": 12,
22
+ "num_heads": 12,
23
+ "num_layers": 12,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "problem_type": "single_label_classification",
27
+ "relative_attention_max_distance": 128,
28
+ "relative_attention_num_buckets": 32,
29
+ "task_specific_params": {
30
+ "summarization": {
31
+ "early_stopping": true,
32
+ "length_penalty": 2.0,
33
+ "max_length": 200,
34
+ "min_length": 30,
35
+ "no_repeat_ngram_size": 3,
36
+ "num_beams": 4,
37
+ "prefix": "summarize: "
38
+ },
39
+ "translation_en_to_de": {
40
+ "early_stopping": true,
41
+ "max_length": 300,
42
+ "num_beams": 4,
43
+ "prefix": "translate English to German: "
44
+ },
45
+ "translation_en_to_fr": {
46
+ "early_stopping": true,
47
+ "max_length": 300,
48
+ "num_beams": 4,
49
+ "prefix": "translate English to French: "
50
+ },
51
+ "translation_en_to_ro": {
52
+ "early_stopping": true,
53
+ "max_length": 300,
54
+ "num_beams": 4,
55
+ "prefix": "translate English to Romanian: "
56
+ }
57
+ },
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.40.0",
60
+ "use_cache": true,
61
+ "vocab_size": 32128
62
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b7f8cc59f294e3b994d13893b3397dc467878ac9b3dd8200d2a034f405efab4
3
+ size 894016712
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:264159f04e2e83cb8fae9396a6ab922d7e1e7af17306e51e1751fec06675419e
3
+ size 4984