Transformers How to use TehranNLP/albert-base-v2-mnli with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="TehranNLP/albert-base-v2-mnli") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("TehranNLP/albert-base-v2-mnli")
model = AutoModelForSequenceClassification.from_pretrained("TehranNLP/albert-base-v2-mnli")