arincon commited on
Commit
256418a
·
1 Parent(s): ef839a5

arincon/ia-detection-bart-base

Browse files
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - autextification2023
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: ia-detection-bart-base
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: autextification2023
20
+ type: autextification2023
21
+ config: detection_en
22
+ split: train
23
+ args: detection_en
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.7699248809087578
28
+ - name: F1
29
+ type: f1
30
+ value: 0.7727252160535721
31
+ - name: Precision
32
+ type: precision
33
+ value: 0.7826047108422692
34
+ - name: Recall
35
+ type: recall
36
+ value: 0.7630920464700626
37
+ ---
38
+
39
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
40
+ should probably proofread and complete it, then remove this comment. -->
41
+
42
+ # ia-detection-bart-base
43
+
44
+ This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the autextification2023 dataset.
45
+ It achieves the following results on the evaluation set:
46
+ - Loss: 0.6968
47
+ - Accuracy: 0.7699
48
+ - F1: 0.7727
49
+ - Precision: 0.7826
50
+ - Recall: 0.7631
51
+
52
+ ## Model description
53
+
54
+ More information needed
55
+
56
+ ## Intended uses & limitations
57
+
58
+ More information needed
59
+
60
+ ## Training and evaluation data
61
+
62
+ More information needed
63
+
64
+ ## Training procedure
65
+
66
+ ### Training hyperparameters
67
+
68
+ The following hyperparameters were used during training:
69
+ - learning_rate: 0.0001
70
+ - train_batch_size: 8
71
+ - eval_batch_size: 8
72
+ - seed: 42
73
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
74
+ - lr_scheduler_type: linear
75
+ - lr_scheduler_warmup_steps: 500
76
+ - num_epochs: 10
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
81
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
82
+ | 0.5243 | 1.0 | 3808 | 0.4726 | 0.7861 | 0.7309 | 0.9685 | 0.5869 |
83
+ | 0.627 | 2.0 | 7616 | 0.6362 | 0.6151 | 0.7120 | 0.5653 | 0.9618 |
84
+ | 0.6919 | 3.0 | 11424 | 0.7017 | 0.5052 | 0.0 | 0.0 | 0.0 |
85
+ | 0.7018 | 4.0 | 15232 | 0.6932 | 0.5052 | 0.0 | 0.0 | 0.0 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.26.1
91
+ - Pytorch 2.1.0+cu118
92
+ - Datasets 2.14.6
93
+ - Tokenizers 0.13.3
logs/events.out.tfevents.1698568656.ba03445939ee.521.4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:da5d46898f4298f2279600d2af404c73cd4486db1fceb11760f14e90a58c97dc
3
- size 246019
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e63b01b8605b1f7de21375f3e383e798d89d6b262bc65e5658cdfc4f6e4a308
3
+ size 246373
logs/events.out.tfevents.1698572092.ba03445939ee.521.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0b978ed6176c9b1f50c4c80763c3de13a04fd6d4484260a8c46ef84996f4ce0
3
+ size 560
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:822c5ab88987b7ca7cb27bb910892d45efe7b8a6fa61af659fc3363d7ee28cf9
3
  size 560140006
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8727d6887482b0c9e337ebd9a1aabe9b874f1bb154f3d489cfd5d6bf556dc3c
3
  size 560140006
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "eos_token": "</s>",
6
+ "errors": "replace",
7
+ "mask_token": "<mask>",
8
+ "model_max_length": 1024,
9
+ "name_or_path": "facebook/bart-base",
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "special_tokens_map_file": null,
13
+ "tokenizer_class": "BartTokenizer",
14
+ "trim_offsets": true,
15
+ "unk_token": "<unk>"
16
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff