ahmed792002
commited on
ahmed792002/Finetuning_Longformer_IMDb_movie_reviews_Classification
Browse files
README.md
CHANGED
@@ -19,9 +19,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
19 |
|
20 |
This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the None dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
-
- Loss: 0.
|
23 |
-
- Accuracy: 0.
|
24 |
-
- F1: 0.
|
25 |
|
26 |
## Model description
|
27 |
|
@@ -46,17 +46,14 @@ The following hyperparameters were used during training:
|
|
46 |
- seed: 42
|
47 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
48 |
- lr_scheduler_type: linear
|
49 |
-
- num_epochs:
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
54 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
|
55 |
-
| 0.
|
56 |
-
| 0.
|
57 |
-
| 0.2301 | 3.0 | 27000 | 0.5200 | 0.902 | 0.9019 |
|
58 |
-
| 0.1731 | 4.0 | 36000 | 0.5431 | 0.9055 | 0.9055 |
|
59 |
-
| 0.0895 | 5.0 | 45000 | 0.6015 | 0.907 | 0.9070 |
|
60 |
|
61 |
|
62 |
### Framework versions
|
|
|
19 |
|
20 |
This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the None dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.4155
|
23 |
+
- Accuracy: 0.9173
|
24 |
+
- F1: 0.9173
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
46 |
- seed: 42
|
47 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
48 |
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 2
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
54 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
|
55 |
+
| 0.3594 | 1.0 | 9000 | 0.4529 | 0.897 | 0.8967 |
|
56 |
+
| 0.2779 | 2.0 | 18000 | 0.4155 | 0.9173 | 0.9173 |
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 594678184
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76ef2c7bbe6c531bf291b29900bad8c6f381251b5d69ed8bd23525f69e53c47d
|
3 |
size 594678184
|
runs/Dec08_12-08-07_652049512f2d/events.out.tfevents.1733659688.652049512f2d.23.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ea05815c5a13ca009b99801f57bf86c49edbb031bf56d6e0ea9ca82e25e0d80
|
3 |
+
size 14058
|
tokenizer.json
CHANGED
@@ -2,13 +2,13 @@
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
-
"max_length":
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
"strategy": {
|
11 |
-
"Fixed":
|
12 |
},
|
13 |
"direction": "Right",
|
14 |
"pad_to_multiple_of": null,
|
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
+
"max_length": 1024,
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
9 |
"padding": {
|
10 |
"strategy": {
|
11 |
+
"Fixed": 1024
|
12 |
},
|
13 |
"direction": "Right",
|
14 |
"pad_to_multiple_of": null,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5368
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e665ffe94041fb8a003188f68c9688298940b0a0580817a7faafc79677c62b7d
|
3 |
size 5368
|