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