Open-Orca/OpenOrca
Viewer • Updated • 2.94M • 10.9k • 1.62k
How to use Ksupachok1/Ks114v2.0 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://Ksupachok1/Ks114v2.0")