Model save
Browse files- README.md +70 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/bert_uncased_L-4_H-128_A-2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: bert_uncased_L-4_H-128_A-2-OCR-quality-classification-cls
|
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 |
+
# bert_uncased_L-4_H-128_A-2-OCR-quality-classification-cls
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/bert_uncased_L-4_H-128_A-2](https://huggingface.co/google/bert_uncased_L-4_H-128_A-2) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0422
|
21 |
+
- Accuracy: 0.99
|
22 |
+
- Num Input Tokens Seen: 57341952
|
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 |
+
- gradient_accumulation_steps: 8
|
46 |
+
- total_train_batch_size: 64
|
47 |
+
- optimizer: Adam with betas=(0.9,0.99) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- lr_scheduler_warmup_ratio: 0.05
|
50 |
+
- num_epochs: 2.0
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Input Tokens Seen |
|
55 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:-----------------:|
|
56 |
+
| 0.1123 | 0.2660 | 250 | 0.1202 | 0.974 | 8192000 |
|
57 |
+
| 0.072 | 0.5321 | 500 | 0.0665 | 0.986 | 16384000 |
|
58 |
+
| 0.0404 | 0.7981 | 750 | 0.0464 | 0.988 | 24576000 |
|
59 |
+
| 0.0255 | 1.0641 | 1000 | 0.0428 | 0.99 | 32765952 |
|
60 |
+
| 0.0253 | 1.3301 | 1250 | 0.0357 | 0.99 | 40957952 |
|
61 |
+
| 0.0329 | 1.5962 | 1500 | 0.0438 | 0.986 | 49149952 |
|
62 |
+
| 0.0435 | 1.8622 | 1750 | 0.0422 | 0.99 | 57341952 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.40.2
|
68 |
+
- Pytorch 2.2.0+cu121
|
69 |
+
- Datasets 2.19.1
|
70 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 19139184
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bc67a4a20b37af2b530018aba309683dbdcee4b93c9fa10be15b6d3492c1cbf
|
3 |
size 19139184
|