Training Complete
Browse files
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert/distilbert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- hate_speech18
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
- f1
|
12 |
+
model-index:
|
13 |
+
- name: distilbert-base-uncased-finetuned_on_hata_dateset
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Text Classification
|
17 |
+
type: text-classification
|
18 |
+
dataset:
|
19 |
+
name: hate_speech18
|
20 |
+
type: hate_speech18
|
21 |
+
config: default
|
22 |
+
split: train
|
23 |
+
args: default
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.9243697478991597
|
28 |
+
- name: F1
|
29 |
+
type: f1
|
30 |
+
value: 0.9223806548670374
|
31 |
+
---
|
32 |
+
|
33 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
34 |
+
should probably proofread and complete it, then remove this comment. -->
|
35 |
+
|
36 |
+
# distilbert-base-uncased-finetuned_on_hata_dateset
|
37 |
+
|
38 |
+
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on the hate_speech18 dataset.
|
39 |
+
It achieves the following results on the evaluation set:
|
40 |
+
- Loss: 0.2221
|
41 |
+
- Accuracy: 0.9244
|
42 |
+
- F1: 0.9224
|
43 |
+
|
44 |
+
## Model description
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Intended uses & limitations
|
49 |
+
|
50 |
+
More information needed
|
51 |
+
|
52 |
+
## Training and evaluation data
|
53 |
+
|
54 |
+
More information needed
|
55 |
+
|
56 |
+
## Training procedure
|
57 |
+
|
58 |
+
### Training hyperparameters
|
59 |
+
|
60 |
+
The following hyperparameters were used during training:
|
61 |
+
- learning_rate: 2e-05
|
62 |
+
- train_batch_size: 32
|
63 |
+
- eval_batch_size: 32
|
64 |
+
- seed: 42
|
65 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
66 |
+
- lr_scheduler_type: linear
|
67 |
+
- num_epochs: 3
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
73 |
+
| 0.2718 | 1.0 | 268 | 0.2050 | 0.9104 | 0.9070 |
|
74 |
+
| 0.1697 | 2.0 | 536 | 0.2039 | 0.9188 | 0.9094 |
|
75 |
+
| 0.1143 | 3.0 | 804 | 0.2221 | 0.9244 | 0.9224 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- Transformers 4.44.2
|
81 |
+
- Pytorch 2.4.0+cu121
|
82 |
+
- Datasets 2.21.0
|
83 |
+
- Tokenizers 0.19.1
|
runs/Sep05_08-23-46_aa72eb057920/events.out.tfevents.1725524632.aa72eb057920.2823.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:dd35edeb3849eefdc3f6ddcbe4046aa726a23f080fbc5b922911a71dfa6f89d3
|
3 |
+
size 7016
|