CatBarks commited on
Commit
2e7f62a
·
verified ·
1 Parent(s): 6387fca

CatBarks/t5_bce_farshad_half_4_4

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_4
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_4
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.0424
22
+ - Accuracy: 0.9922
23
+ - F1: 0.9924
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.7459 | 5.8501 | 50 | 0.6868 | 0.5426 | 0.6423 |
58
+ | 0.6483 | 11.7002 | 100 | 0.5144 | 0.8518 | 0.8540 |
59
+ | 0.3069 | 17.5503 | 150 | 0.1038 | 0.9675 | 0.9681 |
60
+ | 0.0869 | 23.4004 | 200 | 0.0563 | 0.9820 | 0.9825 |
61
+ | 0.0496 | 29.2505 | 250 | 0.0440 | 0.9864 | 0.9868 |
62
+ | 0.0327 | 35.1005 | 300 | 0.0365 | 0.9887 | 0.9891 |
63
+ | 0.0226 | 40.9506 | 350 | 0.0333 | 0.9916 | 0.9919 |
64
+ | 0.0161 | 46.8007 | 400 | 0.0316 | 0.9925 | 0.9927 |
65
+ | 0.0125 | 52.6508 | 450 | 0.0311 | 0.9936 | 0.9938 |
66
+ | 0.0097 | 58.5009 | 500 | 0.0322 | 0.9933 | 0.9935 |
67
+ | 0.0076 | 64.3510 | 550 | 0.0366 | 0.9927 | 0.9930 |
68
+ | 0.0069 | 70.2011 | 600 | 0.0407 | 0.9919 | 0.9921 |
69
+ | 0.0055 | 76.0512 | 650 | 0.0342 | 0.9927 | 0.9930 |
70
+ | 0.0041 | 81.9013 | 700 | 0.0364 | 0.9936 | 0.9938 |
71
+ | 0.003 | 87.7514 | 750 | 0.0411 | 0.9933 | 0.9936 |
72
+ | 0.0026 | 93.6015 | 800 | 0.0424 | 0.9922 | 0.9924 |
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:b682602885c8e317fc809ea3a15cd44aded66fa8b048e109933e93979cea5ac9
3
+ size 894016712
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b78a933d6d163994c1020c3dea1d726203f5ef5787c65126c162c09ea0cffa95
3
+ size 4984