aomar85 commited on
Commit
e18fa0f
·
verified ·
1 Parent(s): 3ba08aa

Best fold: (F1=0.8575)

Browse files
Files changed (4) hide show
  1. README.md +73 -0
  2. model.safetensors +1 -1
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +21 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: aubmindlab/bert-base-arabertv02-twitter
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: Arabertv2-fold5
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
+ # Arabertv2-fold5
17
+
18
+ This model is a fine-tuned version of [aubmindlab/bert-base-arabertv02-twitter](https://huggingface.co/aubmindlab/bert-base-arabertv02-twitter) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6600
21
+ - Accuracy: 0.8155
22
+ - Macro F1: 0.8151
23
+ - Weighted F1: 0.8151
24
+ - F1 Pro: 0.8037
25
+ - F1 Against: 0.8226
26
+ - F1 Neutral: 0.8190
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 10
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 | Weighted F1 | F1 Pro | F1 Against | F1 Neutral |
57
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|:-----------:|:------:|:----------:|:----------:|
58
+ | 0.9553 | 1.1628 | 50 | 0.7744 | 0.6667 | 0.6675 | 0.6667 | 0.6829 | 0.6387 | 0.6809 |
59
+ | 0.6022 | 2.3256 | 100 | 0.5448 | 0.7619 | 0.7617 | 0.7620 | 0.7748 | 0.7603 | 0.75 |
60
+ | 0.3637 | 3.4884 | 150 | 0.5355 | 0.7976 | 0.7961 | 0.7969 | 0.7961 | 0.8154 | 0.7767 |
61
+ | 0.2713 | 4.6512 | 200 | 0.5420 | 0.8036 | 0.8031 | 0.8035 | 0.8037 | 0.8130 | 0.7925 |
62
+ | 0.1627 | 5.8140 | 250 | 0.5662 | 0.7917 | 0.7914 | 0.7914 | 0.7748 | 0.8033 | 0.7961 |
63
+ | 0.1126 | 6.9767 | 300 | 0.6165 | 0.8095 | 0.8095 | 0.8092 | 0.7963 | 0.8130 | 0.8190 |
64
+ | 0.0886 | 8.1395 | 350 | 0.6597 | 0.8155 | 0.8151 | 0.8151 | 0.8037 | 0.8226 | 0.8190 |
65
+ | 0.0803 | 9.3023 | 400 | 0.6821 | 0.8095 | 0.8089 | 0.8091 | 0.7963 | 0.8226 | 0.8077 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 5.0.0
71
+ - Pytorch 2.10.0+cu128
72
+ - Datasets 4.0.0
73
+ - Tokenizers 0.22.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e8bbea5d278b96ff0de3f6fe286963cbafebf2c8bd3e18d242667dac3d5c7908
3
  size 540806124
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323947e3d062f88b0581e3f6f658e94dae0b73bd1525da06cda2ee6a8c7efb2d
3
  size 540806124
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": false,
6
+ "is_local": false,
7
+ "mask_token": "[MASK]",
8
+ "max_len": 512,
9
+ "model_max_length": 512,
10
+ "never_split": [
11
+ "[بريد]",
12
+ "[مستخدم]",
13
+ "[رابط]"
14
+ ],
15
+ "pad_token": "[PAD]",
16
+ "sep_token": "[SEP]",
17
+ "strip_accents": null,
18
+ "tokenize_chinese_chars": true,
19
+ "tokenizer_class": "BertTokenizer",
20
+ "unk_token": "[UNK]"
21
+ }