initial commit 2524b89
Giriyapanavar commited on
How to use NLP-Search/final-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="NLP-Search/final-model") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("NLP-Search/final-model")
model = AutoModelForMaskedLM.from_pretrained("NLP-Search/final-model")