Instructions to use McGill-NLP/bart-qg-mlquestions-backtraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use McGill-NLP/bart-qg-mlquestions-backtraining with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/bart-qg-mlquestions-backtraining") model = AutoModelForSeq2SeqLM.from_pretrained("McGill-NLP/bart-qg-mlquestions-backtraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle