Instructions to use Moaaz2os/stip-threat-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Moaaz2os/stip-threat-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Moaaz2os/stip-threat-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Moaaz2os/stip-threat-classifier") model = AutoModelForSequenceClassification.from_pretrained("Moaaz2os/stip-threat-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload BertForSequenceClassification
Verified signaturee1a0671
-
Upload BertForSequenceClassification
Verified signature897c886
-
Upload tokenizer
Verified signature4016c59 -
Upload BertForSequenceClassification
Verified signature9560cab
-
Upload tokenizer
Verified signatured5250c8 -
Upload BertForSequenceClassification
Verified signaturedff487d
-
Upload tokenizer
Verified signature0d32ef8 -
Upload BertForSequenceClassification
Verified signatureba4751e -
initial commit
Verified signature1be5a03