Instructions to use Sifter/product-category-bert-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sifter/product-category-bert-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sifter/product-category-bert-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sifter/product-category-bert-classifier") model = AutoModelForSequenceClassification.from_pretrained("Sifter/product-category-bert-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
532ff00 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6c5dd732df51e5273c5b6da3bab8e4ab78827d75f5218b70cb8ab3275b430c3a
size 5368
|