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