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: 129 Bytes
6307b87 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6da5e30a3ef2a7c8718bce9ea0feed3aea75852257f56c9940fa20993d1343c2
size 4728
|