dchen0 commited on
Commit
a103083
·
verified ·
1 Parent(s): 96c1253

End of training

Browse files
README.md CHANGED
@@ -9,20 +9,20 @@ datasets:
9
  metrics:
10
  - accuracy
11
  model-index:
12
- - name: trainer_output
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
- # trainer_output
20
 
21
  This model is a fine-tuned version of [facebook/dinov2-base-imagenet1k-1-layer](https://huggingface.co/facebook/dinov2-base-imagenet1k-1-layer) on the imagefolder dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.5159
24
- - Model Preparation Time: 0.0021
25
- - Accuracy: 0.8480
26
 
27
  ## Model description
28
 
@@ -47,10 +47,67 @@ The following hyperparameters were used during training:
47
  - seed: 42
48
  - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
  - lr_scheduler_type: linear
50
- - num_epochs: 0
51
 
52
  ### Training results
53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
 
56
  ### Framework versions
 
9
  metrics:
10
  - accuracy
11
  model-index:
12
+ - name: dinov2-fonts-with-subfonts-3
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
+ # dinov2-fonts-with-subfonts-3
20
 
21
  This model is a fine-tuned version of [facebook/dinov2-base-imagenet1k-1-layer](https://huggingface.co/facebook/dinov2-base-imagenet1k-1-layer) on the imagefolder dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.2637
24
+ - Model Preparation Time: 0.0016
25
+ - Accuracy: 0.9163
26
 
27
  ## Model description
28
 
 
47
  - seed: 42
48
  - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
  - lr_scheduler_type: linear
50
+ - num_epochs: 1
51
 
52
  ### Training results
53
 
54
+ | Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Accuracy |
55
+ |:-------------:|:------:|:----:|:---------------:|:----------------------:|:--------:|
56
+ | 0.7099 | 0.0182 | 50 | 0.6595 | 0.0016 | 0.7594 |
57
+ | 0.7084 | 0.0363 | 100 | 0.6175 | 0.0016 | 0.7806 |
58
+ | 0.7638 | 0.0545 | 150 | 0.7014 | 0.0016 | 0.7337 |
59
+ | 0.6451 | 0.0727 | 200 | 0.6177 | 0.0016 | 0.7757 |
60
+ | 0.6852 | 0.0908 | 250 | 0.5691 | 0.0016 | 0.7971 |
61
+ | 0.5753 | 0.1090 | 300 | 0.5666 | 0.0016 | 0.8048 |
62
+ | 0.5925 | 0.1272 | 350 | 0.5235 | 0.0016 | 0.8204 |
63
+ | 0.6969 | 0.1453 | 400 | 0.5725 | 0.0016 | 0.7922 |
64
+ | 0.6096 | 0.1635 | 450 | 0.5103 | 0.0016 | 0.8173 |
65
+ | 0.5994 | 0.1817 | 500 | 0.5075 | 0.0016 | 0.8183 |
66
+ | 0.5272 | 0.1999 | 550 | 0.5116 | 0.0016 | 0.8229 |
67
+ | 0.5193 | 0.2180 | 600 | 0.4952 | 0.0016 | 0.8244 |
68
+ | 0.5689 | 0.2362 | 650 | 0.4662 | 0.0016 | 0.8388 |
69
+ | 0.5126 | 0.2544 | 700 | 0.4651 | 0.0016 | 0.8327 |
70
+ | 0.5301 | 0.2725 | 750 | 0.5080 | 0.0016 | 0.8158 |
71
+ | 0.5424 | 0.2907 | 800 | 0.4573 | 0.0016 | 0.8357 |
72
+ | 0.4357 | 0.3089 | 850 | 0.4412 | 0.0016 | 0.8486 |
73
+ | 0.5522 | 0.3270 | 900 | 0.4755 | 0.0016 | 0.8256 |
74
+ | 0.5639 | 0.3452 | 950 | 0.4463 | 0.0016 | 0.8339 |
75
+ | 0.4522 | 0.3634 | 1000 | 0.4347 | 0.0016 | 0.8458 |
76
+ | 0.5548 | 0.3815 | 1050 | 0.4112 | 0.0016 | 0.8560 |
77
+ | 0.4815 | 0.3997 | 1100 | 0.4300 | 0.0016 | 0.8514 |
78
+ | 0.5028 | 0.4179 | 1150 | 0.3840 | 0.0016 | 0.8713 |
79
+ | 0.4417 | 0.4360 | 1200 | 0.4364 | 0.0016 | 0.8462 |
80
+ | 0.4465 | 0.4542 | 1250 | 0.3731 | 0.0016 | 0.8740 |
81
+ | 0.3935 | 0.4724 | 1300 | 0.3672 | 0.0016 | 0.8753 |
82
+ | 0.5306 | 0.4906 | 1350 | 0.4480 | 0.0016 | 0.8388 |
83
+ | 0.3991 | 0.5087 | 1400 | 0.3718 | 0.0016 | 0.8698 |
84
+ | 0.483 | 0.5269 | 1450 | 0.3916 | 0.0016 | 0.8652 |
85
+ | 0.4323 | 0.5451 | 1500 | 0.3948 | 0.0016 | 0.8648 |
86
+ | 0.3664 | 0.5632 | 1550 | 0.3400 | 0.0016 | 0.8796 |
87
+ | 0.4941 | 0.5814 | 1600 | 0.3531 | 0.0016 | 0.8765 |
88
+ | 0.4185 | 0.5996 | 1650 | 0.3481 | 0.0016 | 0.8820 |
89
+ | 0.4506 | 0.6177 | 1700 | 0.3332 | 0.0016 | 0.8866 |
90
+ | 0.4015 | 0.6359 | 1750 | 0.3468 | 0.0016 | 0.8768 |
91
+ | 0.3919 | 0.6541 | 1800 | 0.3421 | 0.0016 | 0.8897 |
92
+ | 0.4281 | 0.6722 | 1850 | 0.3141 | 0.0016 | 0.8937 |
93
+ | 0.3659 | 0.6904 | 1900 | 0.3424 | 0.0016 | 0.8823 |
94
+ | 0.345 | 0.7086 | 1950 | 0.3172 | 0.0016 | 0.8912 |
95
+ | 0.3157 | 0.7267 | 2000 | 0.3226 | 0.0016 | 0.8903 |
96
+ | 0.3456 | 0.7449 | 2050 | 0.3178 | 0.0016 | 0.8909 |
97
+ | 0.3643 | 0.7631 | 2100 | 0.2988 | 0.0016 | 0.8983 |
98
+ | 0.4043 | 0.7812 | 2150 | 0.3036 | 0.0016 | 0.8992 |
99
+ | 0.3486 | 0.7994 | 2200 | 0.2974 | 0.0016 | 0.9053 |
100
+ | 0.3735 | 0.8176 | 2250 | 0.3026 | 0.0016 | 0.8964 |
101
+ | 0.4032 | 0.8358 | 2300 | 0.2990 | 0.0016 | 0.9019 |
102
+ | 0.3825 | 0.8539 | 2350 | 0.2938 | 0.0016 | 0.9062 |
103
+ | 0.345 | 0.8721 | 2400 | 0.2871 | 0.0016 | 0.9059 |
104
+ | 0.3528 | 0.8903 | 2450 | 0.2777 | 0.0016 | 0.9093 |
105
+ | 0.3207 | 0.9084 | 2500 | 0.2764 | 0.0016 | 0.9111 |
106
+ | 0.2664 | 0.9266 | 2550 | 0.2741 | 0.0016 | 0.9099 |
107
+ | 0.3496 | 0.9448 | 2600 | 0.2720 | 0.0016 | 0.9151 |
108
+ | 0.3274 | 0.9629 | 2650 | 0.2724 | 0.0016 | 0.9136 |
109
+ | 0.3014 | 0.9811 | 2700 | 0.2659 | 0.0016 | 0.9136 |
110
+ | 0.3235 | 0.9993 | 2750 | 0.2637 | 0.0016 | 0.9163 |
111
 
112
 
113
  ### Framework versions
adapter_config.json CHANGED
@@ -29,10 +29,10 @@
29
  "rank_pattern": {},
30
  "revision": null,
31
  "target_modules": [
32
- "value",
33
- "query"
34
  ],
35
- "task_type": "SEQ_CLS",
36
  "trainable_token_indices": null,
37
  "use_dora": false,
38
  "use_rslora": false
 
29
  "rank_pattern": {},
30
  "revision": null,
31
  "target_modules": [
32
+ "query",
33
+ "value"
34
  ],
35
+ "task_type": null,
36
  "trainable_token_indices": null,
37
  "use_dora": false,
38
  "use_rslora": false
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9cc8480cfe6186b1d18dde7405bbec01df9001ab22f7669eff82a26d9a62e702
3
  size 1814008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af65399a0b44b2e88ca7add55176f9ad5a3a16809108305987839fc4615f59fa
3
  size 1814008
logs/events.out.tfevents.1749695921.Daniels-MacBook-Pro.local.92900.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9844a6b50f51c55a0954623c8928d2c08787ba075d3f9de41f5289532918991e
3
+ size 89638
logs/events.out.tfevents.1749701403.Daniels-MacBook-Pro.local.92900.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ee066943f1f2568b43e3c051f3280642fa242657a6c472e4d43dee61eaae093
3
+ size 477
result_model/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: facebook/dinov2-base-imagenet1k-1-layer
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.15.2
result_model/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "Dinov2ForImageClassification",
5
+ "parent_library": "transformers.models.dinov2.modeling_dinov2"
6
+ },
7
+ "base_model_name_or_path": "facebook/dinov2-base-imagenet1k-1-layer",
8
+ "bias": "none",
9
+ "corda_config": null,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 16,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.1,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": [
25
+ "classifier"
26
+ ],
27
+ "peft_type": "LORA",
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "query",
33
+ "value"
34
+ ],
35
+ "task_type": null,
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
result_model/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af65399a0b44b2e88ca7add55176f9ad5a3a16809108305987839fc4615f59fa
3
+ size 1814008
result_model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dac3c3aa86ae5483f18a8c10c6793e9b147abcea82e1976b87e096a80481632
3
+ size 5777
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7105ab2e86f8797bf589229d1e2996512089d1d6827f52f0face0e176b964abb
3
  size 5777
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dac3c3aa86ae5483f18a8c10c6793e9b147abcea82e1976b87e096a80481632
3
  size 5777