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