Run this model with HF Jobs
Run Alimuddin/amazon_fish_classification on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Alimuddin/amazon_fish_classification. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Alimuddin/amazon_fish_classification on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Alimuddin/amazon_fish_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alimuddin/amazon_fish_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Alimuddin/amazon_fish_classification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Alimuddin/amazon_fish_classification") model = AutoModelForImageClassification.from_pretrained("Alimuddin/amazon_fish_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
- README.md+20-32
- pytorch_model.bin+1-1
31 unmodified lines3233343536373813 unmodified lines52535455565758596061626364656667686970717273747576777879808182838485868788899091929394959631 unmodified linesThis 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.It achieves the following results on the evaluation set:- Loss: 1.3935- Accuracy: 0.5312## Model description13 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 1e-07- train_batch_size: 27- eval_batch_size: 27- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 27### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 24 | 1.3599 | 0.5188 || No log | 2.0 | 48 | 1.4076 | 0.475 || No log | 3.0 | 72 | 1.3638 | 0.5375 || No log | 4.0 | 96 | 1.4062 | 0.5375 || No log | 5.0 | 120 | 1.3665 | 0.5563 || No log | 6.0 | 144 | 1.3475 | 0.575 || No log | 7.0 | 168 | 1.3814 | 0.525 || No log | 8.0 | 192 | 1.3791 | 0.5437 || No log | 9.0 | 216 | 1.3692 | 0.5125 || No log | 10.0 | 240 | 1.4024 | 0.5188 || No log | 11.0 | 264 | 1.3544 | 0.5687 || No log | 12.0 | 288 | 1.4049 | 0.5375 || No log | 13.0 | 312 | 1.3539 | 0.5687 || No log | 14.0 | 336 | 1.3936 | 0.5062 || No log | 15.0 | 360 | 1.3643 | 0.5375 || No log | 16.0 | 384 | 1.3618 | 0.5563 || No log | 17.0 | 408 | 1.3669 | 0.5687 || No log | 18.0 | 432 | 1.4041 | 0.5188 || No log | 19.0 | 456 | 1.3679 | 0.5312 || No log | 20.0 | 480 | 1.3489 | 0.5563 || 1.1227 | 21.0 | 504 | 1.3575 | 0.575 || 1.1227 | 22.0 | 528 | 1.3721 | 0.55 || 1.1227 | 23.0 | 552 | 1.3985 | 0.4938 || 1.1227 | 24.0 | 576 | 1.3924 | 0.5062 || 1.1227 | 25.0 | 600 | 1.3760 | 0.55 || 1.1227 | 26.0 | 624 | 1.3767 | 0.5125 || 1.1227 | 27.0 | 648 | 1.3627 | 0.5563 |### Framework versions31 unmodified lines3233343536373813 unmodified lines52535455565758596061626364656667686970717273747576777879808182838431 unmodified linesThis 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.It achieves the following results on the evaluation set:- Loss: 1.5737- Accuracy: 0.5312## Model description13 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 15- eval_batch_size: 15- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 15### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 43 | 1.4589 | 0.55 || No log | 2.0 | 86 | 1.5561 | 0.5062 || No log | 3.0 | 129 | 1.6276 | 0.4938 || No log | 4.0 | 172 | 1.5934 | 0.525 || No log | 5.0 | 215 | 1.4851 | 0.5875 || No log | 6.0 | 258 | 1.4807 | 0.575 || No log | 7.0 | 301 | 1.5634 | 0.525 || No log | 8.0 | 344 | 1.6448 | 0.475 || No log | 9.0 | 387 | 1.5723 | 0.5563 || No log | 10.0 | 430 | 1.6059 | 0.5687 || No log | 11.0 | 473 | 1.7496 | 0.5062 || 0.0962 | 12.0 | 516 | 1.8277 | 0.4562 || 0.0962 | 13.0 | 559 | 1.6407 | 0.5375 || 0.0962 | 14.0 | 602 | 1.5424 | 0.5312 || 0.0962 | 15.0 | 645 | 1.6459 | 0.525 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:6ff1ed60debd8ec60b6b8ec445419821cf7ea922ec4e6656060f43fa5b7d4b78size 343287149123version https://git-lfs.github.com/spec/v1oid sha256:910afe9c0833b9595a64ba2b2145ef1a611fc48f2494076d00b245a81be34145size 343287149
README.md+20-32
pytorch_model.bin+1-1