Token Classification
Transformers
Safetensors
longformer
Generated from Trainer
Eval Results (legacy)
Instructions to use Theoreticallyhugo/longformer-spans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Theoreticallyhugo/longformer-spans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Theoreticallyhugo/longformer-spans")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Theoreticallyhugo/longformer-spans") model = AutoModelForTokenClassification.from_pretrained("Theoreticallyhugo/longformer-spans", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 9.94 kB
- 10.6 kB
- 11.3 kB
- 11.9 kB
- 12.6 kB
- 13.2 kB
- 13.8 kB
- 6.02 kB
- 6.67 kB
- 7.33 kB
- 8.01 kB
- 8.65 kB
- 9.29 kB
- 657 Bytes
- 638 Bytes
- 657 Bytes
- 660 Bytes
- 656 Bytes
- 659 Bytes
- 659 Bytes
- 653 Bytes
- 659 Bytes
- 659 Bytes
- 653 Bytes
- 656 Bytes
- 659 Bytes
- 658 Bytes
- 657 Bytes
- 656 Bytes
- 659 Bytes
- 656 Bytes
- 659 Bytes
- 659 Bytes
- 642 Bytes
- 657 Bytes
- 651 Bytes
- 660 Bytes
- 658 Bytes
- 659 Bytes
- 660 Bytes
- 658 Bytes
- 659 Bytes
- 657 Bytes
- 657 Bytes
- 660 Bytes
- 657 Bytes
- 657 Bytes
- 659 Bytes
- 658 Bytes
- 657 Bytes