Modelo de Soma

Modelo de regressão linear simples que soma dois números: x1 + x2 = y

Como usar

from huggingface_hub import hf_hub_download
from skops.io import load
import numpy as np

# Baixar modelo
model_path = hf_hub_download(
    repo_id="seu_usuario/modelo-soma",
    filename="model.skops"
)

# Carregar
model = load(model_path, trusted=True)

# Usar
resultado = model.predict([[10, 20]])
print(resultado)  # [30.]
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support