Instructions to use p-christ/QandAClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use p-christ/QandAClassifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="p-christ/QandAClassifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("p-christ/QandAClassifier") model = AutoModelForSequenceClassification.from_pretrained("p-christ/QandAClassifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add model
Browse filesFiles changed (2)
- config.json+1-1
- pytorch_model.bin+1-1
12345{"_name_or_path": "test_trainer/checkpoint-1218","architectures": ["RobertaForSequenceClassification"],12345{"_name_or_path": "test_trainer/checkpoint-3654","architectures": ["RobertaForSequenceClassification"],
123version https://git-lfs.github.com/spec/v1oid sha256:7d1d4396d22ec1e6e807cc450528243b36034ecad2edc822f51a05784516049asize 328524461123version https://git-lfs.github.com/spec/v1oid sha256:7f429e5797f1e7813f6b856dfb336773a5f380a88da55e7a16a922e38ec6ee23size 328524461
config.json+1-1
pytorch_model.bin+1-1