Instructions to use eclec/patentClassificationLongFormer2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eclec/patentClassificationLongFormer2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eclec/patentClassificationLongFormer2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eclec/patentClassificationLongFormer2") model = AutoModelForSequenceClassification.from_pretrained("eclec/patentClassificationLongFormer2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- e757f4bc01eb6428ad0567ab0fb1404a0f075f44ddad0658303ccf9b5e175200
- Size of remote file:
- 3.96 kB
- SHA256:
- 30762ff9369f191e1bd9f2b6a26ad2891ff93d07fb241bd090f7e3099521c669
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.