coedit-large / auto tokenizer
Owen Ince
Create auto tokenizer
96bce54
raw
history blame
224 Bytes
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("grammarly/coedit-large")
model = AutoModelForSeq2SeqLM.from_pretrained("grammarly/coedit-large")