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