End of training 4b21dba verified
tororo.in commited on
How to use ajdsouza/longformer-normaladam-1024 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ajdsouza/longformer-normaladam-1024") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ajdsouza/longformer-normaladam-1024")
model = AutoModelForTokenClassification.from_pretrained("ajdsouza/longformer-normaladam-1024")