Transformers How to use hlhdatscience/Full-Linear-NER-Religious-roberta-base-bne with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="hlhdatscience/Full-Linear-NER-Religious-roberta-base-bne") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("hlhdatscience/Full-Linear-NER-Religious-roberta-base-bne")
model = AutoModelForTokenClassification.from_pretrained("hlhdatscience/Full-Linear-NER-Religious-roberta-base-bne")