Instructions to use aduverger/NLP1-LongFormer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aduverger/NLP1-LongFormer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aduverger/NLP1-LongFormer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aduverger/NLP1-LongFormer") model = AutoModelForSequenceClassification.from_pretrained("aduverger/NLP1-LongFormer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from aduverger/NLP1-LongFormer: direct link, hf CLI and curl.
- Browser
- Download file 3.52 kB
-
https://huggingface.co/aduverger/NLP1-LongFormer/resolve/main/training_args.bin
- Command line
-
hf download hf://aduverger/NLP1-LongFormer/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/aduverger/NLP1-LongFormer/resolve/main/training_args.bin
3.52 kB
- Xet hash:
- 83168ad64f99c90559017a4c3ec6545406e7533e72cdec4b187eff1dfaf52e1b
- Size of remote file:
- 3.52 kB
- SHA256:
- af43768deea1a13060a32cd2f9ed001f3309f506fd06b41892b0836902e42316
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.