eclec commited on
Commit
269d556
·
1 Parent(s): bff41cc

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: eclec/patentClassificationLongFormer2
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ model-index:
9
+ - name: patentClassificationLongFormerTextrank
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
+ # patentClassificationLongFormerTextrank
17
+
18
+ This model is a fine-tuned version of [eclec/patentClassificationLongFormer2](https://huggingface.co/eclec/patentClassificationLongFormer2) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.5171
21
+ - Accuracy: 0.78
22
+ - F1: 0.5756
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: 4.3241744156881815e-05
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 172
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 32
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_ratio: 0.2047474135167534
50
+ - lr_scheduler_warmup_steps: 292
51
+ - num_epochs: 3
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
56
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
57
+ | 0.493 | 1.0 | 625 | 0.5110 | 0.7644 | 0.5473 |
58
+ | 0.4656 | 2.0 | 1250 | 0.4724 | 0.7854 | 0.4819 |
59
+ | 0.3847 | 3.0 | 1875 | 0.5171 | 0.78 | 0.5756 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.31.0
65
+ - Pytorch 2.0.0
66
+ - Datasets 2.14.4
67
+ - Tokenizers 0.13.3