Instructions to use Freakdivi/Task_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Freakdivi/Task_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Freakdivi/Task_Classifier")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Freakdivi/Task_Classifier", dtype="auto") - Scikit-learn
How to use Freakdivi/Task_Classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Freakdivi/Task_Classifier", "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
Ctrl+K