Run this model with HF Jobs

Run pszmk/mnist-vae-latent2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/pszmk/mnist-vae-latent2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/pszmk/mnist-vae-latent2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
mnist-vae-latent2 / loading_example.py
pszmk's picture
Upload best checkpoint (epoch 31, val_loss=0.2625)
42d88a9 verified
Raw History Blame Contribute Delete
227 Bytes
from transformers import AutoModel
MODEL_ID = "pszmk/mnist-vae-latent2"
REVISION = "main"
model = AutoModel.from_pretrained(
MODEL_ID,
revision=REVISION,
trust_remote_code=True,
)
print(model.__class__.__name__)