Instructions to use jtatman/question_generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jtatman/question_generation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jtatman/question_generation") model = AutoModelForSeq2SeqLM.from_pretrained("jtatman/question_generation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 561 Bytes
7fee069 299e104 7fee069 299e104 7fee069 299e104 7fee069 299e104 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ---
library_name: transformers
tags:
- bart
- question/answer
- question generation
license: apache-2.0
---
# Model Card for Model ID
This is a merge of a lora adapter [mou3az/Question-Generation](https://huggingface.co/mou3az/Question-Generation) with the base model [facebook/bart-base](https://huggingface.co/facebook/bart-base).
There have been recent updates to the lora model - I strongly encourage you to look there for an improved version.
All credits go to [mou3az](https://huggingface.co/mou3az). I just needed a merged model for my own purposes. |