|
Download README.md from arrayofintegers/demo_hf_cli: direct link, hf CLI and curl.
- Browser
- Download file 509 Bytes
-
https://huggingface.co/arrayofintegers/demo_hf_cli/resolve/main/README.md
- Command line
-
hf download hf://arrayofintegers/demo_hf_cli/README.md
-
curl -L -o README.md https://huggingface.co/arrayofintegers/demo_hf_cli/resolve/main/README.md
509 Bytes
Demo: Upload Model CatBoost
Ini adalah demo sederhana untuk menunjukkan cara upload dan menggunakan model CatBoost di Hugging Face Hub.
📦 Cara Menggunakan Model
from catboost import CatBoostClassifier
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(
repo_id="arrayofintegers/demo_hf",
filename="catboost_model.cbm",
repo_type="model"
)
# Load model lokal setelah download dari Hugging Face
model = CatBoostClassifier()
model.load_model(model_path)