Instructions to use orendar/longformer-prize with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use orendar/longformer-prize with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="orendar/longformer-prize")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("orendar/longformer-prize") model = AutoModelForTokenClassification.from_pretrained("orendar/longformer-prize", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (e120d789f483ee66c7dee955254d878453bf64ac) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1716a93
-
add tokenizer
c4a52bb -
add model
73a86ad -
initial commit
8c4c03d