End of training
Browse files- README.md +84 -0
- config.json +2 -9
- events.out.tfevents.1700578141.192a4cdc5c44.8901.12 +2 -2
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: aubmindlab/bert-base-arabertv02-twitter
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: Improved-Arabert-twitter-sentiment2
|
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 |
+
# Improved-Arabert-twitter-sentiment2
|
16 |
+
|
17 |
+
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.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.4308
|
20 |
+
- Accuracy: 0.8759
|
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: 2e-05
|
40 |
+
- train_batch_size: 16
|
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 |
+
- num_epochs: 10
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
51 |
+
| No log | 0.07 | 50 | 0.4102 | 0.8130 |
|
52 |
+
| No log | 0.14 | 100 | 0.3141 | 0.8769 |
|
53 |
+
| No log | 0.21 | 150 | 0.2981 | 0.8806 |
|
54 |
+
| No log | 0.27 | 200 | 0.3297 | 0.8769 |
|
55 |
+
| No log | 0.34 | 250 | 0.2998 | 0.8796 |
|
56 |
+
| No log | 0.41 | 300 | 0.3312 | 0.8630 |
|
57 |
+
| No log | 0.48 | 350 | 0.3615 | 0.8491 |
|
58 |
+
| No log | 0.55 | 400 | 0.3695 | 0.8481 |
|
59 |
+
| No log | 0.62 | 450 | 0.3094 | 0.8778 |
|
60 |
+
| 0.316 | 0.68 | 500 | 0.2784 | 0.8907 |
|
61 |
+
| 0.316 | 0.75 | 550 | 0.3404 | 0.8759 |
|
62 |
+
| 0.316 | 0.82 | 600 | 0.3045 | 0.8806 |
|
63 |
+
| 0.316 | 0.89 | 650 | 0.3435 | 0.8731 |
|
64 |
+
| 0.316 | 0.96 | 700 | 0.2849 | 0.9 |
|
65 |
+
| 0.316 | 1.03 | 750 | 0.2846 | 0.8963 |
|
66 |
+
| 0.316 | 1.1 | 800 | 0.3034 | 0.8926 |
|
67 |
+
| 0.316 | 1.16 | 850 | 0.3801 | 0.8787 |
|
68 |
+
| 0.316 | 1.23 | 900 | 0.3525 | 0.8898 |
|
69 |
+
| 0.316 | 1.3 | 950 | 0.3388 | 0.8889 |
|
70 |
+
| 0.2119 | 1.37 | 1000 | 0.3823 | 0.8843 |
|
71 |
+
| 0.2119 | 1.44 | 1050 | 0.3621 | 0.8935 |
|
72 |
+
| 0.2119 | 1.51 | 1100 | 0.4106 | 0.8843 |
|
73 |
+
| 0.2119 | 1.58 | 1150 | 0.3820 | 0.8870 |
|
74 |
+
| 0.2119 | 1.64 | 1200 | 0.3770 | 0.8796 |
|
75 |
+
| 0.2119 | 1.71 | 1250 | 0.4199 | 0.8824 |
|
76 |
+
| 0.2119 | 1.78 | 1300 | 0.4308 | 0.8759 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.34.1
|
82 |
+
- Pytorch 2.1.0+cu118
|
83 |
+
- Datasets 2.14.7
|
84 |
+
- Tokenizers 0.14.1
|
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_name_or_path": "aubmindlab/bert-base-arabertv02-twitter",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
@@ -9,16 +9,8 @@
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
-
"id2label": {
|
13 |
-
"0": "Negative",
|
14 |
-
"1": "Positive"
|
15 |
-
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
-
"label2id": {
|
19 |
-
"Negative": 0,
|
20 |
-
"Positive": 1
|
21 |
-
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"max_position_embeddings": 512,
|
24 |
"model_type": "bert",
|
@@ -26,6 +18,7 @@
|
|
26 |
"num_hidden_layers": 12,
|
27 |
"pad_token_id": 0,
|
28 |
"position_embedding_type": "absolute",
|
|
|
29 |
"torch_dtype": "float32",
|
30 |
"transformers_version": "4.34.1",
|
31 |
"type_vocab_size": 2,
|
|
|
1 |
{
|
2 |
"_name_or_path": "aubmindlab/bert-base-arabertv02-twitter",
|
3 |
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
"max_position_embeddings": 512,
|
16 |
"model_type": "bert",
|
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 0,
|
20 |
"position_embedding_type": "absolute",
|
21 |
+
"problem_type": "single_label_classification",
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.34.1",
|
24 |
"type_vocab_size": 2,
|
events.out.tfevents.1700578141.192a4cdc5c44.8901.12
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd296c2cdbca7303a886bf0c927ec8247010ccdf2c5e61e1a705b2798ee6d223
|
3 |
+
size 1232
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 540848366
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd1f97da18e548ca43b188b07f8d4c80ffe23298a15b91070e44b717846f41f4
|
3 |
size 540848366
|