Instructions to use phanerozoic/BERT-Question-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phanerozoic/BERT-Question-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="phanerozoic/BERT-Question-Classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("phanerozoic/BERT-Question-Classifier") model = AutoModelForSequenceClassification.from_pretrained("phanerozoic/BERT-Question-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 95 Bytes
fa258f7 | 1 2 3 4 5 6 | {
"_from_model_config": true,
"pad_token_id": 0,
"transformers_version": "4.39.3"
}
|