How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("formermagic/bart-base-python-1m")
model = AutoModelForSeq2SeqLM.from_pretrained("formermagic/bart-base-python-1m")
Quick Links

bart-base-python-1m

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support