Saving best model to hub
Browse files- .gitignore +1 -0
- config.json +72 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/dit-base",
|
3 |
+
"architectures": [
|
4 |
+
"BeitForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"auxiliary_channels": 256,
|
8 |
+
"auxiliary_concat_input": false,
|
9 |
+
"auxiliary_loss_weight": 0.4,
|
10 |
+
"auxiliary_num_convs": 1,
|
11 |
+
"drop_path_rate": 0.1,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.0,
|
14 |
+
"hidden_size": 192,
|
15 |
+
"id2label": {
|
16 |
+
"0": "ADVE",
|
17 |
+
"1": "Email",
|
18 |
+
"2": "Form",
|
19 |
+
"3": "Letter",
|
20 |
+
"4": "Memo",
|
21 |
+
"5": "News",
|
22 |
+
"6": "Note",
|
23 |
+
"7": "Report",
|
24 |
+
"8": "Resume",
|
25 |
+
"9": "Scientific"
|
26 |
+
},
|
27 |
+
"image_size": 224,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 768,
|
30 |
+
"label2id": {
|
31 |
+
"ADVE": 0,
|
32 |
+
"Email": 1,
|
33 |
+
"Form": 2,
|
34 |
+
"Letter": 3,
|
35 |
+
"Memo": 4,
|
36 |
+
"News": 5,
|
37 |
+
"Note": 6,
|
38 |
+
"Report": 7,
|
39 |
+
"Resume": 8,
|
40 |
+
"Scientific": 9
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-12,
|
43 |
+
"layer_scale_init_value": 0.1,
|
44 |
+
"model_type": "beit",
|
45 |
+
"num_attention_heads": 3,
|
46 |
+
"num_channels": 3,
|
47 |
+
"num_hidden_layers": 12,
|
48 |
+
"out_indices": [
|
49 |
+
3,
|
50 |
+
5,
|
51 |
+
7,
|
52 |
+
11
|
53 |
+
],
|
54 |
+
"patch_size": 16,
|
55 |
+
"pool_scales": [
|
56 |
+
1,
|
57 |
+
2,
|
58 |
+
3,
|
59 |
+
6
|
60 |
+
],
|
61 |
+
"problem_type": "single_label_classification",
|
62 |
+
"semantic_loss_ignore_index": 255,
|
63 |
+
"torch_dtype": "float32",
|
64 |
+
"transformers_version": "4.26.1",
|
65 |
+
"use_absolute_position_embeddings": true,
|
66 |
+
"use_auxiliary_head": true,
|
67 |
+
"use_mask_token": true,
|
68 |
+
"use_mean_pooling": true,
|
69 |
+
"use_relative_position_bias": false,
|
70 |
+
"use_shared_relative_position_bias": false,
|
71 |
+
"vocab_size": 8192
|
72 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a59dec42d02516f36142a6eb88a76932a4dde5e46337bb8d4fd3aedd5abcc706
|
3 |
+
size 22186913
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10aff22a2516174ac0f066a37f4098e4154f043b3a1a5ff7b276ca1f1529e1f9
|
3 |
+
size 3707
|