prashantloni
commited on
End of training
Browse files- README.md +84 -0
- logs/events.out.tfevents.1709891605.0bfa544f863f.4080.0 +2 -2
- logs/events.out.tfevents.1709893121.0bfa544f863f.4080.1 +3 -0
- merges.txt +0 -0
- model.safetensors +1 -1
- preprocessor_config.json +26 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +78 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: SCUT-DLVCLab/lilt-roberta-en-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: lilt-en-aadhaar
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# lilt-en-aadhaar
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [SCUT-DLVCLab/lilt-roberta-en-base](https://huggingface.co/SCUT-DLVCLab/lilt-roberta-en-base) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.0950
|
19 |
+
- Adhaar Number: {'precision': 0.9523809523809523, 'recall': 1.0, 'f1': 0.975609756097561, 'number': 20}
|
20 |
+
- Ame: {'precision': 0.9230769230769231, 'recall': 0.9230769230769231, 'f1': 0.9230769230769231, 'number': 13}
|
21 |
+
- Ather Name: {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3}
|
22 |
+
- Ather Name Back: {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9}
|
23 |
+
- Ather Name Front Top: {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4}
|
24 |
+
- Ddress Back: {'precision': 0.9032258064516129, 'recall': 0.8235294117647058, 'f1': 0.8615384615384616, 'number': 34}
|
25 |
+
- Ddress Front: {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16}
|
26 |
+
- Ender: {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12}
|
27 |
+
- Ob: {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13}
|
28 |
+
- Obile Number: {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5}
|
29 |
+
- Ther: {'precision': 0.898876404494382, 'recall': 0.8791208791208791, 'f1': 0.8888888888888888, 'number': 91}
|
30 |
+
- Overall Precision: 0.9256
|
31 |
+
- Overall Recall: 0.9045
|
32 |
+
- Overall F1: 0.9149
|
33 |
+
- Overall Accuracy: 0.9923
|
34 |
+
|
35 |
+
## Model description
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Intended uses & limitations
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training and evaluation data
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training procedure
|
48 |
+
|
49 |
+
### Training hyperparameters
|
50 |
+
|
51 |
+
The following hyperparameters were used during training:
|
52 |
+
- learning_rate: 5e-05
|
53 |
+
- train_batch_size: 8
|
54 |
+
- eval_batch_size: 8
|
55 |
+
- seed: 42
|
56 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
57 |
+
- lr_scheduler_type: linear
|
58 |
+
- training_steps: 2500
|
59 |
+
- mixed_precision_training: Native AMP
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
| Training Loss | Epoch | Step | Validation Loss | Adhaar Number | Ame | Ather Name | Ather Name Back | Ather Name Front Top | Ddress Back | Ddress Front | Ender | Ob | Obile Number | Ther | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
|
64 |
+
|:-------------:|:------:|:----:|:---------------:|:-----------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------:|:---------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------:|:-----------------:|:--------------:|:----------:|:----------------:|
|
65 |
+
| 0.185 | 15.38 | 200 | 0.0832 | {'precision': 0.9090909090909091, 'recall': 1.0, 'f1': 0.9523809523809523, 'number': 20} | {'precision': 0.9166666666666666, 'recall': 0.8461538461538461, 'f1': 0.8799999999999999, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8484848484848485, 'recall': 0.8235294117647058, 'f1': 0.8358208955223881, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8539325842696629, 'recall': 0.8351648351648352, 'f1': 0.8444444444444446, 'number': 91} | 0.8940 | 0.8818 | 0.8879 | 0.9884 |
|
66 |
+
| 0.0034 | 30.77 | 400 | 0.0860 | {'precision': 0.9047619047619048, 'recall': 0.95, 'f1': 0.9268292682926829, 'number': 20} | {'precision': 0.8461538461538461, 'recall': 0.8461538461538461, 'f1': 0.8461538461538461, 'number': 13} | {'precision': 0.6666666666666666, 'recall': 0.6666666666666666, 'f1': 0.6666666666666666, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8387096774193549, 'recall': 0.7647058823529411, 'f1': 0.7999999999999999, 'number': 34} | {'precision': 0.9411764705882353, 'recall': 1.0, 'f1': 0.9696969696969697, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 0.9285714285714286, 'recall': 1.0, 'f1': 0.962962962962963, 'number': 13} | {'precision': 1.0, 'recall': 0.8, 'f1': 0.888888888888889, 'number': 5} | {'precision': 0.8444444444444444, 'recall': 0.8351648351648352, 'f1': 0.839779005524862, 'number': 91} | 0.8796 | 0.8636 | 0.8716 | 0.9877 |
|
67 |
+
| 0.0011 | 46.15 | 600 | 0.1305 | {'precision': 0.9047619047619048, 'recall': 0.95, 'f1': 0.9268292682926829, 'number': 20} | {'precision': 0.7692307692307693, 'recall': 0.7692307692307693, 'f1': 0.7692307692307693, 'number': 13} | {'precision': 0.6666666666666666, 'recall': 0.6666666666666666, 'f1': 0.6666666666666666, 'number': 3} | {'precision': 0.9, 'recall': 1.0, 'f1': 0.9473684210526316, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8181818181818182, 'recall': 0.7941176470588235, 'f1': 0.8059701492537314, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 0.9285714285714286, 'recall': 1.0, 'f1': 0.962962962962963, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8222222222222222, 'recall': 0.8131868131868132, 'f1': 0.8176795580110496, 'number': 91} | 0.8630 | 0.8591 | 0.8610 | 0.9854 |
|
68 |
+
| 0.0013 | 61.54 | 800 | 0.1075 | {'precision': 0.9523809523809523, 'recall': 1.0, 'f1': 0.975609756097561, 'number': 20} | {'precision': 0.8333333333333334, 'recall': 0.7692307692307693, 'f1': 0.8, 'number': 13} | {'precision': 0.6666666666666666, 'recall': 0.6666666666666666, 'f1': 0.6666666666666666, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.7878787878787878, 'recall': 0.7647058823529411, 'f1': 0.7761194029850745, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8222222222222222, 'recall': 0.8131868131868132, 'f1': 0.8176795580110496, 'number': 91} | 0.875 | 0.8591 | 0.8670 | 0.9838 |
|
69 |
+
| 0.001 | 76.92 | 1000 | 0.1076 | {'precision': 0.9523809523809523, 'recall': 1.0, 'f1': 0.975609756097561, 'number': 20} | {'precision': 0.8333333333333334, 'recall': 0.7692307692307693, 'f1': 0.8, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.9032258064516129, 'recall': 0.8235294117647058, 'f1': 0.8615384615384616, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8636363636363636, 'recall': 0.8351648351648352, 'f1': 0.8491620111731844, 'number': 91} | 0.9061 | 0.8773 | 0.8915 | 0.9892 |
|
70 |
+
| 0.0003 | 92.31 | 1200 | 0.0856 | {'precision': 0.9523809523809523, 'recall': 1.0, 'f1': 0.975609756097561, 'number': 20} | {'precision': 0.9230769230769231, 'recall': 0.9230769230769231, 'f1': 0.9230769230769231, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8125, 'recall': 0.7647058823529411, 'f1': 0.787878787878788, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8555555555555555, 'recall': 0.8461538461538461, 'f1': 0.850828729281768, 'number': 91} | 0.8940 | 0.8818 | 0.8879 | 0.9884 |
|
71 |
+
| 0.0001 | 107.69 | 1400 | 0.0950 | {'precision': 0.9523809523809523, 'recall': 1.0, 'f1': 0.975609756097561, 'number': 20} | {'precision': 0.9230769230769231, 'recall': 0.9230769230769231, 'f1': 0.9230769230769231, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.9032258064516129, 'recall': 0.8235294117647058, 'f1': 0.8615384615384616, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.898876404494382, 'recall': 0.8791208791208791, 'f1': 0.8888888888888888, 'number': 91} | 0.9256 | 0.9045 | 0.9149 | 0.9923 |
|
72 |
+
| 0.0001 | 123.08 | 1600 | 0.1075 | {'precision': 0.9047619047619048, 'recall': 0.95, 'f1': 0.9268292682926829, 'number': 20} | {'precision': 0.8461538461538461, 'recall': 0.8461538461538461, 'f1': 0.8461538461538461, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.9032258064516129, 'recall': 0.8235294117647058, 'f1': 0.8615384615384616, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8764044943820225, 'recall': 0.8571428571428571, 'f1': 0.8666666666666666, 'number': 91} | 0.9070 | 0.8864 | 0.8966 | 0.9908 |
|
73 |
+
| 0.0002 | 138.46 | 1800 | 0.0919 | {'precision': 0.9047619047619048, 'recall': 0.95, 'f1': 0.9268292682926829, 'number': 20} | {'precision': 0.9230769230769231, 'recall': 0.9230769230769231, 'f1': 0.9230769230769231, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8484848484848485, 'recall': 0.8235294117647058, 'f1': 0.8358208955223881, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8444444444444444, 'recall': 0.8351648351648352, 'f1': 0.839779005524862, 'number': 91} | 0.8899 | 0.8818 | 0.8858 | 0.9892 |
|
74 |
+
| 0.0001 | 153.85 | 2000 | 0.0953 | {'precision': 0.9047619047619048, 'recall': 0.95, 'f1': 0.9268292682926829, 'number': 20} | {'precision': 0.9230769230769231, 'recall': 0.9230769230769231, 'f1': 0.9230769230769231, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8484848484848485, 'recall': 0.8235294117647058, 'f1': 0.8358208955223881, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8444444444444444, 'recall': 0.8351648351648352, 'f1': 0.839779005524862, 'number': 91} | 0.8899 | 0.8818 | 0.8858 | 0.9892 |
|
75 |
+
| 0.0001 | 169.23 | 2200 | 0.0974 | {'precision': 0.9047619047619048, 'recall': 0.95, 'f1': 0.9268292682926829, 'number': 20} | {'precision': 0.9230769230769231, 'recall': 0.9230769230769231, 'f1': 0.9230769230769231, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8484848484848485, 'recall': 0.8235294117647058, 'f1': 0.8358208955223881, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8444444444444444, 'recall': 0.8351648351648352, 'f1': 0.839779005524862, 'number': 91} | 0.8899 | 0.8818 | 0.8858 | 0.9892 |
|
76 |
+
| 0.0 | 184.62 | 2400 | 0.1008 | {'precision': 0.9047619047619048, 'recall': 0.95, 'f1': 0.9268292682926829, 'number': 20} | {'precision': 0.9230769230769231, 'recall': 0.9230769230769231, 'f1': 0.9230769230769231, 'number': 13} | {'precision': 0.5, 'recall': 0.6666666666666666, 'f1': 0.5714285714285715, 'number': 3} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 9} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 4} | {'precision': 0.8484848484848485, 'recall': 0.8235294117647058, 'f1': 0.8358208955223881, 'number': 34} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 16} | {'precision': 1.0, 'recall': 0.8333333333333334, 'f1': 0.9090909090909091, 'number': 12} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 13} | {'precision': 1.0, 'recall': 1.0, 'f1': 1.0, 'number': 5} | {'precision': 0.8444444444444444, 'recall': 0.8351648351648352, 'f1': 0.839779005524862, 'number': 91} | 0.8899 | 0.8818 | 0.8858 | 0.9892 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.38.2
|
82 |
+
- Pytorch 2.1.0+cu121
|
83 |
+
- Datasets 2.18.0
|
84 |
+
- Tokenizers 0.15.2
|
logs/events.out.tfevents.1709891605.0bfa544f863f.4080.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64cf5e15a294f010710fc0dcd8b3e8ec770b54b1354177f409da14979877af5c
|
3 |
+
size 14226
|
logs/events.out.tfevents.1709893121.0bfa544f863f.4080.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af72a2f3a9b3aab10a868a2995624b8fbd394c8c0df82be2698cb720c9b00936
|
3 |
+
size 592
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 520746020
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e8243dfc92d42d08393378b945110501bcdc1fae5271f8fe5178217c61f979f
|
3 |
size 520746020
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"apply_ocr": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
+
"image_processor_type": "LayoutLMv3FeatureExtractor",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"ocr_lang": null,
|
18 |
+
"processor_class": "LayoutLMv3Processor",
|
19 |
+
"resample": 2,
|
20 |
+
"rescale_factor": 0.00392156862745098,
|
21 |
+
"size": {
|
22 |
+
"height": 224,
|
23 |
+
"width": 224
|
24 |
+
},
|
25 |
+
"tesseract_config": ""
|
26 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"cls_token_box": [
|
49 |
+
0,
|
50 |
+
0,
|
51 |
+
0,
|
52 |
+
0
|
53 |
+
],
|
54 |
+
"eos_token": "</s>",
|
55 |
+
"errors": "replace",
|
56 |
+
"mask_token": "<mask>",
|
57 |
+
"model_max_length": 512,
|
58 |
+
"only_label_first_subword": true,
|
59 |
+
"pad_token": "<pad>",
|
60 |
+
"pad_token_box": [
|
61 |
+
0,
|
62 |
+
0,
|
63 |
+
0,
|
64 |
+
0
|
65 |
+
],
|
66 |
+
"pad_token_label": -100,
|
67 |
+
"processor_class": "LayoutLMv3Processor",
|
68 |
+
"sep_token": "</s>",
|
69 |
+
"sep_token_box": [
|
70 |
+
0,
|
71 |
+
0,
|
72 |
+
0,
|
73 |
+
0
|
74 |
+
],
|
75 |
+
"tokenizer_class": "LayoutLMv3Tokenizer",
|
76 |
+
"trim_offsets": true,
|
77 |
+
"unk_token": "<unk>"
|
78 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|