Instructions to use Dwaraka/Sentence_Classification_CoLA_BERT_base_uncased_Encoder_Only_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dwaraka/Sentence_Classification_CoLA_BERT_base_uncased_Encoder_Only_Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Dwaraka/Sentence_Classification_CoLA_BERT_base_uncased_Encoder_Only_Model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Dwaraka/Sentence_Classification_CoLA_BERT_base_uncased_Encoder_Only_Model") model = AutoModelForSequenceClassification.from_pretrained("Dwaraka/Sentence_Classification_CoLA_BERT_base_uncased_Encoder_Only_Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
321ea68 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:aaae917ff2b7e52e154c842632eff37c95a4dd2cd727b3bdc79e783ad225ba33
size 437962836
|