Instructions to use timm/samvit_base_patch16.sa1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/samvit_base_patch16.sa1b with timm:
import timm model = timm.create_model("hf_hub:timm/samvit_base_patch16.sa1b", pretrained=True) - Transformers
How to use timm/samvit_base_patch16.sa1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="timm/samvit_base_patch16.sa1b")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/samvit_base_patch16.sa1b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Dataset, label meaning, evaluation results on public dataset, training/finetune code
#1
by xiaopier - opened
Thanks for your work. I have questions:
- Which dataset is used for training/finetuning this model for image classification task? And what does the class label mean? Any evaluations results are available on common testing datasets?
- Are training/finetuning and evaluation code available or could be shared?
@xiaopier everything you just asked for is in the README, that the model is tagged as classification is an issue that's being fixed, but README states it's a feature only model, what the dataset is, etc