ylecun/mnist
Preview • Updated • 73.6k • 298
Run ChilNik/PR_digits 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:
Use HF Jobs to fine-tune https://huggingface.co/ChilNik/PR_digits. 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.
Use HF Jobs to run batch inference with https://huggingface.co/ChilNik/PR_digits 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.
How to use ChilNik/PR_digits with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://ChilNik/PR_digits")
Модель берет изображение (в данном случае из mnist) определяет цифру которая изображена, делит эту цифру на 2 и выводит остаток от деления.
Оптимизаторы: Adam
Размер тренировочного датасета: 60000
Размер валидационного датасета: 6000
Размер тестового датасета: 10000
Результаты обучения: Loss: 0.045721635222435, Accuracy: 0.9848999977111816