File size: 509 Bytes
b9d9f6a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Demo: Upload Model CatBoost
Ini adalah demo sederhana untuk menunjukkan cara upload dan menggunakan model CatBoost di Hugging Face Hub.
## 📦 Cara Menggunakan Model
```python
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) |