Instructions to use nenzilea/car-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nenzilea/car-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nenzilea/car-classification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("nenzilea/car-classification") model = AutoModelForImageClassification.from_pretrained("nenzilea/car-classification") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,56 +13,3 @@ model-index:
|
|
| 13 |
- name: car-classification
|
| 14 |
results: []
|
| 15 |
---
|
| 16 |
-
|
| 17 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 18 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 19 |
-
|
| 20 |
-
# car-classification
|
| 21 |
-
|
| 22 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the tanganke/stanford_cars dataset.
|
| 23 |
-
It achieves the following results on the evaluation set:
|
| 24 |
-
- Loss: 0.8876
|
| 25 |
-
- Accuracy: 0.6706
|
| 26 |
-
|
| 27 |
-
## Model description
|
| 28 |
-
|
| 29 |
-
More information needed
|
| 30 |
-
|
| 31 |
-
## Intended uses & limitations
|
| 32 |
-
|
| 33 |
-
More information needed
|
| 34 |
-
|
| 35 |
-
## Training and evaluation data
|
| 36 |
-
|
| 37 |
-
More information needed
|
| 38 |
-
|
| 39 |
-
## Training procedure
|
| 40 |
-
|
| 41 |
-
### Training hyperparameters
|
| 42 |
-
|
| 43 |
-
The following hyperparameters were used during training:
|
| 44 |
-
- learning_rate: 0.0003
|
| 45 |
-
- train_batch_size: 16
|
| 46 |
-
- eval_batch_size: 8
|
| 47 |
-
- seed: 42
|
| 48 |
-
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED 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: 5
|
| 51 |
-
|
| 52 |
-
### Training results
|
| 53 |
-
|
| 54 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 56 |
-
| 1.3683 | 1.0 | 128 | 1.1585 | 0.5529 |
|
| 57 |
-
| 1.0935 | 2.0 | 256 | 0.9990 | 0.6627 |
|
| 58 |
-
| 1.0052 | 3.0 | 384 | 0.9340 | 0.6667 |
|
| 59 |
-
| 0.9467 | 4.0 | 512 | 0.9004 | 0.6549 |
|
| 60 |
-
| 0.8865 | 5.0 | 640 | 0.8876 | 0.6706 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
### Framework versions
|
| 64 |
-
|
| 65 |
-
- Transformers 5.5.4
|
| 66 |
-
- Pytorch 2.11.0
|
| 67 |
-
- Datasets 4.8.4
|
| 68 |
-
- Tokenizers 0.22.2
|
|
|
|
| 13 |
- name: car-classification
|
| 14 |
results: []
|
| 15 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|