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")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from eclec/patentClassificationLongFormer2: direct link, hf CLI and curl.
- Browser
- Download file 1.74 GB
-
https://huggingface.co/eclec/patentClassificationLongFormer2/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://eclec/patentClassificationLongFormer2@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/eclec/patentClassificationLongFormer2/resolve/refs%2Fpr%2F1/pytorch_model.bin
1.74 GB
- Xet hash:
- 916c1086af4c02645e0902bada4f76658e471a100a17efd329c0e70427733705
- Size of remote file:
- 1.74 GB
- SHA256:
- 105dc15280106baa038ac3292a362054c343f8e12c6869f0b173888a43a9ac4e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.