Salama1429 commited on
Commit
9f9e977
1 Parent(s): 3e019af

araT5-Rajhi-Intent-T5ForSequenceClassification-NewData-8-1-2024-V4

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. config.json +86 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: UBC-NLP/AraT5v2-base-1024
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - f1
7
+ model-index:
8
+ - name: results2
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # results2
16
+
17
+ This model is a fine-tuned version of [UBC-NLP/AraT5v2-base-1024](https://huggingface.co/UBC-NLP/AraT5v2-base-1024) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1770
20
+ - F1: 0.9794
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 5e-05
40
+ - train_batch_size: 4
41
+ - eval_batch_size: 16
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 500
46
+ - num_epochs: 10
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
51
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
52
+ | 3.0825 | 1.0 | 543 | 2.9025 | 0.1075 |
53
+ | 2.4749 | 2.0 | 1086 | 1.4022 | 0.4926 |
54
+ | 0.8659 | 3.0 | 1629 | 0.3157 | 0.8640 |
55
+ | 0.3053 | 4.0 | 2172 | 0.2107 | 0.9415 |
56
+ | 0.1425 | 5.0 | 2715 | 0.1161 | 0.9794 |
57
+ | 0.073 | 6.0 | 3258 | 0.1695 | 0.9794 |
58
+ | 0.0444 | 7.0 | 3801 | 0.1721 | 0.9794 |
59
+ | 0.0441 | 8.0 | 4344 | 0.1719 | 0.9794 |
60
+ | 0.0265 | 9.0 | 4887 | 0.1819 | 0.9794 |
61
+ | 0.0252 | 10.0 | 5430 | 0.1770 | 0.9794 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.36.2
67
+ - Pytorch 2.0.1
68
+ - Datasets 2.16.1
69
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "UBC-NLP/AraT5v2-base-1024",
3
+ "architectures": [
4
+ "T5ForSequenceClassification"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 2048,
8
+ "d_kv": 64,
9
+ "d_model": 768,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "gelu_new",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "gated-gelu",
15
+ "id2label": {
16
+ "0": "LABEL_0",
17
+ "1": "LABEL_1",
18
+ "2": "LABEL_2",
19
+ "3": "LABEL_3",
20
+ "4": "LABEL_4",
21
+ "5": "LABEL_5",
22
+ "6": "LABEL_6",
23
+ "7": "LABEL_7",
24
+ "8": "LABEL_8",
25
+ "9": "LABEL_9",
26
+ "10": "LABEL_10",
27
+ "11": "LABEL_11",
28
+ "12": "LABEL_12",
29
+ "13": "LABEL_13",
30
+ "14": "LABEL_14",
31
+ "15": "LABEL_15",
32
+ "16": "LABEL_16",
33
+ "17": "LABEL_17",
34
+ "18": "LABEL_18",
35
+ "19": "LABEL_19",
36
+ "20": "LABEL_20",
37
+ "21": "LABEL_21",
38
+ "22": "LABEL_22",
39
+ "23": "LABEL_23"
40
+ },
41
+ "initializer_factor": 1.0,
42
+ "is_encoder_decoder": true,
43
+ "is_gated_act": true,
44
+ "label2id": {
45
+ "LABEL_0": 0,
46
+ "LABEL_1": 1,
47
+ "LABEL_10": 10,
48
+ "LABEL_11": 11,
49
+ "LABEL_12": 12,
50
+ "LABEL_13": 13,
51
+ "LABEL_14": 14,
52
+ "LABEL_15": 15,
53
+ "LABEL_16": 16,
54
+ "LABEL_17": 17,
55
+ "LABEL_18": 18,
56
+ "LABEL_19": 19,
57
+ "LABEL_2": 2,
58
+ "LABEL_20": 20,
59
+ "LABEL_21": 21,
60
+ "LABEL_22": 22,
61
+ "LABEL_23": 23,
62
+ "LABEL_3": 3,
63
+ "LABEL_4": 4,
64
+ "LABEL_5": 5,
65
+ "LABEL_6": 6,
66
+ "LABEL_7": 7,
67
+ "LABEL_8": 8,
68
+ "LABEL_9": 9
69
+ },
70
+ "layer_norm_epsilon": 1e-06,
71
+ "model_type": "t5",
72
+ "num_decoder_layers": 12,
73
+ "num_heads": 12,
74
+ "num_layers": 12,
75
+ "output_past": true,
76
+ "pad_token_id": 0,
77
+ "problem_type": "single_label_classification",
78
+ "relative_attention_max_distance": 128,
79
+ "relative_attention_num_buckets": 32,
80
+ "tie_word_embeddings": false,
81
+ "tokenizer_class": "T5Tokenizer",
82
+ "torch_dtype": "float32",
83
+ "transformers_version": "4.36.2",
84
+ "use_cache": true,
85
+ "vocab_size": 110208
86
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f605831ff5e2f1369258bc00c225e52fed31ecc8fa9d48d589093b06c346e868
3
+ size 1133949480
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08d2f7cc518db3bc553794122bc5afe13f28fac21e130c32de72848eeea27aa3
3
+ size 4155