uboza10300
commited on
Commit
•
059efd3
1
Parent(s):
ff83ac2
End of training
Browse files- README.md +94 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- hatexplain
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
- precision
|
12 |
+
- recall
|
13 |
+
- f1
|
14 |
+
model-index:
|
15 |
+
- name: finetuned-distilbert-hatexplainV2
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
name: Text Classification
|
19 |
+
type: text-classification
|
20 |
+
dataset:
|
21 |
+
name: hatexplain
|
22 |
+
type: hatexplain
|
23 |
+
config: plain_text
|
24 |
+
split: validation
|
25 |
+
args: plain_text
|
26 |
+
metrics:
|
27 |
+
- name: Accuracy
|
28 |
+
type: accuracy
|
29 |
+
value: 0.6845114345114345
|
30 |
+
- name: Precision
|
31 |
+
type: precision
|
32 |
+
value: 0.6875552661807551
|
33 |
+
- name: Recall
|
34 |
+
type: recall
|
35 |
+
value: 0.6845114345114345
|
36 |
+
- name: F1
|
37 |
+
type: f1
|
38 |
+
value: 0.6848681152421926
|
39 |
+
---
|
40 |
+
|
41 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
42 |
+
should probably proofread and complete it, then remove this comment. -->
|
43 |
+
|
44 |
+
# finetuned-distilbert-hatexplainV2
|
45 |
+
|
46 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the hatexplain dataset.
|
47 |
+
It achieves the following results on the evaluation set:
|
48 |
+
- Loss: 1.1306
|
49 |
+
- Accuracy: 0.6845
|
50 |
+
- Precision: 0.6876
|
51 |
+
- Recall: 0.6845
|
52 |
+
- F1: 0.6849
|
53 |
+
|
54 |
+
## Model description
|
55 |
+
|
56 |
+
More information needed
|
57 |
+
|
58 |
+
## Intended uses & limitations
|
59 |
+
|
60 |
+
More information needed
|
61 |
+
|
62 |
+
## Training and evaluation data
|
63 |
+
|
64 |
+
More information needed
|
65 |
+
|
66 |
+
## Training procedure
|
67 |
+
|
68 |
+
### Training hyperparameters
|
69 |
+
|
70 |
+
The following hyperparameters were used during training:
|
71 |
+
- learning_rate: 5e-05
|
72 |
+
- train_batch_size: 16
|
73 |
+
- eval_batch_size: 16
|
74 |
+
- seed: 42
|
75 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
76 |
+
- lr_scheduler_type: linear
|
77 |
+
- num_epochs: 4
|
78 |
+
|
79 |
+
### Training results
|
80 |
+
|
81 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
82 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
83 |
+
| 0.723 | 1.0 | 962 | 0.7320 | 0.6826 | 0.6766 | 0.6826 | 0.6703 |
|
84 |
+
| 0.6337 | 2.0 | 1924 | 0.7344 | 0.6857 | 0.6847 | 0.6857 | 0.6852 |
|
85 |
+
| 0.3821 | 3.0 | 2886 | 0.9051 | 0.6722 | 0.6885 | 0.6722 | 0.6759 |
|
86 |
+
| 0.1811 | 4.0 | 3848 | 1.1789 | 0.6743 | 0.6787 | 0.6743 | 0.6759 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.47.0
|
92 |
+
- Pytorch 2.5.1+cu118
|
93 |
+
- Datasets 3.1.0
|
94 |
+
- Tokenizers 0.21.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 267835644
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:484b7e48eeed1ed0874cfe6c7787e5a046693fe7e5871099d0eaca61687a8d6a
|
3 |
size 267835644
|