updated model 3424fa7
Reem Ali Suwaileh commited on
How to use rsuwaileh/IDRISI-LMR-AR-timebased-typebased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="rsuwaileh/IDRISI-LMR-AR-timebased-typebased") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("rsuwaileh/IDRISI-LMR-AR-timebased-typebased")
model = AutoModelForTokenClassification.from_pretrained("rsuwaileh/IDRISI-LMR-AR-timebased-typebased", device_map="auto")