scikit-learn/auto-mpg
Viewer • Updated • 398 • 520 • 3
How to use MasumBhuiyan/linear-regression 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://MasumBhuiyan/linear-regression")
This is a model card for linear regression. It should contain all the necessary documentation to use, reproduce the model easily.
Describe the steps required to run your code on a local machine.
Write about the architecture of the model
Describe your dataset. How you prepared your dataset for training.
How you trained your model.
Evaluation techniques for your model.
Write the result of your experiment. Discuss the success cases and fail cases.
Give code examples how to use you inference endpoints or fine tune the mode.