Instructions to use Loc/lucky-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Loc/lucky-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Loc/lucky-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("Loc/lucky-model") model = AutoModelForImageClassification.from_pretrained("Loc/lucky-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tf_model.h5 from Loc/lucky-model: direct link, hf CLI and curl.
- Browser
- Download file 347 MB
-
https://huggingface.co/Loc/lucky-model/resolve/main/tf_model.h5
- Command line
-
hf download hf://Loc/lucky-model/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/Loc/lucky-model/resolve/main/tf_model.h5
347 MB
- Xet hash:
- 47dd97211485d010d6db7ceeec052b98bbb84b2e4a4e4480c186f2b21f6af838
- Size of remote file:
- 347 MB
- SHA256:
- 30f9125423060139b80ddae09daa8a1b612eb1eda8fc34a0b58cdfe920cbbc0f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.