ahmed792002 commited on
Commit
d9f7d70
·
verified ·
1 Parent(s): b5944da

ahmed792002/Finetuning_XLNET_Paraphrase_Classification

Browse files
README.md CHANGED
@@ -4,9 +4,6 @@ license: mit
4
  base_model: xlnet-base-cased
5
  tags:
6
  - generated_from_trainer
7
- metrics:
8
- - accuracy
9
- - f1
10
  model-index:
11
  - name: Finetuning_XLNET_Paraphrase_Classification
12
  results: []
@@ -18,10 +15,6 @@ should probably proofread and complete it, then remove this comment. -->
18
  # Finetuning_XLNET_Paraphrase_Classification
19
 
20
  This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on the None dataset.
21
- It achieves the following results on the evaluation set:
22
- - Loss: 0.9155
23
- - Accuracy: 0.8701
24
- - F1: 0.8671
25
 
26
  ## Model description
27
 
@@ -44,24 +37,17 @@ The following hyperparameters were used during training:
44
  - train_batch_size: 8
45
  - eval_batch_size: 8
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: 5
50
 
51
  ### Training results
52
 
53
- | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
- |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
- | 0.5517 | 1.0 | 619 | 0.3508 | 0.8529 | 0.8513 |
56
- | 0.3345 | 2.0 | 1238 | 0.4829 | 0.8725 | 0.8711 |
57
- | 0.2295 | 3.0 | 1857 | 0.9169 | 0.8627 | 0.8585 |
58
- | 0.1313 | 4.0 | 2476 | 0.8408 | 0.8652 | 0.8624 |
59
- | 0.0398 | 5.0 | 3095 | 0.9155 | 0.8701 | 0.8671 |
60
 
61
 
62
  ### Framework versions
63
 
64
- - Transformers 4.46.3
65
- - Pytorch 2.5.1+cu121
66
- - Datasets 3.1.0
67
- - Tokenizers 0.20.3
 
4
  base_model: xlnet-base-cased
5
  tags:
6
  - generated_from_trainer
 
 
 
7
  model-index:
8
  - name: Finetuning_XLNET_Paraphrase_Classification
9
  results: []
 
15
  # Finetuning_XLNET_Paraphrase_Classification
16
 
17
  This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on the None dataset.
 
 
 
 
18
 
19
  ## Model description
20
 
 
37
  - train_batch_size: 8
38
  - eval_batch_size: 8
39
  - seed: 42
40
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
  - lr_scheduler_type: linear
42
  - num_epochs: 5
43
 
44
  ### Training results
45
 
 
 
 
 
 
 
 
46
 
47
 
48
  ### Framework versions
49
 
50
+ - Transformers 4.51.3
51
+ - Pytorch 2.6.0+cu124
52
+ - Datasets 3.6.0
53
+ - Tokenizers 0.21.1
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "xlnet-base-cased",
3
  "architectures": [
4
  "XLNetForSequenceClassification"
5
  ],
@@ -36,7 +35,7 @@
36
  }
37
  },
38
  "torch_dtype": "float32",
39
- "transformers_version": "4.46.3",
40
  "untie_r": true,
41
  "use_mems_eval": true,
42
  "use_mems_train": false,
 
1
  {
 
2
  "architectures": [
3
  "XLNetForSequenceClassification"
4
  ],
 
35
  }
36
  },
37
  "torch_dtype": "float32",
38
+ "transformers_version": "4.51.3",
39
  "untie_r": true,
40
  "use_mems_eval": true,
41
  "use_mems_train": false,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fa7ba42b482a7510bfef2d1d4a4c02e881475f6ecf6af72690a4e4c18a40665c
3
  size 469264592
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8ad96335da3b4db1ba27710d9658b6ca50b2ab340fe189c2718d03a666ee4c9
3
  size 469264592
runs/Jun03_21-37-40_ea8e5d3258cc/events.out.tfevents.1748986662.ea8e5d3258cc.19.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90a4af50a46b6f50e269c42bc8cd1a56da6c9a1cb0bb3541e00be9b4c587ee20
3
+ size 6498
tokenizer_config.json CHANGED
@@ -82,6 +82,7 @@
82
  "cls_token": "<cls>",
83
  "do_lower_case": false,
84
  "eos_token": "</s>",
 
85
  "keep_accents": false,
86
  "mask_token": "<mask>",
87
  "model_max_length": 1000000000000000019884624838656,
 
82
  "cls_token": "<cls>",
83
  "do_lower_case": false,
84
  "eos_token": "</s>",
85
+ "extra_special_tokens": {},
86
  "keep_accents": false,
87
  "mask_token": "<mask>",
88
  "model_max_length": 1000000000000000019884624838656,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b1e1857e1f99d8c1f968b3f8eb13991f344bfe0d9f623312a8840a0064bc11c
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9903d57b2418646e98ee5f1ca8dbd2556578e61f50055646a3800500a8d50ac
3
  size 5368