odunola commited on
Commit
2ecc206
·
1 Parent(s): 8355590
Files changed (2) hide show
  1. README.md +17 -24
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -1,13 +1,10 @@
1
  ---
2
- license: apache-2.0
3
- base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
- metrics:
7
- - accuracy
8
- - f1
9
- - precision
10
- - recall
11
  model-index:
12
  - name: bert-based_uncased-finetuned-binary_hate_speech
13
  results: []
@@ -18,13 +15,18 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # bert-based_uncased-finetuned-binary_hate_speech
20
 
21
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.4500
24
- - Accuracy: 0.8179
25
- - F1: 0.8255
26
- - Precision: 0.7924
27
- - Recall: 0.8614
 
 
 
 
 
28
 
29
  ## Model description
30
 
@@ -44,22 +46,13 @@ More information needed
44
 
45
  The following hyperparameters were used during training:
46
  - learning_rate: 1e-05
47
- - train_batch_size: 16
48
- - eval_batch_size: 16
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
  - num_epochs: 3
53
 
54
- ### Training results
55
-
56
- | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
57
- |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
58
- | 0.4844 | 1.0 | 1941 | 0.4541 | 0.8002 | 0.8043 | 0.7877 | 0.8217 |
59
- | 0.3952 | 2.0 | 3882 | 0.4360 | 0.8138 | 0.8184 | 0.7985 | 0.8393 |
60
- | 0.3438 | 3.0 | 5823 | 0.4500 | 0.8179 | 0.8255 | 0.7924 | 0.8614 |
61
-
62
-
63
  ### Framework versions
64
 
65
  - Transformers 4.34.1
 
1
  ---
2
+ license: mit
3
+ base_model: lucasresck/bert-base-cased-ag-news
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - ag_news
 
 
 
8
  model-index:
9
  - name: bert-based_uncased-finetuned-binary_hate_speech
10
  results: []
 
15
 
16
  # bert-based_uncased-finetuned-binary_hate_speech
17
 
18
+ This model is a fine-tuned version of [lucasresck/bert-base-cased-ag-news](https://huggingface.co/lucasresck/bert-base-cased-ag-news) on the ag_news dataset.
19
  It achieves the following results on the evaluation set:
20
+ - eval_loss: 0.3032
21
+ - eval_accuracy: 0.9426
22
+ - eval_f1: 0.9426
23
+ - eval_precision: 0.9428
24
+ - eval_recall: 0.9426
25
+ - eval_runtime: 12.9777
26
+ - eval_samples_per_second: 585.618
27
+ - eval_steps_per_second: 18.339
28
+ - epoch: 2.0
29
+ - step: 7500
30
 
31
  ## Model description
32
 
 
46
 
47
  The following hyperparameters were used during training:
48
  - learning_rate: 1e-05
49
+ - train_batch_size: 32
50
+ - eval_batch_size: 32
51
  - seed: 42
52
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
  - lr_scheduler_type: linear
54
  - num_epochs: 3
55
 
 
 
 
 
 
 
 
 
 
56
  ### Framework versions
57
 
58
  - Transformers 4.34.1
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:84a764fc1f1029449f1eea836a9b8fc2adef7314b55777cd9991f90e58408deb
3
  size 433321777
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0a2c87883e8b00a43d5c0618925ea840b68a0b430b9fcbae8e5f299105cf6f2
3
  size 433321777