Instructions to use mayank-soni/offtopicdetector_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mayank-soni/offtopicdetector_bert with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForNextSentencePrediction tokenizer = AutoTokenizer.from_pretrained("mayank-soni/offtopicdetector_bert") model = AutoModelForNextSentencePrediction.from_pretrained("mayank-soni/offtopicdetector_bert") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!