arincon/ia-detection-deberta-v3-small
Browse files- README.md +95 -0
- added_tokens.json +3 -0
- logs/events.out.tfevents.1699297793.5ac269de8a76.1662.0 +2 -2
- logs/events.out.tfevents.1699301154.5ac269de8a76.1662.2 +3 -0
- pytorch_model.bin +1 -1
- special_tokens_map.json +9 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -0
README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 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-deberta-v3-small
|
| 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.6245419567607182
|
| 28 |
+
- name: F1
|
| 29 |
+
type: f1
|
| 30 |
+
value: 0.7308134379823322
|
| 31 |
+
- name: Precision
|
| 32 |
+
type: precision
|
| 33 |
+
value: 0.5776958621047713
|
| 34 |
+
- name: Recall
|
| 35 |
+
type: recall
|
| 36 |
+
value: 0.9943699731903485
|
| 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-deberta-v3-small
|
| 43 |
+
|
| 44 |
+
This model is a fine-tuned version of [microsoft/deberta-v3-small](https://huggingface.co/microsoft/deberta-v3-small) on the autextification2023 dataset.
|
| 45 |
+
It achieves the following results on the evaluation set:
|
| 46 |
+
- Loss: 2.0506
|
| 47 |
+
- Accuracy: 0.6245
|
| 48 |
+
- F1: 0.7308
|
| 49 |
+
- Precision: 0.5777
|
| 50 |
+
- Recall: 0.9944
|
| 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.2303 | 1.0 | 3808 | 0.3607 | 0.8984 | 0.8934 | 0.9231 | 0.8655 |
|
| 83 |
+
| 0.1757 | 2.0 | 7616 | 0.5627 | 0.8606 | 0.8731 | 0.7903 | 0.9754 |
|
| 84 |
+
| 0.0372 | 3.0 | 11424 | 0.4746 | 0.8978 | 0.9014 | 0.8575 | 0.9502 |
|
| 85 |
+
| 0.1016 | 4.0 | 15232 | 0.6520 | 0.8910 | 0.8932 | 0.8620 | 0.9267 |
|
| 86 |
+
| 0.0871 | 5.0 | 19040 | 0.7452 | 0.8730 | 0.8797 | 0.8235 | 0.9441 |
|
| 87 |
+
| 0.0002 | 6.0 | 22848 | 0.7724 | 0.8942 | 0.8942 | 0.8802 | 0.9087 |
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
### Framework versions
|
| 91 |
+
|
| 92 |
+
- Transformers 4.26.1
|
| 93 |
+
- Pytorch 2.1.0+cu118
|
| 94 |
+
- Datasets 2.14.6
|
| 95 |
+
- Tokenizers 0.13.3
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[MASK]": 128000
|
| 3 |
+
}
|
logs/events.out.tfevents.1699297793.5ac269de8a76.1662.0
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:eb14748ee3cc4521f6887c3db6f7bee2fde2ab99ff7666df90b1c14104b21d9d
|
| 3 |
+
size 367929
|
logs/events.out.tfevents.1699301154.5ac269de8a76.1662.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaa1ed90eace7b08564bc8eb7c0762e26d68b41100b39871c8f872270b9f24ca
|
| 3 |
+
size 569
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 567322742
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f321084d19b8a6f6101425b8ed6b2cc427be942ec66c8cdd70c34d869155ae63
|
| 3 |
size 567322742
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "[CLS]",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"eos_token": "[SEP]",
|
| 5 |
+
"mask_token": "[MASK]",
|
| 6 |
+
"pad_token": "[SEP]",
|
| 7 |
+
"sep_token": "[SEP]",
|
| 8 |
+
"unk_token": "[UNK]"
|
| 9 |
+
}
|
spm.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
|
| 3 |
+
size 2464616
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "[CLS]",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": false,
|
| 5 |
+
"eos_token": "[SEP]",
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"name_or_path": "microsoft/deberta-v3-small",
|
| 9 |
+
"pad_token": "[PAD]",
|
| 10 |
+
"sep_token": "[SEP]",
|
| 11 |
+
"sp_model_kwargs": {},
|
| 12 |
+
"special_tokens_map_file": null,
|
| 13 |
+
"split_by_punct": false,
|
| 14 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
| 15 |
+
"unk_token": "[UNK]",
|
| 16 |
+
"vocab_type": "spm"
|
| 17 |
+
}
|