Downloads · 30 days
0
Samrudhi013/st2-linear-svc
st2-linear-svc is a machine learning model from Samrudhi013. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains two sklearn LinearSVC pipelines for the ST2 experiment:
Downloads · 30 days
0
Access
Public
Updated Feb 28, 2026
Repo size
643 MB
Likes
0
Public
Click a slice to open those files.
.pkl643 MB · 100%
From the Hugging Face model README
This repository contains two sklearn LinearSVC pipelines for the ST2 experiment:
hazard_model.pkl – predicts the hazard category from title + text.product_model.pkl – predicts the product category (conditional on hazard prediction).title + text as a single string.import joblib
from huggingface_hub import hf_hub_download
# Hazard model
hazard_path = hf_hub_download(repo_id='Samrudhi013/st2-linear-svc', filename='hazard_model.pkl')
hazard_model = joblib.load(hazard_path)
# Product model
product_path = hf_hub_download(repo_id='Samrudhi013/st2-linear-svc', filename='product_model.pkl')
product_model = joblib.load(product_path)