AhmadHakami commited on
Commit
6921f03
1 Parent(s): 46344c7

update model card

Browse files
Files changed (1) hide show
  1. README.md +9 -7
README.md CHANGED
@@ -31,24 +31,26 @@ should probably proofread and complete it, then remove this comment. -->
31
 
32
  # alzheimer-image-classification-google-vit-base-patch16
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.2127
37
  - Accuracy: 0.9261
38
 
39
  ## Model description
40
 
41
- More information needed
42
 
43
- ## Intended uses & limitations
 
 
44
 
45
- More information needed
 
 
46
 
47
- ## Training and evaluation data
48
 
49
- More information needed
50
 
51
- ## Training procedure
52
 
53
  ### Training hyperparameters
54
 
 
31
 
32
  # alzheimer-image-classification-google-vit-base-patch16
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 [Alzheimer MRI data](https://www.kaggle.com/datasets/sachinkumar413/alzheimer-mri-dataset).
35
  It achieves the following results on the evaluation set:
36
  - Loss: 0.2127
37
  - Accuracy: 0.9261
38
 
39
  ## Model description
40
 
41
+ The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pretrained on a large collection of images in a supervised fashion, namely ImageNet-21k, at a resolution of 224x224 pixels.
42
 
43
+ Images are presented to the model as a sequence of fixed-size patches (resolution 16x16), which are linearly embedded. One also adds a [CLS] token to the beginning of a sequence to use it for classification tasks. One also adds absolute position embeddings before feeding the sequence to the layers of the Transformer encoder.
44
+
45
+ Note that this model does not provide any fine-tuned heads, as these were zero'd by Google researchers. However, the model does include the pre-trained pooler, which can be used for downstream tasks (such as image classification).
46
 
47
+ By pre-training the model, it learns an inner representation of images that can then be used to extract features useful for downstream tasks: if you have a dataset of labeled images for instance, you can train a standard classifier by placing a linear layer on top of the pre-trained encoder. One typically places a linear layer on top of the [CLS] token, as the last hidden state of this token can be seen as a representation of an entire image
48
+
49
+ ## Intended uses & limitations
50
 
51
+ You can use the raw model for image classification. See the [model hub](https://huggingface.co/models?search=google/vit) to look for fine-tuned versions on a task that interests you.
52
 
 
53
 
 
54
 
55
  ### Training hyperparameters
56