Instructions to use AlexKolosov/my_first_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlexKolosov/my_first_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="AlexKolosov/my_first_model") 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("AlexKolosov/my_first_model") model = AutoModelForImageClassification.from_pretrained("AlexKolosov/my_first_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Model save
1c6a60b -
Training in progress, epoch 1
a9d526b -
Model save
c42d9a4 -
Training in progress, epoch 1
b6d6c8a -
Model save
a0b3c0f -
End of training
0e6323d