Commit
•
5129d92
1
Parent(s):
0a9c53e
Model save
Browse files- README.md +62 -0
- config.json +35 -0
- emissions.csv +2 -0
- model.safetensors +3 -0
- runs/May16_18-14-57_amys-mbp-2.taildb5d.ts.net/events.out.tfevents.1715879710.amys-mbp-2.taildb5d.ts.net +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: vit-base-beans-1
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/aeroberts4444/huggingface/runs/vxhj2fnj)
|
17 |
+
# vit-base-beans-1
|
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 an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.1626
|
22 |
+
- Accuracy: 0.0
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 2e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 1337
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 2.0
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| No log | 1.0 | 1 | 1.1599 | 0.125 |
|
54 |
+
| No log | 2.0 | 2 | 1.1626 | 0.0 |
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.41.0.dev0
|
60 |
+
- Pytorch 2.3.0
|
61 |
+
- Datasets 2.15.1.dev0
|
62 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"finetuning_task": "image-classification",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "angular_leaf_spot",
|
14 |
+
"1": "bean_rust",
|
15 |
+
"2": "healthy"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"angular_leaf_spot": "0",
|
22 |
+
"bean_rust": "1",
|
23 |
+
"healthy": "2"
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"model_type": "vit",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_channels": 3,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"patch_size": 16,
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"qkv_bias": true,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.41.0.dev0"
|
35 |
+
}
|
emissions.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region
|
2 |
+
2024-05-16T18:15:35,20844103-22f2-4177-99d7-f25724b28b42,codecarbon,14.596347332000732,5.807478962366664e-05,0.0001367804705449295,France,FRA,île-de-france,N,,
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ad556d12bfff5046ea12ab16737cbe9cb793e83b103cea0a8de2afaa32bd309
|
3 |
+
size 343227052
|
runs/May16_18-14-57_amys-mbp-2.taildb5d.ts.net/events.out.tfevents.1715879710.amys-mbp-2.taildb5d.ts.net
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae468d96c3bd9404accce866775e9db1e9f519fac814df422060b1c2a01c0b6f
|
3 |
+
size 5934
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6368b893c0eb20f777f61a97d4a193188e85488596d641933778b6809c38000
|
3 |
+
size 5176
|