Instructions to use rehmatsg/cardinal-query-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rehmatsg/cardinal-query-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rehmatsg/cardinal-query-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rehmatsg/cardinal-query-classifier") model = AutoModelForSequenceClassification.from_pretrained("rehmatsg/cardinal-query-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload tokenizer
Verified signature9d16160 -
Upload BertForSequenceClassification
Verified signatureed3495f -
Update config.json to fix labels
Verified signature03f01c0 -
Upload tokenizer
Verified signaturec3e9ee0 -
Upload BertForSequenceClassification
Verified signature73696a9 -
Upload tokenizer
Verified signaturef5d2c1c -
Upload BertForSequenceClassification
Verified signatureade57ca -
Upload tokenizer
Verified signaturee7d6ad9 -
Upload BertForSequenceClassification
Verified signature46d79c9 -
Upload tokenizer
Verified signaturea859257 -
Upload BertForSequenceClassification
Verified signaturef804ea3 -
initial commit
Verified signature9ed2c63