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