Run this model with HF Jobs
Run hikmatfarhat/MNIST_Classifier 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/hikmatfarhat/MNIST_Classifier. 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/hikmatfarhat/MNIST_Classifier 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.
Instructions to use hikmatfarhat/MNIST_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hikmatfarhat/MNIST_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hikmatfarhat/MNIST_Classifier", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hikmatfarhat/MNIST_Classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
54159da
1
Parent(s): 0bd2cee
new version
Browse files123434567###import os,sys###sys.path.insert(1,os.path.join(sys.path[0],".."))from network import Netfrom config import MNIST_configfrom .network import Netfrom .config import MNIST_configfrom transformers import PreTrainedModel# utils not used but importing it forces the upload to huggingface hub to include it
model.py+2-2