zalando-datasets/fashion_mnist
Viewer • Updated • 70k • 31.1k • 66
How to use SE6446/VitMix-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="SE6446/VitMix-v1", trust_remote_code=True)
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoModelForImageClassification
model = AutoModelForImageClassification.from_pretrained("SE6446/VitMix-v1", trust_remote_code=True, dtype="auto")This model is a poorly functional demo to using MOEs in computer vision
This Model is mean't to serve more as a blueprint than a base. It has been trained of fashionmnist to prove that I can do tensor maths. It achieves an average loss of 0.4-ish.
The code is in files. Do what you want!