How to use from the
Use from the
Keras library
# !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 и выводит остаток от деления. image.png Оптимизаторы: Adam Размер тренировочного датасета: 60000 Размер валидационного датасета: 6000 Размер тестового датасета: 10000 Результаты обучения: Loss: 0.045721635222435, Accuracy: 0.9848999977111816

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train ChilNik/PR_digits