End of training
Browse files- README.md +65 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: xlnet-base-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: XLNet-Reddit-Toxic-Comment-Classification
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# XLNet-Reddit-Toxic-Comment-Classification
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.2615
|
21 |
+
- Rmse: 0.2748
|
22 |
+
- Accuracy: 0.9245
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 3e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 5
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Rmse | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
|
53 |
+
| 0.3672 | 1.0 | 1073 | 0.2615 | 0.2748 | 0.9245 |
|
54 |
+
| 0.2441 | 2.0 | 2146 | 0.3464 | 0.2896 | 0.9161 |
|
55 |
+
| 0.1726 | 3.0 | 3219 | 0.3880 | 0.2661 | 0.9292 |
|
56 |
+
| 0.1146 | 4.0 | 4292 | 0.3287 | 0.2499 | 0.9376 |
|
57 |
+
| 0.0831 | 5.0 | 5365 | 0.3672 | 0.2590 | 0.9329 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.35.0.dev0
|
63 |
+
- Pytorch 2.0.0
|
64 |
+
- Datasets 2.1.0
|
65 |
+
- Tokenizers 0.14.1
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 469311765
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ce47dd63627fa907183881a9763a0609d404687f1cfcd7ff3c7e9264d609737
|
3 |
size 469311765
|