Instructions to use formermagic/bart-base-python-1m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use formermagic/bart-base-python-1m with Transformers:
# 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") - Notebooks
- Google Colab
- Kaggle