Instructions to use ShaimaAli1/Smoker_Classifier_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ShaimaAli1/Smoker_Classifier_Model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("ShaimaAli1/Smoker_Classifier_Model", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,9 @@ from huggingface_hub import hf_hub_download
|
|
| 31 |
import joblib
|
| 32 |
|
| 33 |
model_path = hf_hub_download(
|
| 34 |
-
repo_id="
|
| 35 |
-
filename="
|
| 36 |
)
|
| 37 |
model = joblib.load(model_path)
|
|
|
|
|
|
|
|
|
| 31 |
import joblib
|
| 32 |
|
| 33 |
model_path = hf_hub_download(
|
| 34 |
+
repo_id="ShaimaAli1/Smoker_Classifier_Model",
|
| 35 |
+
filename="Smoker_Classifier_Model.pkl"
|
| 36 |
)
|
| 37 |
model = joblib.load(model_path)
|
| 38 |
+
|
| 39 |
+
|