haonan-li commited on
Commit
fa0f43a
1 Parent(s): bc6aaf6

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: allenai/longformer-base-4096
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: longformer-harmful-ro
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # longformer-harmful-ro
20
+
21
+ This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0102
24
+ - Accuracy: 0.996
25
+ - Precision: 0.998
26
+ - Recall: 0.955
27
+ - F1: 0.975
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 64
48
+ - eval_batch_size: 128
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.0
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:-----:|
58
+ | No log | 1.0 | 89 | 0.0972 | 0.978 | 0.989 | 0.75 | 0.828 |
59
+ | No log | 2.0 | 178 | 0.0337 | 0.986 | 0.993 | 0.841 | 0.902 |
60
+ | No log | 3.0 | 267 | 0.0102 | 0.996 | 0.998 | 0.955 | 0.975 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.31.0
66
+ - Pytorch 2.0.1+cu118
67
+ - Datasets 2.14.0
68
+ - Tokenizers 0.13.3