How to use knowledgator/comprehend_it-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="knowledgator/comprehend_it-base")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("knowledgator/comprehend_it-base") model = AutoModelForSequenceClassification.from_pretrained("knowledgator/comprehend_it-base")
Can I get the DOI so i can cite it in my article? Thanks.
· Sign up or log in to comment