Instructions to use im21/category-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use im21/category-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="im21/category-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("im21/category-classifier") model = AutoModelForSequenceClassification.from_pretrained("im21/category-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from im21/category-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.58 GB
-
https://huggingface.co/im21/category-classifier/resolve/main/model.safetensors
- Command line
-
hf download hf://im21/category-classifier/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/im21/category-classifier/resolve/main/model.safetensors
1.58 GB
- Xet hash:
- c6f3df6f584ab8feb9bcfb9bf31118d64c65a14c7d7823ca696b8e5b50a388e3
- Size of remote file:
- 1.58 GB
- SHA256:
- 48a7ed0e0cb7016640b48130f55d37d5c5ca7625ec07e189ad7b392977900e52
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.