commit files to HF hub
Browse files- README.md +20 -50
- config.json +4 -4
- model.safetensors +1 -1
- preprocessor_config.json +1 -1
- runs/events.out.tfevents.1730530863.14fc26b0d183.1463.0 +3 -0
README.md
CHANGED
@@ -1,61 +1,31 @@
|
|
1 |
---
|
2 |
-
library_name: transformers
|
3 |
tags:
|
4 |
-
-
|
5 |
-
|
6 |
-
-
|
|
|
|
|
|
|
7 |
model-index:
|
8 |
-
- name: reitBF
|
9 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
|
13 |
-
should probably proofread and complete it, then remove this comment. -->
|
14 |
-
|
15 |
-
# reitBF
|
16 |
-
|
17 |
-
This model was trained from scratch on the imagefolder dataset.
|
18 |
-
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 0.4243
|
20 |
-
|
21 |
-
## Model description
|
22 |
-
|
23 |
-
More information needed
|
24 |
-
|
25 |
-
## Intended uses & limitations
|
26 |
-
|
27 |
-
More information needed
|
28 |
-
|
29 |
-
## Training and evaluation data
|
30 |
-
|
31 |
-
More information needed
|
32 |
-
|
33 |
-
## Training procedure
|
34 |
-
|
35 |
-
### Training hyperparameters
|
36 |
|
37 |
-
The following hyperparameters were used during training:
|
38 |
-
- learning_rate: 2e-05
|
39 |
-
- train_batch_size: 32
|
40 |
-
- eval_batch_size: 16
|
41 |
-
- seed: 42
|
42 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
-
- lr_scheduler_type: linear
|
44 |
-
- num_epochs: 4
|
45 |
|
46 |
-
|
47 |
|
48 |
-
|
49 |
-
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
-
| 0.6049 | 1.0 | 544 | 0.4642 |
|
51 |
-
| 0.5146 | 2.0 | 1088 | 0.4316 |
|
52 |
-
| 0.4582 | 3.0 | 1632 | 0.4249 |
|
53 |
-
| 0.4342 | 4.0 | 2176 | 0.4243 |
|
54 |
|
|
|
55 |
|
56 |
-
### Framework versions
|
57 |
|
58 |
-
|
59 |
-
- Pytorch 2.4.0+cu121
|
60 |
-
- Datasets 3.0.0
|
61 |
-
- Tokenizers 0.19.1
|
|
|
1 |
---
|
|
|
2 |
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
model-index:
|
10 |
+
- name: sanali209/reitBF
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.7050885558128357
|
19 |
---
|
20 |
|
21 |
+
# sanali209/reitBF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
+
Autogenerated by HuggingPics🤗🖼️
|
25 |
|
26 |
+
Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
|
29 |
|
|
|
30 |
|
31 |
+
## Example Images
|
|
|
|
|
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
@@ -17,9 +17,9 @@
|
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
"label2id": {
|
20 |
-
"high": 0,
|
21 |
-
"low": 1,
|
22 |
-
"normal": 2
|
23 |
},
|
24 |
"layer_norm_eps": 1e-12,
|
25 |
"model_type": "vit",
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
"label2id": {
|
20 |
+
"high": "0",
|
21 |
+
"low": "1",
|
22 |
+
"normal": "2"
|
23 |
},
|
24 |
"layer_norm_eps": 1e-12,
|
25 |
"model_type": "vit",
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343227052
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aab4e93624b5613497fe4381bf583baae9727fda14d05979b1844ab63cfd90a7
|
3 |
size 343227052
|
preprocessor_config.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
0.5,
|
8 |
0.5
|
9 |
],
|
10 |
-
"image_processor_type": "
|
11 |
"image_std": [
|
12 |
0.5,
|
13 |
0.5,
|
|
|
7 |
0.5,
|
8 |
0.5
|
9 |
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
"image_std": [
|
12 |
0.5,
|
13 |
0.5,
|
runs/events.out.tfevents.1730530863.14fc26b0d183.1463.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9494215c8968b4c89b4d508cd405043fb94a52b1ec21868e7d7aa25e44fe7b2d
|
3 |
+
size 10237
|