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 training_args.bin from eclec/patentClassificationLongFormer2: direct link, hf CLI and curl.
- Browser
- Download file 3.96 kB
-
https://huggingface.co/eclec/patentClassificationLongFormer2/resolve/refs%2Fpr%2F1/training_args.bin
- Command line
-
hf download hf://eclec/patentClassificationLongFormer2@refs/pr/1/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/eclec/patentClassificationLongFormer2/resolve/refs%2Fpr%2F1/training_args.bin
3.96 kB
- 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.