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
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.be3b99a
-
Training in progress, epoch 15
7f1a21a -
Training in progress, epoch 14
0b013ca -
Training in progress, epoch 13
fed2f57 -
Training in progress, epoch 12
0d84147 -
Training in progress, epoch 11
72e28a9 -
Training in progress, epoch 10
6e477d3 -
Training in progress, epoch 9
2b3b048 -
Training in progress, epoch 8
27201bd
-
Training in progress, epoch 7
e25feba -
Training in progress, epoch 6
9df766c -
Training in progress, epoch 5
ab7001f -
Training in progress, epoch 4
9f21607 -
Training in progress, epoch 3
64b823c -
Training in progress, epoch 2
13f43b4 -
Training in progress, epoch 1
fea987d -
Training in progress, epoch 2
15dd339 -
Training in progress, epoch 1
5cf6b29 -
initial commit
b48f5ca