ahmed792002 commited on
Commit
54011f5
·
verified ·
1 Parent(s): 4c64754

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.5280
23
- - Accuracy: 0.9203
24
- - F1: 0.9202
25
 
26
  ## Model description
27
 
@@ -52,11 +52,11 @@ The following hyperparameters were used during training:
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
  |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
55
- | 0.393 | 1.0 | 9000 | 0.3941 | 0.9103 | 0.9102 |
56
- | 0.2937 | 2.0 | 18000 | 0.3846 | 0.9163 | 0.9162 |
57
- | 0.1886 | 3.0 | 27000 | 0.4201 | 0.9247 | 0.9248 |
58
- | 0.1554 | 4.0 | 36000 | 0.4752 | 0.9175 | 0.9175 |
59
- | 0.0916 | 5.0 | 45000 | 0.5280 | 0.9203 | 0.9202 |
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.6015
23
+ - Accuracy: 0.907
24
+ - F1: 0.9070
25
 
26
  ## Model description
27
 
 
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
  |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
55
+ | 0.4127 | 1.0 | 9000 | 0.5397 | 0.8718 | 0.8710 |
56
+ | 0.3234 | 2.0 | 18000 | 0.4125 | 0.9058 | 0.9057 |
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
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:68a2c10e25c09287c6c963a3e7d1ed034a76f33d5f9a508a9825caae99ebd1a4
3
  size 594678184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8ed5bf331d7db96906c9791fa9ff4ea00115696bb9f04ba379cab640e9102ba
3
  size 594678184
runs/Dec07_10-37-18_a4abe714014b/events.out.tfevents.1733567840.a4abe714014b.23.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2814093f3e263a710dba49612dcfed2746d725f5bf160ba5ba9e6cf6e2a223d
3
+ size 26796
tokenizer.json CHANGED
@@ -2,13 +2,13 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 512,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
- "Fixed": 512
12
  },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 200,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
+ "Fixed": 200
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:92e3a5c35ddf4603b5a569b9cf6738e1fc8cde2b37d03cf3945bb79a861647a1
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6626c51ff5daa41eed9946482fa132fdab8310ffadf1a26b3d3f652e3ac94cd
3
  size 5368