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