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
Download pytorch_model.bin from AlexKolosov/my_first_model: direct link, hf CLI and curl.
- Browser
- Download file 94.4 MB
-
https://huggingface.co/AlexKolosov/my_first_model/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://AlexKolosov/my_first_model/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/AlexKolosov/my_first_model/resolve/main/pytorch_model.bin
94.4 MB
- Xet hash:
- 1919e46d9774a25a4d0f083979dc71089ceebacb064f07ef32a44d5e03f1e328
- Size of remote file:
- 94.4 MB
- SHA256:
- ce722c54c2de267541355a5bbd5fa18fee5a852136cc0c1a9f061c10ecdb75a0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.