zitrone44 commited on
Commit
3527236
·
1 Parent(s): 7ec34a7

feat: add tnn

Browse files
Files changed (5) hide show
  1. README.md +10 -29
  2. all_results.json +2 -11
  3. eval_results.json +2 -6
  4. pytorch_model.bin +1 -1
  5. training_args.bin +1 -1
README.md CHANGED
@@ -6,24 +6,9 @@ tags:
6
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
9
- metrics:
10
- - accuracy
11
  model-index:
12
  - name: vit-base-tm
13
- results:
14
- - task:
15
- name: Image Classification
16
- type: image-classification
17
- dataset:
18
- name: imagefolder
19
- type: imagefolder
20
- config: default
21
- split: validation
22
- args: default
23
- metrics:
24
- - name: Accuracy
25
- type: accuracy
26
- value: 0.8674353400749771
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -33,8 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
33
 
34
  This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
- - Loss: 0.3554
37
- - Accuracy: 0.8674
 
 
 
 
 
38
 
39
  ## Model description
40
 
@@ -54,21 +44,12 @@ More information needed
54
 
55
  The following hyperparameters were used during training:
56
  - learning_rate: 0.0002
57
- - train_batch_size: 512
58
  - eval_batch_size: 8
59
  - seed: 42
60
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
  - lr_scheduler_type: linear
62
- - num_epochs: 4
63
-
64
- ### Training results
65
-
66
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
67
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
68
- | 0.3618 | 1.09 | 500 | 0.4217 | 0.8273 |
69
- | 0.1805 | 2.18 | 1000 | 0.3554 | 0.8674 |
70
- | 0.0803 | 3.27 | 1500 | 0.3570 | 0.8923 |
71
-
72
 
73
  ### Framework versions
74
 
 
6
  - generated_from_trainer
7
  datasets:
8
  - imagefolder
 
 
9
  model-index:
10
  - name: vit-base-tm
11
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
18
 
19
  This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
20
  It achieves the following results on the evaluation set:
21
+ - eval_loss: 0.4170
22
+ - eval_accuracy: 0.9062
23
+ - eval_runtime: 207.7695
24
+ - eval_samples_per_second: 152.78
25
+ - eval_steps_per_second: 19.098
26
+ - epoch: 6.79
27
+ - step: 12447
28
 
29
  ## Model description
30
 
 
44
 
45
  The following hyperparameters were used during training:
46
  - learning_rate: 0.0002
47
+ - train_batch_size: 128
48
  - eval_batch_size: 8
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
+ - num_epochs: 8
 
 
 
 
 
 
 
 
 
53
 
54
  ### Framework versions
55
 
all_results.json CHANGED
@@ -1,13 +1,4 @@
1
  {
2
- "epoch": 4.0,
3
- "eval_accuracy": 0.8674353400749771,
4
- "eval_loss": 0.3553876280784607,
5
- "eval_runtime": 211.9979,
6
- "eval_samples_per_second": 149.733,
7
- "eval_steps_per_second": 18.717,
8
- "total_flos": 7.2689377616381805e+19,
9
- "train_loss": 0.28534620919128906,
10
- "train_runtime": 7364.2492,
11
- "train_samples_per_second": 127.374,
12
- "train_steps_per_second": 0.249
13
  }
 
1
  {
2
+ "eval_accuracy": 0.9061525375673377,
3
+ "eval_loss": 0.41696587204933167
 
 
 
 
 
 
 
 
 
4
  }
eval_results.json CHANGED
@@ -1,8 +1,4 @@
1
  {
2
- "epoch": 4.0,
3
- "eval_accuracy": 0.8674353400749771,
4
- "eval_loss": 0.3553876280784607,
5
- "eval_runtime": 211.9979,
6
- "eval_samples_per_second": 149.733,
7
- "eval_steps_per_second": 18.717
8
  }
 
1
  {
2
+ "eval_accuracy": 0.9061525375673377,
3
+ "eval_loss": 0.41696587204933167
 
 
 
 
4
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:36c363e94956c14005fae2851364122f9d49653c15b268a8c91b14aaf8e2295f
3
  size 343271789
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da4fcebd7ed260bba9731d2e5acc0e326fca6859248fefe50c039f90b66341b8
3
  size 343271789
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c7077de1dffcfc54b50aecfdb2bd8acaada0f0b6ffe4b90c88be9161718f50c7
3
  size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbd9da3180d58eae05ebb4d7e3d84248f01c112fa6103a7848fbdc931f5e6e87
3
  size 4027