File size: 2,098 Bytes
56f63cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
license: apache-2.0
base_model: indolem/indobertweet-base-uncased
tags:
- generated_from_trainer
model-index:
- name: classification-hate-speech
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# classification-hate-speech

This model is a fine-tuned version of [indolem/indobertweet-base-uncased](https://huggingface.co/indolem/indobertweet-base-uncased) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 2.3971
- F1 macro: 0.3764
- Weighted: 0.5676
- Balanced accuracy: 0.5202

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 7

### Training results

| Training Loss | Epoch | Step | Validation Loss | F1 macro | Weighted | Balanced accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------------:|
| 1.1881        | 1.0   | 98   | 1.2881          | 0.3632   | 0.5818   | 0.4714            |
| 0.9442        | 2.0   | 196  | 1.6041          | 0.3525   | 0.4977   | 0.5128            |
| 0.5045        | 3.0   | 294  | 2.1271          | 0.3236   | 0.4088   | 0.5040            |
| 0.111         | 4.0   | 392  | 1.9956          | 0.3627   | 0.5579   | 0.5034            |
| 0.0279        | 5.0   | 490  | 2.3665          | 0.3740   | 0.5627   | 0.5203            |
| 0.0203        | 6.0   | 588  | 2.4468          | 0.3662   | 0.5512   | 0.5170            |
| 0.006         | 7.0   | 686  | 2.3971          | 0.3764   | 0.5676   | 0.5202            |


### Framework versions

- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1