Instructions to use noahbaumgartner/swen-finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use noahbaumgartner/swen-finetune with timm:
import timm model = timm.create_model("hf_hub:noahbaumgartner/swen-finetune", pretrained=True) - Transformers
How to use noahbaumgartner/swen-finetune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="noahbaumgartner/swen-finetune") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("noahbaumgartner/swen-finetune", dtype="auto") - Notebooks
- Google Colab
- Kaggle