Token Classification
Transformers
Safetensors
longformer
Generated from Trainer
Eval Results (legacy)
Instructions to use Theoreticallyhugo/longformer-simple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Theoreticallyhugo/longformer-simple with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Theoreticallyhugo/longformer-simple")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Theoreticallyhugo/longformer-simple") model = AutoModelForTokenClassification.from_pretrained("Theoreticallyhugo/longformer-simple", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-41/tokenizer.json from Theoreticallyhugo/longformer-simple: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/Theoreticallyhugo/longformer-simple/resolve/main/checkpoint-41/tokenizer.json
- Command line
-
hf download hf://Theoreticallyhugo/longformer-simple/checkpoint-41/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Theoreticallyhugo/longformer-simple/resolve/main/checkpoint-41/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.