Instructions to use agent593/Thyroid-Ultrasound-Image-Classification-ViTModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use agent593/Thyroid-Ultrasound-Image-Classification-ViTModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="agent593/Thyroid-Ultrasound-Image-Classification-ViTModel") 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("agent593/Thyroid-Ultrasound-Image-Classification-ViTModel") model = AutoModelForImageClassification.from_pretrained("agent593/Thyroid-Ultrasound-Image-Classification-ViTModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sample_data/california_housing_train.csv from agent593/Thyroid-Ultrasound-Image-Classification-ViTModel: direct link, hf CLI and curl.
- Browser
- Download file 1.71 MB
-
https://huggingface.co/agent593/Thyroid-Ultrasound-Image-Classification-ViTModel/resolve/main/sample_data/california_housing_train.csv
- Command line
-
hf download hf://agent593/Thyroid-Ultrasound-Image-Classification-ViTModel/sample_data/california_housing_train.csv
-
curl -L -o california_housing_train.csv https://huggingface.co/agent593/Thyroid-Ultrasound-Image-Classification-ViTModel/resolve/main/sample_data/california_housing_train.csv
1.71 MB
File too large to display, you can check the raw version instead.