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 pytorch_model.bin from aduverger/NLP1-LongFormer: direct link, hf CLI and curl.
- Browser
- Download file 268 MB
-
https://huggingface.co/aduverger/NLP1-LongFormer/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://aduverger/NLP1-LongFormer/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/aduverger/NLP1-LongFormer/resolve/main/pytorch_model.bin
268 MB
- Xet hash:
- 39e498b0490d35c9f8af41a2ab57c0e7d29c4a3f323e53549cd978707fbf14af
- Size of remote file:
- 268 MB
- SHA256:
- 23d8694f0b6c92f8b27bc11223680eda0c36bb45cd1e3a2c30800c620799a91f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.